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

Ability to query channels for channel-type.

parent 45d53caa
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment