mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Review comments
This commit is contained in:
parent
b9efcace79
commit
98f003f71a
@ -191,11 +191,12 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
episodeQuery.FirstAired = searchInfo.PremiereDate.Value.ToString("yyyy-MM-dd");
|
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,
|
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);
|
var episodePage = await GetEpisodesPageAsync(Convert.ToInt32(seriesTvdbId), episodeQuery, language, cancellationToken);
|
||||||
return episodePage.Data.FirstOrDefault()?.Id.ToString();
|
return episodePage.Data.FirstOrDefault()?.Id.ToString();
|
||||||
@ -254,7 +255,7 @@ namespace MediaBrowser.Providers.TV.TheTVDB
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
key += propertyInfo.Name + currentValue + ";";
|
key += propertyInfo.Name + "=" + currentValue + ";";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user