Commit Graph

425 Commits

Author SHA1 Message Date
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Joshua M. Boniface
15c89d281e Merge pull request #506 from hawken93/linting
Removing tabs and trailing whitespace
2019-01-10 19:54:18 -05:00
Erwin de Haan
ec1f5dc317 Mayor code cleanup
Add Argument*Exceptions now use proper nameof operators.

Added exception messages to quite a few Argument*Exceptions.

Fixed rethorwing to be proper syntax.

Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)

Added some TODOs to log certain exceptions.

Fix sln again.

Fixed all AssemblyInfo's and added proper copyright (where I could find them)

We live in *current year*.

Fixed the use of braces.

Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.

Made more Methods that should be static static.

You can now use static to find bad functions!

Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
hawken
82a801c9ae Some less obvious ones that I was told were there 2019-01-07 21:29:59 +00:00
Bond_009
c07d5a6963 Remove unused PowerManagement
It isn't up to the application to prevent the system from going to sleep
2019-01-06 12:55:48 +01:00
Bond_009
a997bb609f Remove unnecessary using statements 2019-01-05 01:49:52 +03:00
Bond_009
391b48614d Remove FireEventIfNotNull
It's a pretty useless "helper" class
2019-01-05 01:49:52 +03:00
Bond_009
a1b96a3135 Clean up HttpClientManager, LiveTvManager and InstallationManager 2019-01-03 18:24:26 +01:00
Bond_009
a445233192 Fix warning and improve performance 2019-01-02 02:35:40 +03:00
Bond_009
4c95aee52e Fix logging in XmlTvListingsProvider 2018-12-30 22:49:09 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
bf01918659 Clean up 2018-12-30 22:44:38 +01:00
Bond_009
b7ebb67cbb Remove the need for NullLogger 2018-12-30 22:44:38 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009
f31457a457 Final cleanup 2018-12-30 20:21:48 +01:00
Bond_009
9ff45cf969 Some voodoo magic to stop a crash 2018-12-30 18:30:29 +01:00
Bond_009
589aa2416a Clean up XmlTvListeningProvider 2018-12-30 18:21:49 +01:00
Bond_009
baa2afb61e Restore latest version
Source: 30baa15839/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:56:47 +01:00
Bond_009
6ebb00549b Add missing XmlTvListingsProvider
Added from e679ac4224/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:42:54 +01:00
Bond_009
76d3f60f06 Fix NullRefException 2018-12-30 15:27:31 +01:00
Bond_009
69cf9e8fc4 Give more info on error 2018-12-30 13:18:38 +01:00
Bond_009
6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
Anthony Lavado
71b8602a3d Updates all other emby.media links to repo page 2018-12-11 01:31:08 -05:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
85815adcd2 update live tv queries 2017-12-05 13:30:49 -05:00
Luke Pulverenti
175c085d90 Stub out new filtering api 2017-12-03 17:15:21 -05:00
Luke Pulverenti
70b0dd968f Improve support for embedded metadata; support external subtitles with strm files 2017-12-03 17:12:46 -05:00
Luke Pulverenti
c4ceeae889 improve xmltv gz support 2017-12-03 17:11:04 -05:00
Luke Pulverenti
5207067811 fix live tv over dlna 2017-11-29 15:50:18 -05:00
Luke Pulverenti
58a7829ecd update library changed notifier 2017-11-25 23:48:12 -05:00
Luke Pulverenti
4f09c1e06d reduce dlna chatter 2017-11-23 10:46:16 -05:00
Luke Pulverenti
77695f8abe 3.2.40.1 2017-11-21 17:14:56 -05:00
Luke Pulverenti
46be272ec8 fixes #2992 - Dashboard Active Recordings not showing thumbnail 2017-11-20 16:27:49 -05:00
Luke Pulverenti
39418b4172 3.2.36.15 2017-11-19 19:20:12 -05:00
Luke Pulverenti
43cb11f694 update shared stream support 2017-11-18 23:59:34 -05:00
Luke Pulverenti
1dc8ff9e91 allow specification of m3u stream limit 2017-11-17 16:54:33 -05:00
Luke Pulverenti
2f758676d0 support sharing m3u tuner streams 2017-11-14 02:41:21 -05:00
Luke Pulverenti
25138bbeb7 update subtitle downloading to use local metadata settings 2017-11-08 15:23:39 -05:00
Luke Pulverenti
83a43121af fix hdhr stream returning too quickly 2017-11-06 16:32:44 -05:00
Luke Pulverenti
5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti
74136371b5 use default transcode temp path when configure one is unreachable 2017-10-30 00:53:10 -04:00
Luke Pulverenti
7cd1416d27 fix music artists not showing in collections 2017-10-28 00:19:38 -04:00
Luke Pulverenti
76e2482047 reset PrePaddingSeconds on recording retry 2017-10-24 01:19:06 -04:00
Luke Pulverenti
9b71812325 update live stream management 2017-10-23 15:14:11 -04:00
Luke Pulverenti
ac09136a3d restore GetImageSize method 2017-10-22 17:38:03 -04:00
Luke Pulverenti
060215143f improve httpclient resource disposal 2017-10-20 12:16:56 -04:00
Luke Pulverenti
12adc7ae4c add additional info to timer infos 2017-10-18 21:19:48 -04:00
Luke Pulverenti
4ef9f68837 support delete per library 2017-10-16 02:10:55 -04:00
Luke Pulverenti
164e7dc896 improve live tv direct play 2017-10-14 02:52:56 -04:00
Luke Pulverenti
2f06bb5bf5 3.2.33.7 2017-10-13 01:47:13 -04:00
Luke Pulverenti
d7bbfff23f preserve channel info from provider 2017-10-13 01:44:40 -04:00
Luke Pulverenti
851c62a940 update image magick orientation function 2017-10-11 02:24:22 -04:00
Luke Pulverenti
0fbb5ab434 update xmltv parsing 2017-10-07 02:13:37 -04:00
Luke Pulverenti
e19b8f81c7 update recording conversion 2017-10-07 02:13:26 -04:00
Luke Pulverenti
9707712d39 update logging 2017-10-05 14:10:46 -04:00
Luke Pulverenti
a5b82cd2ec remove unneeded async signatures 2017-10-03 14:39:37 -04:00
Luke Pulverenti
99c858c338 update recording file names 2017-09-29 02:12:52 -04:00
Luke Pulverenti
2e0e1697a8 rework live stream creation 2017-09-28 13:02:49 -04:00
Luke Pulverenti
f55b138e1d update deinterlace param 2017-09-27 10:52:01 -04:00
Luke Pulverenti
a0d82a02c8 update param encoding 2017-09-26 13:09:42 -04:00
Luke Pulverenti
ab8c0bf1e6 improve support for compressed xmltv 2017-09-25 15:13:54 -04:00
Luke Pulverenti
978eedbcb7 improve support for compressed xmltv 2017-09-25 01:06:15 -04:00
Luke Pulverenti
3506855c5c fix overlapping recordings 2017-09-21 16:15:17 -04:00
Luke Pulverenti
467f440501 3.2.30.26 2017-09-19 16:08:34 -04:00
Luke Pulverenti
cdd79ec7e2 update owned items 2017-09-18 12:52:22 -04:00
Luke Pulverenti
1f12ab6658 add yadif setting 2017-09-17 02:42:23 -04:00
Luke Pulverenti
38fe239f44 3.2.30.19 2017-09-13 14:41:48 -04:00
Luke Pulverenti
9440fdc719 3.2.30.14 2017-09-09 23:47:33 -04:00
Luke Pulverenti
fe10df6935 improve queries from scheduled tasks 2017-09-09 23:18:23 -04:00
Luke Pulverenti
9a5a6f569d removed dead code 2017-09-09 14:21:21 -04:00
Luke Pulverenti
adc22b5e81 rework epg storage 2017-09-08 12:13:58 -04:00
Luke Pulverenti
33e31d246f consolidate 2017-09-08 01:39:55 -04:00
Luke Pulverenti
49b799adbe 3.2.30.8 2017-09-05 15:49:02 -04:00
Luke Pulverenti
39c4542cf6 update query objects 2017-09-04 15:28:22 -04:00
Luke Pulverenti
ed81591175 update dto methods 2017-08-27 20:33:05 -04:00
Luke Pulverenti
e287e3a50d remove async when there's nothing to await 2017-08-26 20:32:33 -04:00
Luke Pulverenti
1b690677e9 fix parsing of guide data 2017-08-24 15:52:48 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
afd94407f9 rework active recordings 2017-08-23 15:45:52 -04:00
Luke Pulverenti
af02f9d692 add mpdecimate option 2017-08-23 14:44:40 -04:00
Luke Pulverenti
f694ae7e95 add null checks to ScheduleDirect 2017-08-23 12:49:42 -04:00
Luke Pulverenti
3c1fe6ff83 add experimental warning for folder rip transcoding 2017-08-22 01:41:02 -04:00
Luke Pulverenti
f4765a87cc update m3u tuner 2017-08-20 15:10:00 -04:00
Luke Pulverenti
b783f317fe update live stream management 2017-08-19 18:37:15 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
d2b86edf05 update hdhr channel ids 2017-08-15 23:40:36 -04:00
Luke Pulverenti
b7867214ef update download error handling 2017-08-11 17:55:48 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
52aeb3c40b consolidate interfaces 2017-08-07 17:06:13 -04:00
Luke Pulverenti
6d78824c8e update components 2017-08-06 19:01:00 -04:00
Luke Pulverenti
db315c4e32 update media source methods 2017-08-05 15:02:33 -04:00
Luke Pulverenti
4e52c027bc improve nextup queries 2017-08-01 12:45:57 -04:00
Luke Pulverenti
31841a31a9 3.2.26.7 2017-07-30 14:02:25 -04:00
Luke Pulverenti
d270b10db6 move auto-organize to plugin 2017-07-27 01:18:39 -04:00
Luke Pulverenti
cdf573c921 update sync menus 2017-07-15 16:19:58 -04:00
Luke Pulverenti
dd7dc7dda3 3.2.22.4 2017-07-05 14:30:12 -04:00
Luke Pulverenti
6ea8e7868d add live stream params 2017-07-03 13:16:01 -04:00
Luke Pulverenti
15947c2a4c update opening of live streams 2017-07-02 14:58:56 -04:00
Luke Pulverenti
4e7a3b82f4 update probe length 2017-07-01 21:18:16 -04:00
Luke Pulverenti
6b2445aa2c add stream loop option for m3u 2017-06-24 14:32:22 -04:00
Luke Pulverenti
1e5c3db9eb support individual library refreshing 2017-06-23 12:04:45 -04:00
Luke Pulverenti
98ee28bda4 update image magick encoder 2017-06-21 10:51:11 -04:00
Luke Pulverenti
905f02e6d9 3.2.20.7 2017-06-20 15:38:42 -04:00
Luke Pulverenti
1de6b4607f increase live stream analyze duration 2017-06-19 14:14:15 -04:00
Luke Pulverenti
1663b258a7 update home sections 2017-06-13 02:33:29 -04:00
Luke Pulverenti
9f0e6d17c8 add hevc cuvid 2017-06-12 03:11:54 -04:00
Luke Pulverenti
3e335c70bb update live tv images 2017-06-11 17:58:49 -04:00
Luke Pulverenti
65e8cf0726 improve live tv images 2017-06-11 16:40:25 -04:00
Luke Pulverenti
7bc2a9a081 update people editing 2017-06-06 02:13:49 -04:00
Luke Pulverenti
e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti
acfd90b6ff update opening of hdhr stream 2017-06-03 01:43:33 -04:00
Luke Pulverenti
f96e5c84a2 update live stream buffers 2017-06-01 02:25:07 -04:00
Luke Pulverenti
0f1d253278 update DirectRecorder 2017-06-01 01:43:08 -04:00
Luke Pulverenti
7e609b8fc5 update MulticastStream 2017-06-01 01:42:49 -04:00
Luke Pulverenti
386ed8d34a update live stream buffers 2017-06-01 01:05:36 -04:00
Luke Pulverenti
2ca2a21737 update live stream buffer 2017-06-01 00:51:43 -04:00
Luke Pulverenti
3e15b28b18 add IsInterlaced param 2017-05-29 08:35:59 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
28988b056c update stream copying 2017-05-25 09:00:14 -04:00
Luke Pulverenti
b9be73789b fix plugin loading 2017-05-25 00:25:51 -04:00
Luke Pulverenti
f07af448fa update main projects 2017-05-24 15:12:55 -04:00
Luke Pulverenti
8b9e7e1f59 rework hdhr udp stream 2017-05-23 12:44:11 -04:00
Luke Pulverenti
54cf0da758 update query fields 2017-05-22 00:54:02 -04:00
Luke Pulverenti
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
5137e3abf6 update live streams 2017-05-20 12:42:47 -04:00
Luke Pulverenti
8109b83972 update hdhr stream 2017-05-19 12:39:40 -04:00
Luke Pulverenti
9cd2d793be update image encoding 2017-05-17 14:18:18 -04:00
Luke Pulverenti
6d50748b97 update recordings 2017-05-16 02:42:33 -04:00
Luke Pulverenti
7446d2803d update recording 2017-05-15 15:47:16 -04:00
Luke Pulverenti
83c1503333 update recorder 2017-05-15 15:45:39 -04:00
Luke Pulverenti
d48496b843 add new search filters 2017-05-06 15:45:23 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
568d769cc8 support omdb episodes by imdb; add more search data 2017-05-03 17:53:33 -04:00
Luke Pulverenti
9212ffb528 update encoded recorder 2017-05-02 08:53:21 -04:00
Luke Pulverenti
7ee588060d add IgnoreDts option 2017-04-30 16:03:28 -04:00
Luke Pulverenti
a9b041a7e6 rework refresh queue 2017-04-29 22:37:51 -04:00
Luke Pulverenti
f53472584e update environment detection 2017-04-29 02:22:33 -04:00
Luke Pulverenti
491886632d update remote control responses 2017-04-25 14:23:20 -04:00
Luke Pulverenti
8755886761 switch to hwaccel auto 2017-04-21 16:03:07 -04:00
Luke Pulverenti
4269190ca3 update live tv screens 2017-04-20 23:47:17 -04:00
Luke Pulverenti
7ea3719a2d 3.2.12.11 2017-04-20 16:17:52 -04:00
Luke Pulverenti
099f8037c5 don't read user data from nfo's anymore 2017-04-19 12:57:06 -04:00
Luke Pulverenti
561028c907 update automated checkins 2017-04-17 15:01:16 -04:00
Luke Pulverenti
eddcc46602 improve performance of getting channel list 2017-04-16 21:45:44 -04:00
Luke Pulverenti
eedf62d80d update keep up to deletion 2017-04-15 15:46:07 -04:00
Luke Pulverenti
508edad222 3.2.12.5 2017-04-13 14:59:46 -04:00
Luke Pulverenti
ccb694a89a update home sections 2017-04-06 16:07:25 -04:00
Luke Pulverenti
dd8edd28e9 update live stream management 2017-04-05 13:16:44 -04:00
Luke Pulverenti
a6cbe47941 update live tv suggestions 2017-04-04 01:20:30 -04:00
Luke Pulverenti
8d1ca8ca27 improve direct play to transcoding fallback 2017-03-31 15:50:55 -04:00
Luke Pulverenti
514927291c fix hd homerun host stream ids 2017-03-30 13:58:38 -04:00
Luke Pulverenti
f641c501a7 improve cancellation support of auto-organize 2017-03-29 15:16:43 -04:00
Luke Pulverenti
d1e2ccdfec update default library name 2017-03-28 13:30:47 -04:00
Luke Pulverenti
7d3aa60db0 update hdhr udp stream 2017-03-27 15:31:24 -04:00
Luke Pulverenti
e004e66500 update tuner methods 2017-03-26 20:27:29 -04:00
Luke Pulverenti
8a68c23838 update socket send functions 2017-03-26 15:54:50 -04:00
Luke Pulverenti
55bfb71baa update hdhomerun udp stream 2017-03-26 12:26:52 -04:00
Luke Pulverenti
690ab4a2dc update recording mp4 args 2017-03-26 00:22:30 -04:00
Luke Pulverenti
e6178a65f9 rework tuner channel id 2017-03-26 00:21:32 -04:00
Luke Pulverenti
b2f7352094 improve m3u parsing 2017-03-25 18:08:43 -04:00
Luke Pulverenti
c9be9b4141 update hls params 2017-03-24 11:03:49 -04:00
Luke Pulverenti
da88fbb824 update hd homerun udp stream 2017-03-23 15:10:10 -04:00
Luke Pulverenti
44a4e662ac update hdhomerun model info caching 2017-03-16 13:21:24 -04:00
Luke Pulverenti
ce1ed2bea7 update hls to support mpeg2video 2017-03-15 15:57:18 -04:00
Luke Pulverenti
f069559b1e update tuner host interface 2017-03-14 15:44:54 -04:00
Luke Pulverenti
296e5bfe32 update handling of new programs for xml tv 2017-03-14 15:44:35 -04:00
Luke Pulverenti
a0934e6226 continue with tuner discovery 2017-03-13 16:42:21 -04:00
Luke Pulverenti
a8fc480489 rework tuner setup 2017-03-13 14:57:45 -04:00
Luke Pulverenti
2ff7608b7a remove tuner host enabled property 2017-03-13 00:56:41 -04:00
Luke Pulverenti
f05dc08c06 update tuner discovery 2017-03-13 00:49:10 -04:00
Luke Pulverenti
0650be4780 rework tuner discovery 2017-03-13 00:08:49 -04:00
Luke Pulverenti
a660aa001e re-organize file streaming 2017-03-12 15:27:26 -04:00
Luke Pulverenti
7b46768958 fix chapter images being stretched 2017-03-08 01:48:07 -05:00
Luke Pulverenti
9fa6868af3 update legacy hd homerun support 2017-03-07 13:27:56 -05:00
Luke Pulverenti
9e74d834a7 update legacy hdhomerun support 2017-03-05 21:32:56 -05:00
Luke Pulverenti
ce3f2bdd20 reduce AnalyzeDurationMs for live tv 2017-03-05 10:38:36 -05:00
Luke Pulverenti
c811d57bca remove hardcoded address families 2017-03-03 15:16:43 -05:00
Luke Pulverenti
d68cdc0c6d 3.2.5.5 2017-03-03 01:38:05 -05:00
Luke Pulverenti
7cbc76af27 3.2.5.4 2017-03-03 00:53:21 -05:00
Luke Pulverenti
b9c12ca4a7 update legacy stream 2017-03-02 23:36:20 -05:00
Luke Pulverenti
0a64609fb8 stub out legacy live stream 2017-03-02 16:32:20 -05:00
Luke Pulverenti
8be997b8ad update GetChannelStream 2017-03-02 16:27:46 -05:00
Luke Pulverenti
ea66ed6a71 update legacy tuner support 2017-03-02 16:24:46 -05:00
Luke Pulverenti
047d383cda add using block 2017-03-02 16:01:42 -05:00
Luke Pulverenti
495d06a970 re-use socket 2017-03-02 15:59:33 -05:00
Luke Pulverenti
fcc26d5453 fix tuner method 2017-03-02 15:56:25 -05:00
Luke Pulverenti
9776ca09db update socket interfaces 2017-03-02 15:50:09 -05:00
Luke Pulverenti
17e42e68f6 update series definitions 2017-03-01 15:30:05 -05:00
Luke Pulverenti
a181425e54 omit input container when hw encoding 2017-03-01 15:29:42 -05:00
Luke Pulverenti
5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti
c33b12ba7d update m3u channel mapping 2017-02-23 14:13:26 -05:00
Luke Pulverenti
34171a7507 if (string.IsNullOrWhiteSpace(result))
{
                attributes.TryGetValue("channel-id", out result);
            }
2017-02-22 16:13:27 -05:00
Luke Pulverenti
6847cac829 update recording conversion 2017-02-22 15:58:02 -05:00
Luke Pulverenti
8d3e94ffb1 update recording conversion 2017-02-21 13:04:35 -05:00
Luke Pulverenti
149d16a314 preserve manual recording overrides 2017-02-20 02:04:03 -05:00
Luke Pulverenti
0ee1a0d7bd fix mapping multiple tuner channels to same epg channel 2017-02-18 22:46:09 -05:00
Luke Pulverenti
6091e00e18 clean related files when deleting items 2017-02-18 03:32:17 -05:00
Luke Pulverenti
36f8eb1149 add db startup error handling 2017-02-17 16:11:13 -05:00
Luke Pulverenti
f6590ebf27 update to sqlite 3.17.0 2017-02-16 02:39:57 -05:00