mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-23 21:47:14 -04:00
Review comments
This commit is contained in:
parent
b9efcace79
commit
98f003f71a
1 changed files with 4 additions and 3 deletions
|
@ -191,11 +191,12 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||
episodeQuery.FirstAired = searchInfo.PremiereDate.Value.ToString("yyyy-MM-dd");
|
||||
}
|
||||
|
||||
return GetEpisodeTvdbId(Convert.ToInt32(seriesTvdbId), episodeQuery, cancellationToken, language);
|
||||
return GetEpisodeTvdbId(Convert.ToInt32(seriesTvdbId), episodeQuery, language, cancellationToken);
|
||||
}
|
||||
|
||||
public async Task<string> GetEpisodeTvdbId(int seriesTvdbId, EpisodeQuery episodeQuery,
|
||||
CancellationToken cancellationToken, string language)
|
||||
string language,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
var episodePage = await GetEpisodesPageAsync(Convert.ToInt32(seriesTvdbId), episodeQuery, language, cancellationToken);
|
||||
return episodePage.Data.FirstOrDefault()?.Id.ToString();
|
||||
|
@ -254,7 +255,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||
continue;
|
||||
}
|
||||
|
||||
key += propertyInfo.Name + currentValue + ";";
|
||||
key += propertyInfo.Name + "=" + currentValue + ";";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue