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

Event handlers after fallback calls. #43

parent 14df904a
No related branches found
No related tags found
No related merge requests found
......@@ -210,6 +210,22 @@ class EngineEventDispatcher():
thread.start()
def on_fallback_updated(self, playlist_uri):
"""
Called when the scheduled fallback playlist has been updated.
"""
self.logger.debug("on_fallback_updated(..)")
self.call_event("on_fallback_updated", playlist_uri)
def on_fallback_cleaned(self, cleaned_channel):
"""
Called when the scheduled fallback queue has been cleaned up.
"""
self.logger.debug("on_fallback_cleaned(..)")
self.call_event("on_fallback_cleaned", cleaned_channel)
def on_idle(self):
"""
Callend when no entry is playing
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment