Browse Source

Change log format for programmed movies

tags/v1.0.0
djib 5 months ago
parent
commit
842bbd5853
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      FreeboxMoviePlanner.py

+ 2
- 2
FreeboxMoviePlanner.py View File

@@ -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