From 233920f22cf257bf545bea59646e3482bdc9458d Mon Sep 17 00:00:00 2001 From: Tom Matheussen Date: Fri, 7 Jul 2017 16:52:11 +0200 Subject: [PATCH] Sets spotify media_type to music (#8387) * Sets spotify media_type to music * Removed whitespace * Update spotify.py --- homeassistant/components/media_player/spotify.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/media_player/spotify.py b/homeassistant/components/media_player/spotify.py index e6604297fa1..bc0728c7ff2 100644 --- a/homeassistant/components/media_player/spotify.py +++ b/homeassistant/components/media_player/spotify.py @@ -313,3 +313,8 @@ class SpotifyMediaPlayer(MediaPlayerDevice): if self._user is not None and self._user['product'] == 'premium': return SUPPORT_SPOTIFY return None + + @property + def media_content_type(self): + """Return the media type.""" + return MEDIA_TYPE_MUSIC