Commit Graph

351 Commits

Author SHA1 Message Date
Bond_009
722120af74 Remove conditions that are always true/false 2019-01-22 23:49:51 +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
8de4eb7d19 Rename ApplicationSemanticVersion to ApplicationVersion 2019-01-19 21:35:33 -05:00
Erwin de Haan
924ec0c191 Revert Jellyfin.Versioning, Update all versions and user agents. 2019-01-20 01:12:44 +01:00
Erwin de Haan
bb8df8dfa0 Updates reported version in System/Info* set of endpoints.
Added ProductName and ServerVersion to API.

Added build version and build step. Addressed issues wtih indentation.

Made the BuildVersion an actual object. This lets up link to the github page of that commit.

Fixed class method type and styled link.

Fixed languages and split out the information in the UI.

Moved update-version script and gave it executable permissions. Windows correctly finds the .bat file. And linux takes the one without extension.

Removed tempfiles from replace sessions from csproj.

Updated version generation scripts. Will also work with pre existing version files. (Source tarballs etc.)

Added simple replace for ssh github links.

Add execute rights to update-version.

Wrapped long line in ApplicationHost.cs

Fixed some small issues.

Fixed some small issues, and flipped some if's around.

Converted parameter names to camelBack casing.

Sealed the attribute class.

Removed MPLv2 license.

Fixed file headers.

Added newline.

Moved links in *.csproj files as well.

Fix issues caused by rebase auto merging.

Removed default constructor and added init values to properties, also hid the Remote value form API.
2019-01-20 00:28:48 +01:00
Erwin de Haan
c5430f86b0 Fixed csproj and xml identation. 2019-01-19 15:01:16 +01: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
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
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
cc719fd77c EditorConfig reformat: BDInfo, DvdLib, Emby.Dlna 2019-01-13 20:29:23 +01:00
Erwin de Haan
8bfb54a41b Visual Studio Reformat: Emby.Dlna 2019-01-13 20:16:19 +01:00
Erwin de Haan
846456b41e Reformatted the files with notes. 2019-01-12 21:41:08 +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
Sparky
d6d8c40450 Change UI accents, update artwork
Replaced "Emby Green" with blue taken from artwork.

Replaced artwork.

Kept old "Emby Green" themes for future reuse and renamed them "classic".

