Commit Graph

161 Commits

Author SHA1 Message Date
Erwin de Haan
581a7fe078 Unwrapped MoveDirectory, DirectoryExists, FileExists & removed MoveFile 2019-01-28 22:10:00 +01:00
Erwin de Haan
a430568082 Unwrapped OpenRead and CopyFile 2019-01-28 22:09:58 +01:00
Erwin de Haan
d7c6d16250 Unwrapped CreateDirectory and DeleteDirectory 2019-01-28 22:09:56 +01:00
Erwin de Haan
3a831994f6 Unwrapped GetDirectoryName and DirectorySeperatorChar 2019-01-28 22:06:34 +01:00
Bond_009
a709cbdc64 Fix more analyzer warnings 2019-01-27 12:12:44 +01:00
Tthecreator
0b80902cc8 Set EnableRaisingEvents correctly for SubtitleEncoder 2019-01-22 16:52:26 +01:00
William Taylor
65cd3ed597 Replaced injections of ILogger with ILoggerFactory
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.

The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.

Also removed some unused dependencies.
2019-01-20 21:05:12 +00:00
Andrew Rabert
3a6624f701 Merge pull request #629 from cvium/fix_subtitleencoder
Fix subtitle converter misinterpreting 0 valued endTimeTicks
2019-01-20 11:35:20 -05:00
Claus Vium
2b47006662 Remove unneeded variable 2019-01-20 17:06:40 +01:00
Claus Vium
26e20d1cd5 Fix subtitle converter misinterpreting 0 valued endTimeTicks 2019-01-20 08:17:31 +01:00
cvium
b35dcbb9f0 Remove MediaBrowser.Text since it violates licenses and is overall hacky 2019-01-20 06:30:50 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
65bd052f3e ReSharper conform to 'var' settings 2019-01-13 21:37:13 +01:00
Erwin de Haan
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan
8f41ba4d3a Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model 2019-01-13 21:02:23 +01:00
Erwin de Haan
f2e50f50bd Visual Studio Reformat: MediaBrowser.MediaEncoding 2019-01-13 20:26:04 +01:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Andrew Rabert
e5c2dbdf23 Merge pull request #540 from joshuaboniface/api-keys
Update Emby API keys to our own
2019-01-10 23:02:29 -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
Anthony Lavado
5900ab8c68 Update OpenSubtitles User Agent to our own 2019-01-10 13:26:52 -05:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
Bond_009
73fd0cd8c6 SubtitleEncoder: stop using tuples for clarity
* Replace Tuples with a ValueTuple or a struct
2019-01-06 21:02:25 +01:00
Bond_009
59d8d9a82c Fix nullrefexception in SubtitleEncoder 2019-01-04 18:52:04 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
0c1b9d3bff Rebase 2018-12-30 22:44:38 +01:00
Mathieu Velten
1d7d52ff9e Port MediaEncoding and Api.Playback from 10e57ce8d21b4516733894075001819f3cd6db6b 2018-12-14 17:32:54 +01:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
6ff89eab78 fixes #2588 - OpenSubtitlesDownloader doesn't respect X-Ratelimit-Requests-Remaining 2017-06-22 15:14:58 -04:00
Luke Pulverenti
ce47f63389 3.2.20.5 2017-06-18 03:11:55 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
8755886761 switch to hwaccel auto 2017-04-21 16:03:07 -04:00
Luke Pulverenti
4d7d8961b4 update encoding detection 2017-04-18 01:53:39 -04:00
Luke Pulverenti
ce1ed2bea7 update hls to support mpeg2video 2017-03-15 15:57:18 -04:00
Luke Pulverenti
a181425e54 omit input container when hw encoding 2017-03-01 15:29:42 -05:00
Luke Pulverenti
03317b291d improve subtitle responses 2017-02-16 02:14:12 -05:00
Luke Pulverenti
e936f49518 update use of shellexecute 2016-12-09 20:58:52 -05:00
Luke Pulverenti
ffb1ec76a7 update components 2016-11-19 02:51:07 -05:00
Luke Pulverenti
7a2cb6da5a add subtitle fix for tizen 2016-11-17 22:12:03 -05:00
Luke Pulverenti
9b5a4c22e3 update image & subtitle extraction 2016-11-14 01:44:21 -05:00
Luke Pulverenti
a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti
f52373609e move classes to portable project 2016-11-03 18:34:16 -04:00
Luke Pulverenti
b1276dc208 make media encoding project portable 2016-11-01 00:07:12 -04:00
Luke Pulverenti
31c8c3bf7f make open subtitle project portable 2016-10-27 18:54:56 -04:00
Luke Pulverenti
0189f4c49d move provider project towards portability 2016-10-26 14:25:03 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
07791d46a5 rework scheduled tasks in preparation of common project going portable 2016-10-23 15:14:57 -04:00
Luke Pulverenti
a69ca6c55b avoid buffering http responses 2016-10-06 14:55:01 -04:00
Luke Pulverenti
2d7c82d0dd add loopback handler 2016-09-03 13:16:36 -04:00
Luke Pulverenti
88be568b40 update subtitle extraction 2016-07-07 11:56:09 -04:00
Luke Pulverenti
580a68d19c update startup tests 2016-06-30 21:06:18 -04:00
Luke Pulverenti
e5655d32f1 fix timestamps in hls subtitles 2016-05-27 13:17:57 -04:00
Luke Pulverenti
6ba2a9ebd2 update subtitle encoding 2016-04-02 21:19:27 -04:00
Luke Pulverenti
51fe031031 update subtitles 2016-04-02 19:39:08 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
49c678037a fix samsung dlna subtitles 2016-03-22 00:15:12 -04:00
Luke Pulverenti
6eb5d34af1 update subtitle encoder to allow format passthrough 2015-12-27 16:07:28 -05:00
Luke Pulverenti
26487dc455 rework people 2015-10-04 23:24:24 -04:00
Luke Pulverenti
4ad96e4ff5 update logging levels 2015-10-04 18:04:56 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke
6470189756 Merge pull request #1156 from arcticwaters/srt-ssa-wipe
Add support for more ssa tags in SrtParser
2015-09-05 13:30:42 -04:00
Luke Pulverenti
a4e73120a7 update channel streams 2015-09-01 18:04:54 -04:00
Andrew Schurman
4b15d1849c Ensure that all ssa tags are wiped out of srt subtitles 2015-08-17 22:39:55 -07:00
Luke Pulverenti
d95057f13b rework settings page 2015-07-28 15:42:24 -04:00
Luke Pulverenti
3178896004 update subtitle methods 2015-07-19 23:43:13 -04:00
Luke Pulverenti
b9c656e859 added out of network bitrate limit 2015-04-09 01:20:23 -04:00
Luke Pulverenti
a025f4eefa sync updates 2015-03-31 12:24:16 -04:00
Luke Pulverenti
70fb64cc05 subtitle parsing fixes 2015-03-26 00:44:24 -04:00
Luke Pulverenti
c0aec48a31 beta fixes 2015-03-21 12:10:02 -04:00
Luke Pulverenti
aac044f18f updated nuget 2015-03-18 17:09:48 -04:00
Luke Pulverenti
28ffeb5121 sync updates 2015-02-26 15:06:42 -05:00
Luke Pulverenti
7bc370bdc7 move desktop search 2015-01-21 14:21:19 -05:00
Luke Pulverenti
cefd565e67 display server name in dashboard 2015-01-18 14:53:34 -05:00
Luke Pulverenti
d26707708d move string.Replace extension 2015-01-17 15:12:02 -05:00
Luke Pulverenti
d8d5dd4873 make channel access opt-in rather than opt out 2015-01-12 22:46:44 -05:00
Luke Pulverenti
b6f7f0273a enable new character set detector 2015-01-11 21:12:47 -05:00
Luke Pulverenti
9edca4586a 3.0.5490.1 2015-01-11 16:01:19 -05:00
Luke Pulverenti
5ff5df9867 added UniversalDetector.dll 2015-01-10 14:42:14 -05:00
Luke Pulverenti
42b1416602 begin work on daily episodes 2014-12-22 22:58:14 -05:00
Luke Pulverenti
13274348e9 sync updates 2014-12-17 00:30:31 -05:00
Luke Pulverenti
60d3f47503 add server management to web client 2014-11-04 07:41:12 -05:00
Luke Pulverenti
58eb500956 fixes #914 - Add option to save metadata hidden 2014-09-06 00:21:23 -04:00
Luke Pulverenti
bdc04cda17 fix subtitle unit tests 2014-08-31 14:28:20 -04:00
Luke Pulverenti
9d36f51818 adjust subtitle extraction 2014-08-30 11:12:28 -04:00
Luke Pulverenti
33c6c37316 Adjust transcoding throttling 2014-08-30 10:26:29 -04:00
Luke
1e2e51d35b Merge pull request #905 from faush01/master
make sure start and end times are different
2014-08-29 07:41:37 -04:00
faush01
96f8132f6e make sure start and end times are different 2014-08-29 16:42:56 +10:00
Luis Miguel Almánzar
0cb3c39636 change newline value 2014-08-24 18:02:47 -04:00
Luke Pulverenti
d92936187d Extract subs to srt instead of ass 2014-08-24 17:07:04 -04:00
Luke Pulverenti
21d88faa18 added json subtitle output 2014-08-22 11:47:44 -04:00
Luke Pulverenti
ca66390e24 3.0.5346.38509 2014-08-21 22:24:38 -04:00
Luke Pulverenti
3ba6364f25 fixes #887 - Support ttml subtitle output 2014-08-05 19:59:24 -04:00
Luke Pulverenti
933443c2b9 added modular configuration 2014-06-29 13:35:05 -04:00
Luke Pulverenti
414b1251c7 dlna fixes 2014-06-22 01:52:31 -04:00
Luke Pulverenti
cd59799340 fix vtt with chrome 2014-06-18 12:08:54 -04:00
Luke Pulverenti
fc6af0506c implement srt writer 2014-06-18 11:15:21 -04:00
Luke Pulverenti
21fd761b05 fixes #838 - Support rtmp protocol with channels 2014-06-16 21:56:23 -04:00
Luke Pulverenti
62dadbf4b2 subtitle fixes 2014-06-14 22:37:12 -04:00
Luke Pulverenti
0b60e7ca67 fixes #843 - Update Dlna to respect user audio/subtitle language settings 2014-06-14 14:24:20 -04:00