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

Cleanup.

parent b1463a79
No related branches found
No related tags found
No related merge requests found
...@@ -175,7 +175,8 @@ class AuraScheduler(threading.Thread): ...@@ -175,7 +175,8 @@ class AuraScheduler(threading.Thread):
def play_active_entry(self): def play_active_entry(self):
""" """
Plays the entry scheduled for the current moment. Plays the entry scheduled for the very current moment and forwards to the scheduled position in time.
Usually called when the Engine boots.
""" """
sleep_offset = 10 sleep_offset = 10
...@@ -201,9 +202,6 @@ class AuraScheduler(threading.Thread): ...@@ -201,9 +202,6 @@ class AuraScheduler(threading.Thread):
# Check if this is the last item of the schedule # Check if this is the last item of the schedule
if active_entry.end_unix > active_entry.playlist.schedule.end_unix: if active_entry.end_unix > active_entry.playlist.schedule.end_unix:
self.queue_end_of_schedule(active_entry, True) self.queue_end_of_schedule(active_entry, True)
else: #Otherwise only queue the regular end of the entry
#FIXME
self.logger.error(SimpleUtil.red("--FIXME-- Implement queue EOE"))
# Fast-forward to the scheduled position # Fast-forward to the scheduled position
if seconds_to_seek > 0: if seconds_to_seek > 0:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment