Commit graph

433 commits

Author SHA1 Message Date
Bond_009 a73e1f18b6 Minor improvements 2020-04-19 11:16:09 +02:00
Bond_009 3ab50f5a3f Address comments 2020-04-01 19:05:41 +02:00
Bond_009 787049f35f Merge branch 'master' into minor 2020-04-01 18:53:22 +02:00
dkanada c07e1e4f84
Merge pull request #2476 from JustAMan/playto-sort
Bring back sorting when needed to fix PlayTo
2020-03-04 01:53:26 +09:00
Vasily ba8d8cede9 Replace foreach with for - MOAR SPEED 2020-03-02 12:39:34 +03:00
Vasily 9a9f2aa293
Apply suggestions from code review
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-03-02 12:36:44 +03:00
Vasily 7f38af3701 Remove custom queue class as it is not needed 2020-02-28 17:27:16 +03:00
Vasily f81cd037f0 Small speed improvement - no need to convert an array to a list to just iterate over it 2020-02-28 16:19:51 +03:00
Vasily ae1f975b99 Implement fast sorting 2020-02-27 20:21:34 +03:00
Vasily 0f0b89f344 Trying to be more safe 2020-02-27 20:14:56 +03:00
Vasily e125db4fe3 Bring back sorting when needed to fix PlayTo
This is partial revert of https://github.com/jellyfin/jellyfin/pull/1011
2020-02-27 20:11:40 +03:00
Bond_009 a07ee65365 Minor improvements 2020-02-23 10:53:51 +01:00
dkanada 65a9d618cc add config options for musicbrainz 2020-02-22 15:04:52 +09:00
dkanada 51cdc6ea16
Merge pull request #1926 from Bond-009/auth
Add clearer exceptions, warnings and docs
2019-11-23 01:14:32 +09:00
Bond_009 d9a03c9bb1 Fix more warnings 2019-10-29 17:55:16 +01:00
Bond_009 fef35d0505 Add clearer exceptions, warnings and docs 2019-10-20 21:12:03 +02:00
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