File tree Expand file tree Collapse file tree
custom_components/mass_queue Expand file tree Collapse file tree Original file line number Diff line number Diff 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."""
You can’t perform that action at this time.
0 commit comments