Commit Graph

128 Commits

Author SHA1 Message Date
Bond_009
c5995af493 Some style fixes 2019-09-25 17:19:48 +02: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
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
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
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
dkanada
cf0460c7f9 move comment to separate line 2019-08-07 02:24:56 -07: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
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
Claus Vium
a756026962
Fix inverted comparison in the tvdb token refresh logic 2019-05-31 07:24:52 +02:00
Claus Vium
08ed52eb72 Make the TvdbEpisodeProvider class Public 2019-04-30 20:08:59 +02:00
Bond_009
ffd6dac03a Remove useless comments 2019-03-07 12:24:44 +01:00
Bond_009
a9302b8b53 Remove useless abstraction around XmlReaderSettings
This removes the amount of stuff that needs to be passed around
Also removes some unneeded `ManagedFileSystem` usage
2019-03-07 12:04:14 +01:00
Claus Vium
c597f0de35 Make Tvdb strings const 2019-02-20 19:55:06 +01:00
Bond-009
3965f90236
Update MediaBrowser.Providers/TV/TheTVDB/TvdbSeriesImageProvider.cs
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-20 19:36:33 +01:00
Claus Vium
8af4417f8f Add ConfigureAwait to awaited calls 2019-02-20 19:35:47 +01:00
Claus Vium
4a5c526ccc Fix logging args and add ilogger with categoryname 2019-02-20 19:08:47 +01:00
Claus Vium
1f30a50f4a Address review comments 2019-02-20 11:03:04 +01:00
Claus Vium
ce51025e7c Use DI for TvDbClientManager 2019-02-15 20:11:27 +01:00
Claus Vium
5a054e5150 Remove useless doc 2019-02-15 19:33:10 +01:00
Claus Vium
98f003f71a Review comments 2019-02-15 19:33:10 +01:00
Claus Vium
b9efcace79 Extract imagetype-to-keytype statements into a utility function and move tvdb specific utils to separate class 2019-02-15 19:33:10 +01:00
Claus Vium
5e2e190f3e Add key delimiter to avoid potential clashes 2019-02-15 19:33:10 +01:00
Claus Vium
828434058f Use language supplied as argument instead of reading from TvDbClient 2019-02-15 19:33:10 +01:00
Claus Vium
dfbf5fc9fa Add generic key generation function 2019-02-15 19:33:10 +01:00
Claus Vium
8029cd3ebb Add better language support 2019-02-15 19:33:10 +01:00
Claus Vium
350e795640 Fix namespace in tvdbclientmanager 2019-02-15 19:33:10 +01:00
Claus Vium
f5bda652c4 Add support for searching for episodes by premiere date and fixed timezones 2019-02-15 19:33:10 +01:00
Claus Vium
e8189cd0f6 Fix namespaces 2019-02-15 19:33:10 +01:00
Claus Vium
935c7231eb Review comments 2019-02-15 19:33:10 +01:00
Vasily
da2c7db0df Apply suggestions from code review
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-02-15 19:33:10 +01:00
Claus Vium
83d98ac92d Fix episode provider 2019-02-15 19:33:10 +01:00
Claus Vium
0d43b06042 Fix MissingEpisodeProvider (almost) 2019-02-15 19:33:10 +01:00
Claus Vium
ced9868357 Fix a copy paste mistake and add series end date 2019-02-15 19:33:10 +01:00
Claus Vium
23c867f946 Remove TvdbPrescanTask as it looks like it was used for pre-fetching data, which is no longer relevant 2019-02-15 19:33:10 +01:00
Claus Vium
42c233c74e Add much needed exception handling and logging 2019-02-15 19:33:10 +01:00