Commit graph

279 commits

Author SHA1 Message Date
Bond-009 6b103f7ab2
Merge pull request #5870 from cvium/fix-tmdbpersonprovider 2021-04-21 13:53:41 +02:00
cvium 96348ed744 Add tvrage and imdb ids for episodes 2021-04-21 08:33:29 +02:00
cvium c0ea56a10d use int.Parse 2021-04-20 13:35:08 +02:00
Bond-009 94d339cf12
Merge pull request #5744 from mohd-akram/absolute-dvd-order 2021-04-20 13:29:31 +02:00
cvium 06b8cf42d1 Fix TMDb Person Provider 2021-04-20 08:59:15 +02:00
Mohamed Akram 64071873a0 Use StringComparison.Ordinal 2021-04-19 16:51:44 +04:00
Mohamed Akram 90b941b3f6 Add review changes 2021-04-19 14:59:24 +04:00
BaronGreenback bc1cc2d04a Remove unused using directives 2021-04-17 11:37:55 +01:00
Bond_009 2b948aead9 Fix possible ArgumentNullException
```
System.ArgumentNullException: Value cannot be null. (Parameter 'source')
   at System.Linq.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
   at System.Linq.Enumerable.Where[TSource](IEnumerable`1 source, Func`2 predicate)
   at MediaBrowser.Providers.Manager.ProviderManager.GetImages(BaseItem
           item, IRemoteImageProvider provider, IReadOnlyCollection`1
           preferredLanguages, CancellationToken cancellationToken,
           Nullable`1 type) in
   /home/bond/dev/jellyfin/MediaBrowser.Providers/Manager/ProviderManager.cs:line
   280
```
2021-04-13 19:53:09 +02:00
Mohamed Akram ce4f730221 Add support for TMDB series absolute and DVD order 2021-04-09 20:02:23 +04:00
Claus Vium 28a0eb6d53
set original title in tmdbmovieprovider 2021-04-01 14:28:03 +02:00
cvium 151156f227 Clean the entity name for non-words before searching 2021-03-17 10:29:45 +01:00
Bond_009 a8ed753f6c FxCop -> Net Analyzers (part 2) 2021-03-13 22:33:28 +01:00
Claus Vium 84e16a8535
Merge pull request #5431 from cvium/fix_tmdb_imdbid
Use imdbid as fallback in movie provider
2021-03-10 08:37:00 +01:00
cvium 880c8636bc Use imdbid as fallback in movie provider
Includes post-ProviderIdExtensions cleanup
2021-03-09 11:44:39 +01:00
cvium 80fb52e64f Default to the searchinfo year, fallback to parsed year 2021-03-09 10:46:54 +01:00
David 60ffa6f514 Use FileShare.None when creating files 2021-03-07 14:43:28 +01:00
cvium ba366118f9 Do not use language or imagelanguages when searching for images
TMDb API returns all images if languages are excluded, which is needed for the All Languages toggle in Identify.
2021-03-05 08:18:04 +01:00
David Ullmer 8f99bdd07c
Fix TMDb search name containing year (#5349) 2021-03-02 21:17:25 +01:00
Patrick Barron 9413d974f3 Switch to using declarations in MediaBrowser.Providers 2021-02-25 20:38:18 -05:00
Joshua M. Boniface 5ce4df4178
Merge pull request #5270 from Bond-009/imdb 2021-02-22 20:59:57 -05:00
dkanada 175e2a5249
Merge pull request #5242 from jellyfin/cancellationtokens
Properly forward cancellationTokens
2021-02-20 10:52:30 +09:00
Bond_009 b2700ecf44 TMDB: Also search with IMDB or TVDB Id if specified 2021-02-19 16:09:23 +01:00
Bond_009 c1b17b2fa4 TMDB: Include year in search 2021-02-18 22:58:18 +01:00
Bond_009 e9f22303a4 Properly forward cancellationTokens 2021-02-15 14:19:17 +01:00
Mariusz Chryc 0d1f356373 Remove season name from metadata result 2021-01-26 19:04:20 +01:00
MrTimscampi c52a2f2f7b Move studios image providers to plugin 2021-01-12 22:45:28 +01:00
Bond_009 eeff9f52c6 Fix Omdb caching 2021-01-12 16:27:38 +01:00
crobibero c1d1b6e9f4 Fix serialization loop 2021-01-04 07:52:44 -07:00
crobibero a3a31952f4 Fix OMDb converter 2021-01-03 09:35:22 -07:00
Cody Robibero 5c57569692
Merge branch 'master' into PluginDowngrade 2020-12-30 18:11:37 -07:00
David 9e0f425783 Make RootObject and SeasonRootObject internal again 2020-12-28 23:41:46 +01:00
David 21fd124bca Code revie 2020-12-27 11:15:46 +01:00
David f73bb92ce3 Remove manual N/A removal and write directly to stream 2020-12-26 20:00:54 +01:00
David e0499f8769 Remove attributes 2020-12-25 19:37:38 +01:00
crobibero fc212e5e5f Remove JsonOmdbNotAvailableConverterFactory 2020-12-25 14:43:10 +01:00
crobibero 6ddbe8420f Add tests for special Omdb json 2020-12-25 14:43:10 +01:00
David 043d045448 Put json serializer options in private field 2020-12-24 11:22:34 +01:00
David 2a574914ea Use streams instead of strings 2020-12-23 19:24:58 +01:00
David e2d338412f Fix OMDb "N/A" 2020-12-23 14:45:05 +01:00
David 276b219fbd Add missing options 2020-12-23 13:47:57 +01:00
David e09d3ba9ef Remove custom Json serializer from Providers 2020-12-23 13:14:39 +01:00
Greenback ce19f2be55 Renamed Guid property to Id 2020-12-18 20:37:35 +00:00
crobibero d12fa01d7a Fix potential null reference 2020-12-07 19:10:35 -07:00
dkanada 8b0ef119c3 remove deprecated flag to disable music plugins 2020-11-28 23:55:56 +09:00
crobibero c4423373b6 Use proper Named HttpClient for MusicBrainz requests 2020-11-25 08:47:05 -07:00
Greenback fe3e22be98 Null Pointer 2020-11-22 13:11:05 +00:00
BaronGreenback 05bd1383c1
Null pointer fix. (#4527)
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-11-21 14:22:23 +01:00
Joshua M. Boniface b5ff91c281
Merge pull request #4298 from crobibero/bye-tvdb
Remove TheTVDB plugin from server source.
2020-11-19 14:25:12 -05:00
Greenback 9a323f6df0 More spelling corrections. 2020-11-18 13:46:14 +00:00
Bond_009 4b1c9dc9ea Pass cancellation where possible 2020-11-17 19:43:00 +01:00
crobibero 4b15284324 Merge remote-tracking branch 'upstream/master' into bye-tvdb 2020-11-15 13:12:43 -07:00
Bond_009 ff49a3bb61
Missed some stuff 2020-11-14 20:28:15 +01:00
crobibero 7ff212576e Merge remote-tracking branch 'upstream/master' into bye-tvdb 2020-11-11 08:08:06 -07:00
Anthony Lavado 6205fb4b6a
Merge pull request #4341 from Bond-009/minor6
Minor improvements
2020-11-02 11:10:39 -05:00
Bond_009 49569ca0a0 Use nameof where possible 2020-10-17 16:19:57 +02:00
Joshua M. Boniface 19c2abb50f
Merge pull request #4261 from Spacetech/music_brainz_provider_thread_safe
Make MusicBrainzAlbumProvider thread safe and fix retry logic
2020-10-17 01:58:21 -04:00
Gary Wilber b1f637684d
Apply suggestions from code review (updating comments)
Co-authored-by: BaronGreenback <jimcartlidge@yahoo.co.uk>
2020-10-16 11:15:42 -07:00
Jan-Pieter Baert ec91d3893d
Fix SA 1116 warnings 2020-10-12 20:05:11 +02:00
dkanada 6478e70f06
Merge pull request #4221 from Spacetech/tvdb_series_provider_InvalidOperationException
Fix InvalidOperationException in TvdbSeriesProvider.MapSeriesToResult
2020-10-10 15:55:11 +09:00
crobibero 3119acd502 Remove tvdb plugin from server. 2020-10-09 07:43:02 -06:00
Bond-009 6def4b06a8 Minor improvements to tmdb code 2020-10-06 14:54:17 +02:00
cvium 72cd6ab071 Remove dummy season and missing episode provider in a futile attempt to remove cruft 2020-10-05 12:13:41 +02:00
cvium a0862c933d Add image languages to collections 2020-10-03 19:53:07 +02:00
cvium d7cabb2e4e Add image languages 2020-10-03 19:53:07 +02:00
cvium e0f21afa62 Fix build 2020-10-03 19:53:07 +02:00
Claus Vium c0f4c90d57 Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2020-10-03 19:53:07 +02:00
cvium 9adbf4e9d8 Add keywords as tags to series + cleanup 2020-10-03 19:53:07 +02:00
cvium f4d49eff9b Add keywords as tags 2020-10-03 19:53:07 +02:00
cvium 3df2a95cac Cleanup in TmdbUtils 2020-10-03 19:53:07 +02:00
cvium f8c4f7c63e Fix inverted boolean statement 2020-10-03 19:53:07 +02:00
cvium 34d2716ce8 Remove TmdbSettingsResult which came back in the rebase 2020-10-03 19:53:07 +02:00
cvium 08e1f15add Cleanup in TmdbMovieProvider 2020-10-03 19:53:07 +02:00
cvium e9524f89d6 Migrate the TMDb providers to the TMDbLib library 2020-10-03 19:53:07 +02:00
Gary Wilber 7841378506 cleaner 2020-10-02 17:27:43 -07:00
Gary Wilber db2e667936 expand try finally 2020-10-02 17:19:35 -07:00
Gary Wilber 04cdc89a5c Make MusicBrainzAlbumProvider thread safe 2020-10-02 17:14:57 -07:00
Bond-009 7775066475
Merge pull request #4236 from ConfusedPolarBear/warnings1
Fix some warnings
2020-09-29 09:18:52 +02:00
Gary Wilber fd7a36932d simplify EndDate query 2020-09-28 18:13:50 -07:00
Matt Montgomery 53d5f64e03 Fix SA1513, SA1514, SA1507, and SA1508 2020-09-28 15:04:31 -05:00
Gary Wilber 881a7fa908 update based on suggestions 2020-09-27 16:57:43 -07:00
Gary Wilber 303eccaffe Fix InvalidOperationException in TvdbSeriesProvider 2020-09-27 16:22:52 -07:00
Gary Wilber 12275e5e7b Fix invalid operation exception in TvdbEpisodeImageProvider.GetImages 2020-09-27 16:16:19 -07:00
Anthony Lavado 226316a486
Merge pull request #4103 from Bond-009/warn30
Fix some warnings
2020-09-23 10:30:24 -04:00
David dc73d044de Fix TMDB Season Images 2020-09-19 13:58:35 +02:00
derchu b88cfa802f
Grab content rating from episode info 2020-09-12 14:46:29 -07:00
Bond_009 3b319d45c0 Fix build 2020-09-08 23:15:32 +02:00
Bond_009 e11a57f19b Fix some warnings 2020-09-08 16:12:47 +02:00
Anthony Lavado cd40688584
Merge pull request #4076 from Bond-009/warn29
Fix some warnings
2020-09-07 19:41:58 -04:00
Anthony Lavado f43f72e6ce
Merge pull request #4078 from Bond-009/minor3
Minor improvements
2020-09-07 19:40:07 -04:00
Bond_009 5d9e2903d2 Minor improvements 2020-09-07 13:31:05 +02:00
Bond_009 384ab39f5b Fix some warnings 2020-09-07 13:20:39 +02:00
cvium 57db856fd8 Fix null exception in other tmdb providers 2020-09-07 12:42:41 +02:00
cvium f85ab53bd9 Fix null exception in tmdb episode provider 2020-09-07 12:39:16 +02:00
lmaonator 76172f76d9 Fix TVDB plugin not handling absolute display order 2020-09-05 02:34:57 +02:00
crobibero 2a8653b309 Merge remote-tracking branch 'upstream/master' into http-client-migrate 2020-09-04 08:16:49 -06:00
crobibero d8a0edc511 Revert "Remove ResponseHeadersRead where applicable"
This reverts commit 85844a84b6.
2020-09-03 07:20:33 -06:00
crobibero 85844a84b6 Remove ResponseHeadersRead where applicable 2020-09-03 06:48:19 -06:00
Bond_009 e653eef44f Fix some warnings 2020-08-31 22:20:19 +02:00
crobibero dd078e7b82 use named client 2020-08-31 11:05:21 -06:00
Bond-009 5be87753d6 Fix incorrect adding of user agent 2020-08-25 13:03:07 +02:00
Bond_009 5d0a17fd42 More fixes 2020-08-19 18:57:47 +02:00
Bond_009 ce352e4a1d Address comments 2020-08-19 18:06:27 +02:00
Bond_009 2b400c99ef Fix warnings 2020-08-19 17:50:50 +02:00
crobibero 01ed5d5407 Fix adding accept headers 2020-08-17 13:59:29 -06:00
crobibero 1325815182 Remove IHttpClient from Providers 2020-08-17 13:10:02 -06:00
crobibero 188166d6eb Remove IHttpClient from ArtistImageProvider 2020-08-17 11:56:49 -06:00
crobibero 14f57dddcb Remove IHttpClient from AlbumImageProvider 2020-08-17 11:55:58 -06:00
Bond-009 796eeb2cda
Merge pull request #3836 from cvium/remove_tmdb_api_rate_limit
Remove rate limit from TMDb provider
2020-08-06 23:53:29 +02:00
cvium 268139c435 Remove rate limit from TMDb provider 2020-08-06 23:47:30 +02:00
cvium f871087645 Make external ids nullable in TMDb 2020-08-06 23:37:11 +02:00
cvium e7d9d8f7c5 Change Budget and Revenue to long to avoid overflow 2020-08-02 23:54:58 +02:00
Bond_009 d4092846e4 Optimize Substring and StringBuilder usage 2020-07-29 13:17:01 +02:00
Anthony Lavado 468a7fea4c
Merge pull request #3660 from crobibero/plugin-config-location
Force plugin config location
2020-07-26 15:36:08 -07:00
crobibero a1511e430c implement change properly 2020-07-22 08:23:56 -06:00
crobibero 939b95907b Force plugin config location 2020-07-22 08:19:26 -06:00
crobibero 05f743480d fully remove jquery 2020-07-20 17:31:20 -06:00
crobibero f4cafc2f31 fix built in plugin js 2020-07-20 17:23:36 -06:00
crobibero 8a778c08d2 Fix tvdb actors url 2020-07-19 08:21:26 -06:00
crobibero 0095cb1947 Add EnumeratorCancellation attribute 2020-07-16 07:32:58 -06:00
Claus Vium 6d37a5fe52 Change to IAsyncEnumerable 2020-07-15 17:14:39 +02:00
Claus Vium 8c0168ef72 Fetch image keytypes before querying images 2020-07-15 16:45:14 +02:00
Bond-009 1448df1684
Update MediaBrowser.Providers/Plugins/Tmdb/Movies/TmdbMovieProvider.cs
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2020-07-04 22:36:02 +02:00
Bond_009 ae6eaa7f02 Minor fixes 2020-07-04 22:06:27 +02:00
Mark Monteiro 0e9164351b Merge remote-tracking branch 'upstream/master' into external-id-type 2020-06-26 10:12:22 -04:00
Anthony Lavado bb947718ea
Merge pull request #3380 from Bond-009/warn20
Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers
2020-06-20 12:26:02 -04:00
telans 98db8f72e0
fix SA1503 for one line if statements 2020-06-20 20:35:29 +12:00
telans 8de6452967
fix some documentation periods 2020-06-20 18:13:11 +12:00
Bond_009 eba488a0f8 Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers 2020-06-19 20:24:13 +02:00
Bond-009 9af6eda0b4
Merge pull request #3343 from telans/comment-stops
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans ab3dece9f1
fix brace spacing for do while loops 2020-06-16 16:11:32 +12:00
telans 247f9c61e6
fix SA1513/SA1516 2020-06-16 16:11:30 +12:00
telans 9018f8d8be
Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
telans 3d9049ef08
fix SA1508 2020-06-15 10:45:55 +12:00
telans acd4389653
fix SA1005 2020-06-15 10:41:00 +12:00
dkanada 403cd3205f
Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
2020-06-13 00:29:43 +09:00
Erik Rigtorp 82e8865147 Make tvdb name normalizer unicode aware 2020-06-11 17:26:38 -07:00
Erik Rigtorp 095afe6359 Clarify comment and log actual search string 2020-06-10 10:58:43 -07:00
Bond-009 ad5c41b542
Merge pull request #3258 from aled/2149-fix-a-small-number-of-compile-warnings-1
Fix a small number of compile warnings
2020-06-09 22:22:36 +02:00
dkanada 686066b134
Merge pull request #3250 from shayaantx/master
Ignore languages with null ids when fetching images from tvdb
2020-06-07 14:50:46 +09:00
aled 22a860a806 Fix a small number of compile warnings 2020-06-06 20:17:49 +01:00
crobibero 0982b73c11 Merge remote-tracking branch 'upstream/master' into ilogger 2020-06-06 08:26:34 -06:00
dkanada 6d4f3c42a2
Merge pull request #3208 from jellyfin/plugins
More work for core plugins
2020-06-06 12:27:45 +09:00
crobibero 44957c5a9a Use typed logger where possible 2020-06-05 18:15:56 -06:00
shayaantx 42bbfa772f Update TvdbSeasonImageProvider.cs 2020-06-05 18:14:47 -04:00
shayaantx 4623cb8385 Ignore languages with null ids 2020-06-04 21:30:02 -04:00
dkanada 855a2b2892 fix some easy warnings for tmdb 2020-05-31 15:28:01 +09:00
dkanada 685f8ad1f0 move tmdb to plugin folder 2020-05-31 15:23:09 +09:00
dkanada 24f7f84828 add plugin configurations for tvdb and omdb 2020-05-31 15:15:34 +09:00
dkanada f75a09838e remove uses of fnchecked from plugins 2020-05-25 18:25:45 +09:00