mirror of
https://github.com/home-assistant/core.git
synced 2025-07-18 18:57:06 +00:00
Fix implicit-return in itunes (#122917)
This commit is contained in:
parent
4a4209647e
commit
b31263b747
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user