From: Mel Harbour Date: Mon, 5 Aug 2024 13:08:54 +0000 (+0100) Subject: Remove artist_id not album_id X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=c59adcb9337f160f29d5d8bc1223dcea0673bf55;p=music-assistant-server.git Remove artist_id not album_id --- diff --git a/music_assistant/server/providers/filesystem_local/base.py b/music_assistant/server/providers/filesystem_local/base.py index d464eb78..57f40ef0 100644 --- a/music_assistant/server/providers/filesystem_local/base.py +++ b/music_assistant/server/providers/filesystem_local/base.py @@ -437,7 +437,7 @@ class FileSystemProviderBase(MusicProvider): artist_albums = await self.mass.music.artists.albums(artist_id, "library") artist_tracks = await self.mass.music.artists.tracks(artist_id, "library") if not (artist_albums or artist_tracks): - await self.mass.music.artists.remove_item_from_library(album_id) + await self.mass.music.artists.remove_item_from_library(artist_id) async def get_artist(self, prov_artist_id: str) -> Artist: """Get full artist details by id."""