Add children media class (#39902)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
parent
e208aac834
commit
e96fed20c8
12 changed files with 181 additions and 67 deletions
|
@ -12,6 +12,7 @@ from homeassistant.components.media_player import (
|
|||
)
|
||||
from homeassistant.components.media_player.const import (
|
||||
MEDIA_CLASS_CHANNEL,
|
||||
MEDIA_CLASS_DIRECTORY,
|
||||
MEDIA_TYPE_CHANNEL,
|
||||
MEDIA_TYPE_CHANNELS,
|
||||
SUPPORT_BROWSE_MEDIA,
|
||||
|
@ -289,7 +290,7 @@ class PhilipsTVMediaPlayer(MediaPlayerEntity):
|
|||
|
||||
return BrowseMedia(
|
||||
title="Channels",
|
||||
media_class=MEDIA_CLASS_CHANNEL,
|
||||
media_class=MEDIA_CLASS_DIRECTORY,
|
||||
media_content_id="",
|
||||
media_content_type=MEDIA_TYPE_CHANNELS,
|
||||
can_play=False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue