From 98f003f71a0ef5c34247299bdc19b0257db580f4 Mon Sep 17 00:00:00 2001 From: Claus Vium Date: Wed, 13 Feb 2019 11:23:54 +0100 Subject: [PATCH] Review comments --- MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs b/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs index b0843dcdcf..2d6038f53e 100644 --- a/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs +++ b/MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs @@ -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 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 + ";"; } } }