소스 검색

fix movie db find by external id

Luke Pulverenti 8 년 전
부모
커밋
ef41f919a6
2개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 4
      MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
  2. 1 1
      MediaBrowser.Providers/TV/TheMovieDb/MovieDbSeriesProvider.cs

+ 1 - 4
MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs

@@ -50,10 +50,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
                 return false;
             }
 
-            if (logOutput)
-            {
-                _logger.Info("ffmpeg info: {0}", output);
-            }
+            _logger.Info("ffmpeg info: {0}", output);
 
             if (output.IndexOf("Libav developers", StringComparison.OrdinalIgnoreCase) != -1)
             {

+ 1 - 1
MediaBrowser.Providers/TV/TheMovieDb/MovieDbSeriesProvider.cs

@@ -443,7 +443,7 @@ namespace MediaBrowser.Providers.TV
 
         private async Task<RemoteSearchResult> FindByExternalId(string id, string externalSource, CancellationToken cancellationToken)
         {
-            var url = string.Format("https://api.themoviedb.org/3/tv/find/{0}?api_key={1}&external_source={2}",
+            var url = string.Format("https://api.themoviedb.org/3/find/{0}?api_key={1}&external_source={2}",
                 id,
                 MovieDbProvider.ApiKey,
                 externalSource);