mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 06:07:17 +00:00
Sets spotify media_type to music (#8387)
* Sets spotify media_type to music * Removed whitespace * Update spotify.py
This commit is contained in:
parent
7536e825fa
commit
233920f22c
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user