Browse Source

Improve message when a movie is skipped

master
djib 2 years ago
parent
commit
3476872925
  1. 8
      FreeboxMoviePlanner.py

8
FreeboxMoviePlanner.py

@ -231,9 +231,13 @@ class FreeboxMoviePlanner:
).year
except ValueError:
logging.warning(
'No release date for {}'.format(movie.title)
"No release date for '{!r}'".format(movie)
)
pass
else:
logging.warning(
"'{!r}' not found on TMDB!".format(movie)
)
def _findMovieOnTMDB(self, movie):
logging.info("Searching for '{}' on TMDB".format(movie))
@ -245,7 +249,7 @@ class FreeboxMoviePlanner:
))
return search.results[0]
else:
logging.warning("'{}' not found on TMDB!".format(movie))
logging.info("'{}' not found!".format(movie))
return []
def excludeBadRatings(self):

Loading…
Cancel
Save