Commit Graph

299 Commits

Author SHA1 Message Date
Bond_009
e3dac4fda2 Use async FileStreams where it makes sense 2021-09-02 14:02:04 +02:00
Izumiko
7027e2feb2 Add 'includeAdult' option for TheMovieDb 2021-08-25 20:46:51 +08:00
Rich Lander
cb990ae973 Update per feedback 2021-08-09 18:52:38 -07:00
Rich Lander
870887046c
Update MediaBrowser.Providers/Plugins/Tmdb/TmdbClientManager.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-08-09 18:50:41 -07:00
Rich Lander
927b003143 Fix remaining MediaBrowser.Providers warnings 2021-07-22 20:16:38 -07:00
Rich Lander
fb92eab69b Fix analysis issues 2021-07-22 17:33:19 -07:00
Bond_009
cf061f7563 MediaBrowser.Providers: Remove some warnings 2021-06-27 02:00:27 +02:00
Bond_009
981cf4cfa0 Remove our own RemoveDiacritcs string extension in favor of Diacritics.Net 2021-06-22 09:48:40 +02:00
Bond_009
6f8ccab788 Move non-jellyfin extensions to separate project 2021-06-19 18:04:46 +02:00
Bond-009
a7b7ff000b
Merge branch 'master' into tmdb-person-language 2021-05-20 22:46:40 +02:00
David Ullmer
ee7a95e088 Move GetMetadataLanguage 2021-05-18 13:44:38 +02:00
David Ullmer
6353966abd Fix cache key 2021-05-18 13:17:34 +02:00
David Ullmer
96e05e5b66 Add tests for NoralizeLanguage 2021-05-17 12:55:27 +02:00
Bond-009
f06f3450c1
Merge pull request #5307 from barronpm/using-declarations 2021-05-16 09:58:10 +00:00
David Ullmer
c584d36fd4 Fix Tmdb person language 2021-05-12 14:57:58 +02:00
David Ullmer
cb01dd8684 Use TMDb parental rating building from movies for shows 2021-05-10 20:56:20 +02:00
Patrick Barron
e55f35b62e
Merge branch 'master' into using-declarations 2021-05-10 09:05:12 -04:00
Bond_009
e128b6d997 TmdbUtils: Use ordinal string compare 2021-05-01 15:59:21 +02:00
Bond-009
e19d89bb4f
Merge pull request #5881 from cvium/tmdb-episode-externalids
Add tvrage and imdb ids for episodes
2021-04-21 16:15:53 +02:00
Bond-009
aa992efd31
Update MediaBrowser.Providers/Plugins/Tmdb/TV/TmdbEpisodeProvider.cs 2021-04-21 16:15:31 +02:00
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