Fixing the tvdb for movies

This commit is contained in:
Zoe Roux 2021-07-25 02:17:03 +02:00
parent 2739d7c36a
commit 209a0238f9

View File

@ -79,6 +79,9 @@ namespace Kyoo.TheTvdb
[ItemCanBeNull]
private async Task<Show> _GetShow([NotNull] Show show)
{
if (show.IsMovie)
return null;
if (!int.TryParse(show.GetID(Provider.Slug), out int id))
{
Show found = (await _SearchShow(show.Title)).FirstOrDefault();