fix movie db find by external id

This commit is contained in:
Luke Pulverenti 2017-05-08 14:07:42 -04:00
parent 5babf40023
commit ef41f919a6
2 changed files with 2 additions and 5 deletions

View file

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

View file

@ -443,7 +443,7 @@ namespace MediaBrowser.Providers.TV
private async Task<RemoteSearchResult> FindByExternalId(string id, string externalSource, CancellationToken cancellationToken) 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, id,
MovieDbProvider.ApiKey, MovieDbProvider.ApiKey,
externalSource); externalSource);