mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fixing the tvdb for movies
This commit is contained in:
parent
2739d7c36a
commit
209a0238f9
@ -79,6 +79,9 @@ namespace Kyoo.TheTvdb
|
|||||||
[ItemCanBeNull]
|
[ItemCanBeNull]
|
||||||
private async Task<Show> _GetShow([NotNull] Show show)
|
private async Task<Show> _GetShow([NotNull] Show show)
|
||||||
{
|
{
|
||||||
|
if (show.IsMovie)
|
||||||
|
return null;
|
||||||
|
|
||||||
if (!int.TryParse(show.GetID(Provider.Slug), out int id))
|
if (!int.TryParse(show.GetID(Provider.Slug), out int id))
|
||||||
{
|
{
|
||||||
Show found = (await _SearchShow(show.Title)).FirstOrDefault();
|
Show found = (await _SearchShow(show.Title)).FirstOrDefault();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user