Removed CSS element that was making the Jellyfin banner too small.
2019-01-06 20:47:58 -05:00
Bond_009
391b48614d Remove FireEventIfNotNull
It's a pretty useless "helper" class
2019-01-05 01:49:52 +03: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
b7ebb67cbb Remove the need for NullLogger 2018-12-30 22:44:38 +01:00
Bond_009
3d3ec3588b Mark where ILogger is being set to null 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
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
Ben Magee
c58b3a0c47 Rebranded XML profiles 2018-12-14 00:02:55 +00:00
Ben Magee
051c67a537 Updated strings to "Jellyfin Server" 2018-12-13 19:10:22 +00:00
Ben Magee
f7061e353e Remove Emby branding from DLNA server 2018-12-13 09:18:29 +00:00
Bond_009
b4edb24ec3 Change libraries from netcoreapp to netstandard
Ref: https://dotnetcoretutorials.com/2017/01/13/net-standard-vs-net-core-whats-difference/
2018-12-12 21:39:22 +01:00
Bond_009
0a3c8b04f1 Change name to EmbyServer.dll jellyfin.dll
Update and remove deps
2018-12-12 20:06:42 +01:00
Anthony Lavado
643201278f Update the DLNA profile links
- updates ManufacturerUrl and ModelUrl to jellyfin repo
2018-12-11 01:28:44 -05:00
Andrew Rabert
af71366bb5 Optimize images 2018-12-11 00:31:27 -05:00
Andrew Rabert
8f98fb068c Replace Emby logo with placeholder 2018-12-11 00:30: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
dec3b1bbb0 improve image processing performance 2017-12-01 12:04:32 -05:00
Luke Pulverenti
39f20fdb4e update dlna profiles 2017-11-27 14:10:05 -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
d52b0de146 3.2.40.0 2017-11-20 12:38:36 -05:00
Luke Pulverenti
901d7b509c update play media source feature 2017-11-09 15:58:09 -05:00
Luke Pulverenti
50d322cbb7 3.2.36.4 2017-11-07 12:43:59 -05:00
Luke Pulverenti
5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti
902101355a add dc:creator 2017-10-26 23:50:17 -04:00
Luke Pulverenti
b54046a6de adjust header values 2017-10-22 19:36:22 -04:00
Luke Pulverenti
c2361db772 separate encoding from content type values 2017-10-22 19:27:09 -04:00
Luke Pulverenti
7e5036a587 update image aspect ratio detection 2017-10-22 02:22:43 -04:00
Luke Pulverenti
060215143f improve httpclient resource disposal 2017-10-20 12:16:56 -04:00
Luke Pulverenti
7adb3e4a23 fix dlna photos 2017-10-17 15:49:55 -04:00
Luke Pulverenti
66ad10348f update translations 2017-10-13 01:43:11 -04:00
Luke Pulverenti
983b51e083 reduce socket activity 2017-10-04 14:51:26 -04:00
Luke Pulverenti
085470394e update home screen sections 2017-10-01 13:26:09 -04:00
Luke Pulverenti
0b73c25aa4 update lg dlna profile 2017-09-28 13:00:50 -04:00
Luke Pulverenti
f1371b17d8 improve dlna device status reporting 2017-09-27 10:51:36 -04:00
Luke Pulverenti
978eedbcb7 improve support for compressed xmltv 2017-09-25 01:06:15 -04:00
Luke Pulverenti
31b01cbb56 add fixes for dng images 2017-09-22 16:33:01 -04:00
Luke Pulverenti
3a1efe9edc add xbox one workaround 2017-09-17 01:30:11 -04:00
Luke Pulverenti
95084d6f7d update dlna play to device timeout 2017-09-11 14:50:00 -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
780b761456 3.2.29.2 2017-08-28 12:41:32 -04:00
Luke Pulverenti
ed81591175 update dto methods 2017-08-27 20:33:05 -04:00
Luke Pulverenti
6bc2a79792 fix folder rip probe 2017-08-26 03:03:19 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
82ab91f209 add property to indicate support for on the fly subtitle extraction 2017-08-23 15:45:40 -04:00
Luke Pulverenti
5ced09d169 removed dead code 2017-08-23 12:43:52 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
bfcd1b520f merge common implementations and server implementations 2017-08-16 02:43:41 -04:00
Luke Pulverenti
6b28eee2db rework episode queries 2017-08-12 22:09:07 -04:00
Luke Pulverenti
900714c866 consolidate fields 2017-08-10 16:06:36 -04:00
Luke Pulverenti
c147b64de8 3.2.26.19 2017-08-09 17:08:01 -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
0ba267f8e2 Enable hardware acceleration for image extraction 2017-08-02 03:30:17 -04:00
Luke Pulverenti
0ebd233c41 update dlna music folders 2017-07-22 19:00:48 -04:00
Luke Pulverenti
d826b98449 3.2.25.10 2017-07-20 16:37:13 -04:00
Luke Pulverenti
a0e7cdd2dc support all inclusive direct play profile 2017-07-14 11:57:44 -04:00
Luke Pulverenti
bd32c8ba49 update lg dlna profile 2017-07-13 15:04:59 -04:00
Luke Pulverenti
eece9d77a5 update dlna profiles 2017-06-26 12:20:45 -04:00
Luke Pulverenti
a759b09577 support max audio bit depth 2017-06-26 11:10:52 -04:00
Luke Pulverenti
c2c1451beb update dlna profiles 2017-06-25 19:04:15 -04:00
Luke Pulverenti
42d0b070b4 update project files 2017-06-04 17:08:56 -04:00
Luke Pulverenti
f12131299b update dlna profiles 2017-06-04 16:27:42 -04:00
Luke Pulverenti
5b6356e779 remove ImageMagick from Windows 2017-06-04 14:31:40 -04:00
Luke Pulverenti
5bfcbd4e9e update dlna profiles 2017-05-31 15:21:32 -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
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
0beb803aed add sample rate condition 2017-05-13 15:31:25 -04:00
Luke Pulverenti
2e3d1780e4 update dlna profiles 2017-05-12 14:09:42 -04:00
Luke Pulverenti
eb9b63c7a7 update playback progress reporting 2017-04-17 16:33:07 -04:00
Luke Pulverenti
958b32b714 update dlna profiles 2017-04-11 20:04:18 -04:00
Luke Pulverenti
04b6f23473 3.2.9.1 2017-03-29 02:26:48 -04:00
Luke Pulverenti
ce1ed2bea7 update hls to support mpeg2video 2017-03-15 15:57:18 -04:00
Luke Pulverenti
9fa6868af3 update legacy hd homerun support 2017-03-07 13:27:56 -05:00
Luke Pulverenti
5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti
fbb1bb319c update wdtv live dlna profile 2017-02-07 13:33:15 -05:00
Luke Pulverenti
e0d5f7d158 reduce device discovery traffic 2017-02-07 02:33:24 -05:00
Luke Pulverenti
d218dbd2a1 add cancellation to socket methods 2017-02-05 15:44:08 -05:00
Luke Pulverenti
8649cbc0cb resolve play to regression 2017-01-27 15:36:19 -05:00
Luke Pulverenti
3ff216f05a update ShortOverview 2017-01-26 15:27:12 -05:00
Luke Pulverenti
cf470529b1 update video osd 2017-01-25 02:04:34 -05:00
Luke Pulverenti
b9f758e14d reduce traffic from play to feature 2017-01-24 14:54:18 -05:00
Luke Pulverenti
0bf95da493 update dlna profiles 2017-01-21 15:20:15 -05:00
Luke Pulverenti
fe1630aec4 update default dlna profile 2017-01-19 02:32:39 -05:00
Luke Pulverenti
da5f64e424 update now playing screen 2017-01-18 08:33:18 -05:00
Luke Pulverenti
16bd1df08a update sharp profile 2017-01-17 16:09:43 -05:00
Luke Pulverenti
75ad2af0b3 add sharp dlna profile 2017-01-16 21:58:47 -05:00
Luke Pulverenti
4ad2f54193 samsung dlna fixes 2017-01-13 23:07:34 -05:00
Luke Pulverenti
3edf91ce56 update music artists 2017-01-05 23:38:03 -05:00
Luke Pulverenti
96d00fe21d update video osd 2017-01-04 15:29:29 -05:00
Luke Pulverenti
14af8211eb ps4 dlna fixes 2017-01-02 00:32:37 -05:00
Luke Pulverenti
5372c0bf23 remove unused property 2016-12-28 01:08:18 -05:00
Luke Pulverenti
5765b51680 support samsung dlna bookmarks 2016-12-26 12:37:49 -05:00
Luke Pulverenti
d9b0438591 direct play dts over lg dlna 2016-12-26 12:37:21 -05:00
Luke Pulverenti
2040db7afd update dishhopper profile 2016-12-24 13:22:36 -05:00
Luke Pulverenti
ac2c45dd6a update dlna genre views 2016-12-20 14:59:25 -05:00
Luke Pulverenti
74ec6e5a06 update dlna music genres 2016-12-20 02:31:30 -05:00
Luke Pulverenti
ef490818d7 update dlna default user 2016-12-16 00:24:33 -05:00
Luke Pulverenti
7708d96b8b improve Play To device detection 2016-12-15 02:12:52 -05:00
Luke Pulverenti
de9cd28a79 remove tvos dts hack no longer needed 2016-12-14 15:58:55 -05:00
Luke Pulverenti
afabbfa22b add ios dts workaround 2016-12-13 12:04:37 -05:00
Luke Pulverenti
c7d520555b update dlna profiles 2016-12-09 02:23:09 -05:00
Luke Pulverenti
56fb08eeed added delete helper 2016-12-08 10:40:20 -05:00
Luke Pulverenti
9accc3b025 update recording fields 2016-12-05 13:46:38 -05:00
Luke Pulverenti
401a6b8f4a add request logging 2016-12-04 16:30:38 -05:00
Luke Pulverenti
7ed6c67db0 update xml parsing 2016-12-03 18:57:34 -05:00
Luke Pulverenti
83ad945015 update xml readers 2016-12-03 16:46:06 -05:00
Luke Pulverenti
3f68882fa8 add setting to control import of missing episodes 2016-11-22 13:22:01 -05:00
Luke Pulverenti
827602711e update sqlite dependencies 2016-11-20 15:20:01 -05:00
Luke Pulverenti
039487740b handle bad profile value 2016-11-20 14:40:35 -05:00
Luke Pulverenti
c0491fb563 rework genre views 2016-11-15 14:42:43 -05:00
Luke Pulverenti
44336488f3 update udp sockets 2016-11-14 14:48:01 -05:00
Luke Pulverenti
fe34021535 update .net core solution 2016-11-10 23:37:57 -05:00
Luke Pulverenti
a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti
1539836ca1 update didl xml 2016-11-06 12:30:44 -05:00
Luke Pulverenti
3c1447804b move localization classes 2016-11-04 22:17:18 -04:00
Luke Pulverenti
25312d7d03 add udp error handling 2016-11-04 19:57:21 -04:00
Luke Pulverenti
67ad1db6b7 add environment info 2016-11-04 15:51:59 -04: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
b0ff307d0c remove json lock files 2016-10-31 22:21:38 -04:00
Luke Pulverenti
b91dcdbff4 update audio queries 2016-10-31 01:51:43 -04:00
Luke Pulverenti
be75d1f3e4 update BaseXmlSaver 2016-10-30 03:48:34 -04:00
Luke Pulverenti
3094cd7ff3 update project targets 2016-10-30 03:11:37 -04:00
Luke Pulverenti
4807be3b09 update nuget 2016-10-29 19:40:36 -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