adjust provider logging messages
This commit is contained in:
parent
f5163bd8f1
commit
b2163c77dc
|
@ -125,7 +125,7 @@ namespace MediaBrowser.Controller.Providers.TV
|
|||
SetLastRefreshed(item, DateTime.UtcNow, status);
|
||||
return true;
|
||||
}
|
||||
Logger.Info("Episode provider cannot determine Series Id for " + item.Path);
|
||||
Logger.Info("Episode provider not fetching because series does not have a tvdb id: " + item.Path);
|
||||
return false;
|
||||
}
|
||||
Logger.Info("Episode provider not fetching because local meta exists or requested to ignore: " + item.Name);
|
||||
|
|
|
@ -120,7 +120,7 @@ namespace MediaBrowser.Controller.Providers.TV
|
|||
|
||||
return true;
|
||||
}
|
||||
Logger.Info("Season provider unable to obtain series id for {0}", item.Path);
|
||||
Logger.Info("Season provider not fetching because series does not have a tvdb id: " + season.Path);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -473,22 +473,16 @@ namespace MediaBrowser.Controller.Providers.TV
|
|||
string url = string.Format(rootUrl + seriesQuery, WebUtility.UrlEncode(name));
|
||||
var doc = new XmlDocument();
|
||||
|
||||
try
|
||||
using (var results = await HttpClient.Get(new HttpRequestOptions
|
||||
{
|
||||
using (var results = await HttpClient.Get(new HttpRequestOptions
|
||||
{
|
||||
Url = url,
|
||||
ResourcePool = TvDbResourcePool,
|
||||
CancellationToken = cancellationToken,
|
||||
EnableResponseCache = true
|
||||
Url = url,
|
||||
ResourcePool = TvDbResourcePool,
|
||||
CancellationToken = cancellationToken,
|
||||
EnableResponseCache = true
|
||||
|
||||
}).ConfigureAwait(false))
|
||||
{
|
||||
doc.Load(results);
|
||||
}
|
||||
}
|
||||
catch (HttpException)
|
||||
}).ConfigureAwait(false))
|
||||
{
|
||||
doc.Load(results);
|
||||
}
|
||||
|
||||
if (doc.HasChildNodes)
|
||||
|
|
Loading…
Reference in New Issue
Block a user