Commit 83c669c2 authored by David Trattnig's avatar David Trattnig
Browse files

Event handlers after fallback calls. #43

parent 14df904a
......@@ -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
......
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