From 39831cc32b03eee7c6b69382bde0f1d19e669702 Mon Sep 17 00:00:00 2001 From: Ross Stewart Date: Mon, 8 Sep 2025 09:02:40 +0100 Subject: [PATCH] Fix incorrect field name preventing playing Albums by Artist --- skill/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skill/app.py b/skill/app.py index 2e9acd9..0c4beaa 100755 --- a/skill/app.py +++ b/skill/app.py @@ -362,7 +362,7 @@ class NaviSonicPlayAlbumByArtist(AbstractRequestHandler): # Search the list of dictionaries for the requested album # Strings are all converted to lower case to minimise matching errors - result = [album_result for album_result in artist_album_lookup if album_result.get('title').lower() == album.value.lower()] + result = [album_result for album_result in artist_album_lookup if album_result.get('name').lower() == album.value.lower()] if not result: text = f"I couldn't find an album called {album.value} by {artist.value} in the collection."