Sets spotify media_type to music (#8387)

* Sets spotify media_type to music

* Removed whitespace

* Update spotify.py
This commit is contained in:
Tom Matheussen 2017-07-07 16:52:11 +02:00 committed by Paulus Schoutsen
parent 7536e825fa
commit 233920f22c

View File

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