Commit Graph

1444 Commits

Author SHA1 Message Date
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
Anthony Lavado cb393c215a
Merge pull request #1686 from Bond-009/warn7
More warning fixes
2019-09-02 02:07:19 -04:00
Anthony Lavado c4eac8b3c6
Merge pull request #1702 from Bond-009/warn8
Fix more warnings
2019-09-02 02:05:20 -04:00
Andrew Rabert 907b3185c2 Use regex to replace multiple spaces with one space
This communicates the intent of the code more clearly than before.
No noticeable performance impact.
2019-09-01 21:44:34 -04:00
Andrew Rabert 6478cd2ea4 Fix infinite looping when scanning TV metadata
It's a possible that name and sb will never be equal. This is caused by
additional replacements before this loop.
Regression introduced in c699c546e4124da8c1978b86d1a424d24d3d77d6a
2019-09-01 21:40:47 -04:00
Bond_009 1616f24cee Fix more warnings 2019-09-01 18:39:23 +02:00
Bond_009 e4f893a0eb More warning fixes 2019-08-29 22:28:33 +02:00
dkanada 21ff63c371 move the transcode path 2019-08-29 00:14:50 -07:00
Claus Vium 058e077422 Add newline after end tag 2019-08-19 12:13:34 +02:00
Claus Vium d2b8672c1c Require latest C# version in Providers project 2019-08-19 12:12:00 +02:00
Claus Vium 82b0015b30 Fix style issues 2019-08-18 14:50:26 +02:00
Claus Vium 78441730a7 Add Writer and Producer to crew list 2019-08-18 14:50:26 +02:00
Claus Vium 5ea1299030 Fix api url 2019-08-18 14:50:26 +02:00
Claus Vium 817d9b3389 Move and rename tmdb providers for better separation 2019-08-18 14:50:26 +02:00
Anthony Lavado 28d707604b
Merge pull request #1629 from cvium/fix_tvdb_guest_stars
Fix tvdb guest stars with multiple roles
2019-08-17 02:22:07 -04:00
Anthony Lavado f1f4b1a184
Merge pull request #1628 from cvium/fix_tvdb_ep_provider_id
Always fetch episode id as EpisodeInfo does not contain it
2019-08-17 02:10:36 -04:00
Claus Vium 9e3f4ac954 Move the first argument to its own line 2019-08-16 21:10:42 +02:00
Claus Vium e4158d9703 Continue 2019-08-16 20:11:01 +02:00
Claus Vium 8d230e67a2 Place args on separate lines 2019-08-16 20:09:30 +02:00
Claus Vium daf29233e6 Invert the second if 2019-08-16 20:07:00 +02:00
Claus Vium 15f7a2078b Invert the if 2019-08-16 19:58:44 +02:00
Claus Vium 26b4fb21fe
Update MediaBrowser.Providers/TV/TheTVDB/TvdbEpisodeProvider.cs
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-08-16 19:53:28 +02:00
Bond_009 c699c546e4 Improve LocalizationManager 2019-08-16 17:31:47 +02:00
dkanada bb04545068
Merge pull request #1614 from Bond-009/docs2
Document all public/internal members of Emby.Drawing
2019-08-15 21:01:44 -07:00
Claus Vium 11504321b5 Handle negative roleStartIndex since not all guest stars have roles 2019-08-15 19:54:01 +02:00
Claus Vium f7f3627bb1 Remove unused import 2019-08-15 14:56:49 +02:00
Claus Vium f4a99beb16 Fix tvdb guest stars loop 2019-08-15 14:54:22 +02:00
Claus Vium 38b0967044 Log episode id and series id when either request fails 2019-08-15 13:43:12 +02:00
Claus Vium 14575f0a06 Always fetch episode id as EpisodeInfo does not contain it 2019-08-15 13:39:56 +02:00
Bond_009 838e5d05d5 Document all public/internal members of Emby.Drawing
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11 16:52:37 +02:00
Bond_009 5eaf5465a5 Check checksum for plugin downloads
* Compare the MD5 checksum when downloading plugins
* Reduced log spam due to http requests
* Removed 'GetTempFileResponse' function from HttpClientManager
* Fixed caching for HttpClientManager
2019-08-11 15:54:58 +02:00
dkanada 1ad67e223f
Merge pull request #1462 from Bond-009/installationmanager
Improvements to InstallationManager
2019-08-11 03:47:10 -07:00
dkanada 4f592e9c33
Merge pull request #1484 from SenorSmartyPants/DVD-Order
Update TVDB provider to search based on series display order
2019-08-09 23:26:42 -07:00
Bond-009 6032f31aa6 Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
dkanada cf0460c7f9 move comment to separate line 2019-08-07 02:24:56 -07:00
Anthony Lavado cc4bf60092
Merge pull request #1590 from anthonylavado/null_check
Adds null check on studio/network name
2019-08-02 14:12:17 -04:00
Anthony Lavado d05440d267
Update MediaBrowser.Providers/TV/TheTVDB/TvdbSeriesProvider.cs
Co-Authored-By: Claus Vium <cvium@users.noreply.github.com>
2019-07-31 12:21:46 -04:00
Anthony Lavado d39decf918 Adds null check on studio/network name 2019-07-27 02:30:42 -04:00
Bond-009 82f041d050
Merge branch 'master' into release-10.3.z 2019-07-06 23:08:52 +02:00
SenorSmartyPants 18e6cd429a Update TVDB provider to search based on series display order 2019-06-22 16:11:47 -05:00
Claus Vium c2ab0ad641 Wait for the async authentication to finish when the JTW token expires 2019-06-21 19:08:04 +02:00
Bond_009 5554595255 Update deps 2019-06-14 18:49:57 +02:00
Bond_009 65a0ca2f32 Improvements to InstallationManager 2019-06-14 18:38:14 +02:00
Joshua M. Boniface 687255aa31
Merge pull request #1442 from jellyfin/release-10.3.z
Backmerge for Release 10.3.4 and 10.3.5
2019-06-12 23:30:57 -04:00
dkanada 09dfa071dc move fanart image provider to plugin 2019-05-31 01:48:20 -07:00
Claus Vium a756026962
Fix inverted comparison in the tvdb token refresh logic 2019-05-31 07:24:52 +02:00
Bond-009 682432f55a Iterate over IEnumerable before disposing 2019-04-30 22:18:40 +02:00
Claus Vium 08ed52eb72 Make the TvdbEpisodeProvider class Public 2019-04-30 20:08:59 +02:00
Joshua M. Boniface 59031ee3b8
Merge pull request #1119 from ploughpuff/503retry
MusicBrainz 503 Retry Strategy
2019-03-15 16:47:03 -04:00
PloughPuff d2e408539e MusicBrainz 503 Retry Strategy
Upon receiving back a 503 Service Unavailable from MusicBrainz (indicating throttling), retry the same request a number of times before giving up.
2019-03-15 19:33:26 +00:00