Commit 5ba8519c authored by David Trattnig's avatar David Trattnig
Browse files

Run without scheduler too. #39

parent e2836b92
......@@ -166,7 +166,9 @@ class TrackServiceHandler():
"""
Posts the current and next show information to the Engine API.
"""
current_playlist = self.engine.scheduler.get_active_playlist()
current_playlist = None
if self.engine.scheduler:
current_playlist = self.engine.scheduler.get_active_playlist()
(past_timeslot, current_timeslot, next_timeslot) = self.playlog.get_timeslots()
data = dict()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment