Commit b456f9fb authored by David Trattnig's avatar David Trattnig
Browse files

Ability to query channels for channel-type.

parent 185af947
......@@ -102,8 +102,13 @@ class ChannelType(Enum):
]
}
@property
def channels(self):
return self.value["channels"]
def __str__(self):
return str(self.value)
return str(self.value["id"])
class FallbackType(Enum):
SHOW = "show" # the first played when the show playlist fails
......
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