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

String representation of channels.

parent d6522acc
No related branches found
No related tags found
No related merge requests found
......@@ -75,6 +75,9 @@ class Channel(Enum):
LIVE_3 = "aura_linein_3"
LIVE_4 = "aura_linein_4"
def __str__(self):
return str(self.value)
class ChannelType(Enum):
"""
......@@ -99,6 +102,8 @@ class ChannelType(Enum):
]
}
def __str__(self):
return str(self.value)
class FallbackType(Enum):
SHOW = "show" # the first played when the show playlist fails
......
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