From 8b3e923f4b8c4f1e4e7e4a0505ba96e11bf212f7 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 26 Jan 2022 11:00:31 -0800 Subject: [PATCH] Fix Plex media class in Cast media browser (#64995) --- homeassistant/components/cast/media_player.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/cast/media_player.py b/homeassistant/components/cast/media_player.py index 0ef6b1dc321..f96279d6d7f 100644 --- a/homeassistant/components/cast/media_player.py +++ b/homeassistant/components/cast/media_player.py @@ -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",