Fix Plex media class in Cast media browser (#64995)
This commit is contained in:
parent
94288886c3
commit
8b3e923f4b
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@ from homeassistant.components.media_player import (
|
|||
)
|
||||
from homeassistant.components.media_player.const import (
|
||||
ATTR_MEDIA_EXTRA,
|
||||
MEDIA_CLASS_APP,
|
||||
MEDIA_CLASS_DIRECTORY,
|
||||
MEDIA_TYPE_MOVIE,
|
||||
MEDIA_TYPE_MUSIC,
|
||||
|
@ -484,7 +485,7 @@ class CastDevice(MediaPlayerEntity):
|
|||
children.append(
|
||||
BrowseMedia(
|
||||
title="Plex",
|
||||
media_class=MEDIA_CLASS_DIRECTORY,
|
||||
media_class=MEDIA_CLASS_APP,
|
||||
media_content_id="",
|
||||
media_content_type="plex",
|
||||
thumbnail="https://brands.home-assistant.io/_/plex/logo.png",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue