Private GIT

Skip to content
Snippets Groups Projects
Commit c96b0e53 authored by Fernando's avatar Fernando
Browse files

Add log message when ignoring result from provider

parent eb5b76a2
No related branches found
No related tags found
No related merge requests found
...@@ -242,6 +242,7 @@ def pickBestResult(results, show): ...@@ -242,6 +242,7 @@ def pickBestResult(results, show):
if len(cur_result.url) and cur_result.provider: if len(cur_result.url) and cur_result.provider:
cur_result.url = cur_result.provider.headURL(cur_result) cur_result.url = cur_result.provider.headURL(cur_result)
if not len(cur_result.url): if not len(cur_result.url):
logger.log('Skipping %s, URL check failed. Bad result from provider.' % cur_result.name,logger.INFO)
continue continue
if cur_result.quality in bestQualities and (not bestResult or bestResult.quality < cur_result.quality or bestResult not in bestQualities): if cur_result.quality in bestQualities and (not bestResult or bestResult.quality < cur_result.quality or bestResult not in bestQualities):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment