浏览代码

Review comments

Claus Vium 6 年之前
父节点
当前提交
98f003f71a
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      MediaBrowser.Providers/TV/TheTVDB/TvDbClientManager.cs

+ 4 - 3
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<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 + ";";
                     }
                 }
             }