Commit Graph

441 Commits

Author SHA1 Message Date
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
Erwin de Haan
321c440739 Reformat JustAMan review pt1 changes
Refs #575
2019-01-17 20:24:01 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
089ad8e7c2 Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt 2019-01-13 21:10:15 +01:00
Erwin de Haan
e566d9a231 Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv 2019-01-13 20:54:44 +01:00
Erwin de Haan
742bef5b5f EditorConfig reformat: Non-CS files. 2019-01-13 20:45:51 +01:00
Erwin de Haan
39ef1106d7 Visual Studio Reformat: Emby.Server.Implementations Part Liv-P 2019-01-13 20:22:00 +01:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01: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
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Andrew Rabert
9bac3ac616 Reformat JSON using JQ with sorted keys
cat "$f" | jq -S | sponge "$f"
2018-12-25 12:10:08 -05:00
Bond_009
088da6c5e3 Replace Emby with Jellyfin in the translations 2018-12-15 20:13:25 +01:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
5207067811 fix live tv over dlna 2017-11-29 15:50:18 -05:00
Luke Pulverenti
b5ab7776f1 3.2.36.11 2017-11-16 16:25:18 -05:00
Luke Pulverenti
901d7b509c update play media source feature 2017-11-09 15:58:09 -05:00
Luke Pulverenti
5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti
0d28929e17 update download progress reporting 2017-11-03 14:11:04 -04:00
Luke Pulverenti
0a0303ca64 normalize strm file contents 2017-11-01 15:50:16 -04:00
Luke Pulverenti
8ec8b46394 allow separate configuration of date format 2017-10-30 00:51:43 -04:00
Luke Pulverenti
e7ecd418c4 update home video library support 2017-10-21 12:39:52 -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
98cd888801 update translations 2017-10-17 15:49:39 -04:00
Luke Pulverenti
b4fff161fa 3.2.33.10 2017-10-16 14:09:14 -04:00
Luke Pulverenti
4ef9f68837 support delete per library 2017-10-16 02:10:55 -04:00
Luke Pulverenti
f98e42fc3b update translations 2017-10-13 01:41:49 -04:00
Luke Pulverenti
b04e80b28b remove unused localization strings 2017-08-23 12:46:57 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
db315c4e32 update media source methods 2017-08-05 15:02:33 -04:00
Luke Pulverenti
d50ffcbfb2 3.2.26.13 2017-08-03 12:26:01 -04:00
Luke Pulverenti
0ba267f8e2 Enable hardware acceleration for image extraction 2017-08-02 03:30:17 -04:00
Luke Pulverenti
54b4608ce6 update nz ratings 2017-07-17 11:07:08 -04:00
Luke Pulverenti
b14214775e 3.2.25.7 2017-07-17 11:05:08 -04:00
Luke Pulverenti
07ab6a19e2 3.2.24.1 2017-07-10 03:37:00 -04:00
Luke Pulverenti
aaa244be4c 3.2.7.5 2017-03-14 15:55:54 -04:00
Luke Pulverenti
552e21b864 add fr-ca to languages 2017-01-07 03:08:34 -05:00
Luke Pulverenti
159e622cf8 add uk rating definitions 2016-12-26 14:47:21 -05:00
Luke Pulverenti
3c1447804b move localization classes 2016-11-04 22:17:18 -04:00