Commit Graph

467 Commits

Author SHA1 Message Date
Bond_009
5edb8159a7 Fix Json serialization error 2019-10-15 17:49:49 +02:00
Bond-009
ee637e8fec Fix warnings, improve performance (#1665)
* Fix warnings, improve performance

`QueryResult.Items` is now a `IReadOnlyList` so we don't need to
allocate a new `Array` when we have a `List` (and `Items` shouldn't need to
be mutable anyway)

* Update Providers .csproj to latest C#

* Remove extra newline from DtoService.cs

* Remove extra newline from UserLibraryService.cs
2019-09-02 02:19:29 -04:00
Bond-009
6032f31aa6 Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
Bond-009
c5fce647de Cleanup/simplification
* Removed useless copies/allocations
* Reduced unneeded complexity
2019-03-07 21:13:13 +01:00
Bond-009
1731bf7372 Remove ordering items 2019-02-26 20:47:23 +01:00
Claus Vium
8985fb8d58 Remove support for games as a media type 2019-01-31 19:04:47 +01:00
Claus Vium
b2ffad9ce9 Set Parent to current query Item if ParentId is empty (#680)
**Changes**
Fixed a faulty change in logic that occurred during the Christmas GPL nightmare.

I stepped through Emby 3.5.2 and stumbled over a difference in the query between Jellyfin and Emby, where in Emby, query.ParentId was set to the item itself. So I did a little digging in the old GPLv2 source and found this https://github.com/MediaBrowser/Emby/blob/3.4.1.8/MediaBrowser.Controller/Entities/Folder.cs#L720

**Issues**
Fixes #673
2019-01-24 18:48:37 +01:00
Erwin de Haan
38f96af079 Reformat JustAMan review pt2 changes
Refs #575
2019-01-17 20:24:39 +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
ba610b5094 Find+Sed BOM removal *.cs: Jellyfin.Server-MediaBrowser.Controller 2019-01-13 21:01:16 +01:00
Erwin de Haan
26ca4b607b Visual Studio Reformat: MediaBrowser.Controller 2019-01-13 20:25:32 +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
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
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009
6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
Andrew Rabert
a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
58a7829ecd update library changed notifier 2017-11-25 23:48:12 -05:00
Luke Pulverenti
2f758676d0 support sharing m3u tuner streams 2017-11-14 02:41:21 -05:00
Luke Pulverenti
0d28929e17 update download progress reporting 2017-11-03 14:11:04 -04:00
Luke Pulverenti
7cd1416d27 fix music artists not showing in collections 2017-10-28 00:19:38 -04:00
Luke Pulverenti
a5b82cd2ec remove unneeded async signatures 2017-10-03 14:39:37 -04:00
Luke Pulverenti
cdd79ec7e2 update owned items 2017-09-18 12:52:22 -04:00
Luke Pulverenti
39c4542cf6 update query objects 2017-09-04 15:28:22 -04:00
Luke Pulverenti
e287e3a50d remove async when there's nothing to await 2017-08-26 20:32:33 -04:00
Luke Pulverenti
26f6f594ce improve handling of disconnected drives 2017-08-23 14:00:42 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
6b28eee2db rework episode queries 2017-08-12 22:09:07 -04:00
Luke Pulverenti
e7425e6205 revert servicestack.text update 2017-08-10 14:01:31 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
4e52c027bc improve nextup queries 2017-08-01 12:45:57 -04:00
Luke Pulverenti
dcaf8356e6 update inherited images 2017-06-29 15:10:58 -04:00
Luke Pulverenti
a107ff0369 capture more transcoding info 2017-06-24 14:33:19 -04:00
Luke Pulverenti
1e5c3db9eb support individual library refreshing 2017-06-23 12:04:45 -04:00
Luke Pulverenti
9f0e6d17c8 add hevc cuvid 2017-06-12 03:11:54 -04:00
Luke Pulverenti
e91f569c15 update live tv startup 2017-06-03 03:36:32 -04:00
Luke Pulverenti
ffb68b0318 update realtime monitor 2017-05-27 03:19:09 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
f07af448fa update main projects 2017-05-24 15:12:55 -04:00
Luke Pulverenti
2f93d4498b update query fields 2017-05-23 12:43:24 -04:00
Luke Pulverenti
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
7147bec7d8 add landing screen settings 2017-04-18 16:11:42 -04:00
Luke Pulverenti
310f0e2811 fixes #2008 - Collections doesn't respect UserPolicy 2017-04-18 15:22:17 -04:00
Luke Pulverenti
372d40598d remove qsv hevc decoding for now 2017-04-01 15:49:36 -04:00
Luke Pulverenti
5fa3817a76 update components 2017-02-26 16:47:52 -05:00
Luke Pulverenti
0b5d4ce3f8 fix live tv folders being created in a loop 2017-01-11 12:56:26 -05:00
Luke Pulverenti
12f20de68b update offline detection 2017-01-10 15:44:02 -05:00
Luke Pulverenti
85cd90d6e6 update video osd 2017-01-09 12:05:34 -05:00
Luke Pulverenti
3edf91ce56 update music artists 2017-01-05 23:38:03 -05:00
Luke Pulverenti
2481c5d9f8 fix boxset socket events 2016-12-17 15:52:05 -05:00
Luke Pulverenti
e1b880a5a0 update series queries 2016-12-13 02:36:30 -05:00
Luke Pulverenti
f9702672f4 optimize series display 2016-11-25 12:36:00 -05:00
Luke Pulverenti
f275d7f3d2 reduce library queries 2016-11-21 03:54:53 -05:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
b9c430059a fix playlist deletion 2016-10-13 14:43:47 -04:00
Luke Pulverenti
2c6fc11dcf update live stream sharing 2016-10-11 17:33:38 -04:00
Luke Pulverenti
d5b5c8e1a5 update display of active recordings 2016-10-11 02:46:59 -04:00
Luke Pulverenti
daaae69df5 add playback of in-progress recordings 2016-10-09 03:18:43 -04:00
Luke Pulverenti
951e2b6de3 allow channel items in collections and playlists 2016-10-01 16:29:24 -04:00
Luke Pulverenti
d68a826833 update dialogs 2016-09-07 13:17:26 -04:00
Luke Pulverenti
93a05271c2 fix notifications query 2016-08-25 12:55:57 -04:00
Luke Pulverenti
e4851e1b25 reduce rescanning due to IsOffline 2016-08-24 02:13:15 -04:00
Luke Pulverenti
845c4a0d62 update item by name validators 2016-08-18 11:13:18 -04:00
Luke Pulverenti
d6dc6ffe7e update season methods 2016-08-17 16:52:16 -04:00
Luke Pulverenti
8a7b24000d update season queries 2016-08-16 13:08:37 -04:00
Luke Pulverenti
037c4e8740 improve boxset & playlist performance 2016-08-13 15:53:20 -04:00
Luke Pulverenti
68d1b60964 stub out objects for per library settings 2016-08-13 01:49:00 -04:00
Luke Pulverenti
d71a468388 fix played filter for series 2016-08-08 14:14:05 -04:00
Luke Pulverenti
0706bd5237 update DirectoryService 2016-08-06 00:48:00 -04:00
Sven Van den brande
219cba7506 Removed redundant Collection Initializers
Removed Using directives that are not required
2016-07-29 21:18:03 +02:00
Luke Pulverenti
eb321dad3b fix DateModified not refreshing 2016-07-24 12:46:17 -04:00
Luke Pulverenti
de635fe22c add faster access to series sort name 2016-07-10 11:44:53 -04:00
Luke Pulverenti
5c5cc212aa pass all audio codecs to server 2016-06-26 12:21:10 -04:00
Luke Pulverenti
759f5a8560 update task results 2016-06-19 02:18:29 -04:00
Luke Pulverenti
f9847be17c update item by name queries 2016-06-17 09:06:13 -04:00
Luke Pulverenti
626a2ed2a9 update child count creation 2016-06-16 09:24:12 -04:00
Luke Pulverenti
023b12a798 update recording format 2016-06-15 14:56:37 -04:00
Luke Pulverenti
6118e5f966 update xmltv downloading 2016-06-15 12:45:45 -04:00
Luke Pulverenti
2e040f9c0c update collection grouping setting 2016-06-05 15:44:55 -04:00
Luke Pulverenti
ddb6ea6f05 rework user data 2016-06-03 20:15:14 -04:00
Luke Pulverenti
53afb1e1e5 add images table 2016-06-03 12:24:04 -04:00
Luke Pulverenti
ae168bc563 update tag saving 2016-06-02 13:43:29 -04:00
Luke Pulverenti
2979185d8e add provider ids to database 2016-06-02 00:41:12 -04:00
Luke Pulverenti
669af87014 support querying more fields 2016-06-01 02:01:43 -04:00
Luke Pulverenti
cc19c762b4 update refresh 2016-05-24 22:06:56 -04:00
Luke Pulverenti
e5049f92b4 remove schema version checks 2016-05-22 14:53:37 -04:00
Luke Pulverenti
432c52f934 update season filters 2016-05-20 17:18:48 -04:00
Luke Pulverenti
2daf91b3fe update missing season creator 2016-05-20 15:45:04 -04:00
Luke Pulverenti
defbe7c4af add ignore attribute 2016-05-19 15:06:58 -04:00
Luke Pulverenti
d1d0487fee update artist queries 2016-05-18 01:34:10 -04:00
Luke Pulverenti
3118196ac6 update user data queries 2016-05-11 10:36:28 -04:00
Luke Pulverenti
3dc494c02d update FindByPath 2016-05-10 14:43:17 -04:00
Luke Pulverenti
f80c1d93c0 update user queries 2016-05-09 00:56:41 -04:00
Luke Pulverenti
99084edabe update windows ffmpeg 2016-05-08 23:13:38 -04:00
Luke Pulverenti
fb25ac7c08 update user data queries 2016-05-08 02:31:08 -04:00
Luke Pulverenti
d04b39421e fix episode query 2016-05-06 22:11:22 -04:00
Luke Pulverenti
5a496a1fc8 reduce recursive querying 2016-05-06 00:50:39 -04:00
Luke Pulverenti
568e339ae8 update series pooling 2016-05-02 13:11:45 -04:00
Luke Pulverenti
311dd50eb7 support more filters at db level 2016-05-01 21:46:08 -04:00
Luke Pulverenti
1f9d32afc5 limit use of GetUserDataKey 2016-04-30 18:05:13 -04:00
Luke Pulverenti
9b339d7cae resolve issue with querying by multiple item ids 2016-04-02 17:08:35 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
71b6d5d439 add critic rating column 2016-03-24 22:54:38 -04:00
Luke Pulverenti
95250b9f22 removed dead code 2016-03-21 16:15:18 -04:00
Luke Pulverenti
23fe6dc4be update db querying 2016-03-21 12:50:50 -04:00
Luke Pulverenti
d4870e788a update db querying 2016-03-20 23:10:37 -04:00
Luke Pulverenti
52a42229cd update sync task 2016-03-20 23:04:44 -04:00
Luke Pulverenti
63fe0239e3 update album queries 2016-03-20 20:15:56 -04:00
Luke Pulverenti
a2a0e1ae75 fix query by multiple ids 2016-03-20 17:32:26 -04:00
Luke Pulverenti
f4d61ddcc6 update db querying 2016-03-20 16:35:02 -04:00
Luke Pulverenti
1a00ac0bbe update db querying 2016-03-20 16:04:27 -04:00
Luke Pulverenti
b4ea519395 update db querying 2016-03-20 15:53:22 -04:00
Luke Pulverenti
6807b2dd71 update playlist querying 2016-03-20 14:39:20 -04:00
Luke Pulverenti
fc6a270fb7 update sorting 2016-03-20 13:52:36 -04:00
Luke Pulverenti
4b7093e923 get recursive items from db 2016-03-20 02:46:51 -04:00
Luke Pulverenti
7b93b7a33c finish removing ChannelFolderItem 2016-03-19 01:04:38 -04:00
Luke Pulverenti
1ee7826be6 restore changes 2015-11-23 11:04:57 -05:00
Luke Pulverenti
155c519080 fix merge conflits 2015-11-23 11:01:42 -05:00
Luke Pulverenti
6c27159406 update auto-organize 2015-11-22 00:15:00 -05:00
Luke Pulverenti
c7af567e5c remove duplicate call 2015-11-13 15:42:39 -05:00
Luke Pulverenti
cc19ce0daf added new parent methods 2015-11-11 09:56:31 -05:00
Luke Pulverenti
ce34c35b94 encode with qsv 2015-11-06 10:02:22 -05:00
Luke Pulverenti
fbf8d27637 update channel db 2015-11-02 12:25:01 -05:00
Luke Pulverenti
0bd1f36ece update db queries 2015-10-29 09:28:05 -04:00
Luke Pulverenti
818662e051 use ImageMagick scale method 2015-10-28 00:06:13 -04:00
Luke Pulverenti
79a7e907d4 3.0.5768.3 2015-10-19 06:51:20 -04:00
Luke Pulverenti
cc213128e2 update schedules direct mapping 2015-10-10 20:39:30 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e begin file system rework 2015-10-03 23:38:46 -04:00
Luke Pulverenti
63b218be44 fix marking seasons unplayed 2015-10-02 16:28:44 -04:00
Luke Pulverenti
71af43795a fixes #1166 - "Played" checkbox doesn't work for whole seasons 2015-10-02 16:27:05 -04:00
Luke Pulverenti
35fc099114 removed dead db fields 2015-09-29 13:35:23 -04:00
Luke Pulverenti
4e90d73203 update search 2015-09-23 22:31:40 -04:00
Luke Pulverenti
e90072b75f update offline detection 2015-09-21 11:43:10 -04:00
Luke Pulverenti
29923506ca rework subtitle editor 2015-09-16 21:33:46 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke Pulverenti
46aa31b399 fix shortcut setting 2015-09-03 00:16:31 -04:00
Luke Pulverenti
54dd38b2bd revise shortcut support 2015-08-14 21:44:30 -04:00
Luke Pulverenti
d4fad83ee2 update favorites page 2015-07-09 01:52:25 -04:00
Luke Pulverenti
fd261cecf7 resolve photo scan hang 2015-04-16 23:31:19 -04:00
Luke Pulverenti
b576ac12dd resolve AVG false positives 2015-04-14 23:41:29 -04:00
Luke Pulverenti
30104bd8de probe live streams after opening 2015-04-05 11:01:57 -04:00
Luke Pulverenti
ddbbe9ce4e post release housecleaning 2015-04-01 00:23:34 -04:00
Luke Pulverenti
52a2ff5a2e updated image magick sharp 2015-03-04 21:49:08 -05:00