diff --git a/modules/core/events.py b/modules/core/events.py index c8b982fb58a97490ce1320d91b28740081bbab23..356b6e50c6d8a5ca954412c2f4dc72522141ab4a 100644 --- a/modules/core/events.py +++ b/modules/core/events.py @@ -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