Skip to content

Commit 66c4c55

Browse files
committed
Pull correct details
1 parent 5ce5f4e commit 66c4c55

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

custom_components/mass_queue/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ async def get_artist_details(self, artist_uri):
349349
"""Retrieves the details for an artist."""
350350
provider, item_id = parse_uri(artist_uri)
351351
LOGGER.debug(f"Getting artist details for provider {provider}")
352-
return await self._client.music.get_album(item_id, provider)
352+
return await self._client.music.get_artist(item_id, provider)
353353

354354
async def get_album_details(self, album_uri):
355355
"""Retrieves the details for an album."""
@@ -361,7 +361,7 @@ async def get_playlist_details(self, playlist_uri):
361361
"""Retrieves the details for a playlist."""
362362
provider, item_id = parse_uri(playlist_uri)
363363
LOGGER.debug(f"Getting album details for provider {provider}")
364-
return await self._client.music.get_album(item_id, provider)
364+
return await self._client.music.get_playlist(item_id, provider)
365365

366366
async def get_artist_tracks(self, artist_uri: str, page: int | None = None):
367367
"""Retrieves a limited number of tracks from an artist."""

0 commit comments

Comments
 (0)