Skip to content
Permalink
Browse files

trakt: Notify user if trakt search was unsuccessful

Closes #14
  • Loading branch information...
iamkroot committed Jul 12, 2019
1 parent a32b77e commit f827892d3b212bdbb435e5f96f501dfbfb1385b6
Showing with 1 addition and 0 deletions.
  1. +1 −0 trakt_scrobbler/trakt_interface.py
@@ -157,6 +157,7 @@ def get_trakt_id(title, item_type):
return 0 # Dont store in cache
elif results == [] or results[0]['score'] < 5: # Weak or no match
logger.warning('Trakt search yielded no results.')
notify('Trakt search yielded no results for ' + title)
trakt_id = -1
else:
trakt_id = results[0][required_type]['ids']['trakt']

0 comments on commit f827892

Please sign in to comment.
You can’t perform that action at this time.