@@ -34,17 +34,26 @@ from src.core.control import EngineExecutor
classFallbackType(Enum):
"""
Types of playlists.
Types of fallbacks.
NONE: No fallback active, default playout
SCHEDULE: The first played when some default playlist fails
SHOW: The second played when the timeslot fallback fails
STATION: The last played when everything else fails
"""
NONE={"id":0,"name":"default","lqs_sources":[Channel.QUEUE_A,Channel.QUEUE_A]}# No fallback active, default playout
SCHEDULE={"id":1,"name":"schedule","lqs_sources":[Channel.FALLBACK_QUEUE_A,Channel.FALLBACK_QUEUE_B]}# The first played when some default playlist fails
SHOW={"id":2,"name":"show","lqs_sources":["station_folder","station_playlist"]}# The second played when the timeslot fallback fails
STATION={"id":3,"name":"station","lqs_sources":["station_folder","station_playlist"]}# The last played when everything else fails