Commit Graph

28 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
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +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
8bfb54a41b Visual Studio Reformat: Emby.Dlna 2019-01-13 20:16:19 +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
Bond_009
79d18cf5a5 Clean up some catch statements 2018-12-30 22:44:39 +01:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +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
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti
49b799adbe 3.2.30.8 2017-09-05 15:49:02 -04:00
Luke Pulverenti
780b761456 3.2.29.2 2017-08-28 12:41:32 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
c2c1451beb update dlna profiles 2017-06-25 19:04:15 -04:00
Luke Pulverenti
2e3d1780e4 update dlna profiles 2017-05-12 14:09:42 -04:00
Luke Pulverenti
04b6f23473 3.2.9.1 2017-03-29 02:26:48 -04:00
Luke Pulverenti
75ad2af0b3 add sharp dlna profile 2017-01-16 21:58:47 -05:00
Luke Pulverenti
c7d520555b update dlna profiles 2016-12-09 02:23:09 -05:00
Luke Pulverenti
3f68882fa8 add setting to control import of missing episodes 2016-11-22 13:22:01 -05:00
Luke Pulverenti
039487740b handle bad profile value 2016-11-20 14:40:35 -05:00
Luke Pulverenti
6d250c4050 make dlna project portable 2016-11-04 04:31:05 -04:00
Luke Pulverenti
8ef442c2e8 move classes 2016-11-03 18:53:02 -04:00
Luke Pulverenti
7d58ee9344 rework dlna project 2016-10-29 18:34:54 -04:00
Luke Pulverenti
dca78b1341 rework dlna project 2016-10-29 18:22:20 -04:00