Fix Plex media class in Cast media browser (#64995)

This commit is contained in:
Paulus Schoutsen 2022-01-26 11:00:31 -08:00 committed by GitHub
parent 94288886c3
commit 8b3e923f4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",