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

Ability to query channels for channel-type.

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