Fix implicit-return in itunes (#122917)

This commit is contained in:
epenet 2024-07-31 20:50:11 +02:00 committed by GitHub
parent 4a4209647e
commit b31263b747
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -135,6 +135,8 @@ class Itunes:
path = f"/playlists/{playlist['id']}/play"
return self._request("PUT", path)
raise ValueError(f"Playlist {playlist_id_or_name} not found")
def artwork_url(self):
"""Return a URL of the current track's album art."""
return f"{self._base_url}/artwork"