mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Fix implicit-return in itunes (#122917)
This commit is contained in:
@@ -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"
|
||||
|
Reference in New Issue
Block a user