Skip to content
Snippets Groups Projects
Commit 8c25b496 authored by David Trattnig's avatar David Trattnig
Browse files

Change order of show and schedule fallback.

parent 1b81d66d
No related branches found
No related tags found
No related merge requests found
...@@ -100,8 +100,8 @@ class FallbackManager: ...@@ -100,8 +100,8 @@ class FallbackManager:
self.logger.info("Resolving playlist for schedule #%s ..." % schedule.schedule_id) self.logger.info("Resolving playlist for schedule #%s ..." % schedule.schedule_id)
if not self.validate_playlist(schedule, "playlist"): if not self.validate_playlist(schedule, "playlist"):
if not self.validate_playlist(schedule, "show_fallback"): if not self.validate_playlist(schedule, "schedule_fallback"):
if not self.validate_playlist(schedule, "schedule_fallback"): if not self.validate_playlist(schedule, "show_fallback"):
if not self.validate_playlist(schedule, "station_fallback"): if not self.validate_playlist(schedule, "station_fallback"):
raise Exception("No (fallback) playlists for schedule #%s available - not even a single one!" % schedule.schedule_id) raise Exception("No (fallback) playlists for schedule #%s available - not even a single one!" % schedule.schedule_id)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment