From 8a306b079c226b91e4a94fb4e03c121512fdc954 Mon Sep 17 00:00:00 2001 From: matt1432 Date: Fri, 17 Jan 2025 01:59:12 -0500 Subject: [PATCH] fix(netd): check if artist is an empty string --- .../netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs b/configurations/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs index 65e78867..46467b55 100644 --- a/configurations/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs +++ b/configurations/homie/modules/home-assistant/netdaemon/apps/Spotify/PlayAlbum/PlayAlbum.cs @@ -41,7 +41,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum { string uri; - if (e.artist is not null) + if (e.artist is not null && e.artist != "") { SpotifyplusSearchArtistsResponse? artistResult = ( await services.Spotifyplus.SearchArtistsAsync(