Browse Source

Change log format for programmed movies

master
djib 2 years ago
parent
commit
842bbd5853
  1. 4
      FreeboxMoviePlanner.py

4
FreeboxMoviePlanner.py

@ -239,7 +239,7 @@ class FreeboxMoviePlanner:
def programMovies(self):
for movie in self.movies:
logging.debug("Programming '{}'".format(movie))
logging.debug("Programming '{!r}'".format(movie))
data = {
'channel_uuid': self.channels[movie.channel],
'start': int(movie.start_time.timestamp()),
@ -249,7 +249,7 @@ class FreeboxMoviePlanner:
'margin_after': 60*self.config['margin-after']
}
self.freebox.Pvr.Create_a_precord(data)
print("Programmed '{}'".format(movie))
print("Programmed '{!r}'".format(movie))
def checkForConflicts(self):
programmed_movies = self.freebox.Pvr.Getting_the_list_of_precords()

Loading…
Cancel
Save