Fix retrieval of track URL into medi_content_id (#13333)

'current.item' was returning blank.
pull/13385/head
Scott Reston 2018-03-21 13:44:53 -04:00 committed by Paulus Schoutsen
parent f8127a3902
commit 74c249e57d
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ class SpotifyMediaPlayer(MediaPlayerDevice):
self._title = item.get('name')
self._artist = ', '.join([artist.get('name')
for artist in item.get('artists')])
self._uri = current.get('uri')
self._uri = item.get('uri')
images = item.get('album').get('images')
self._image_url = images[0].get('url') if images else None
# Playing state