fix(netd): check if artist is an empty string
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
810ded76c5
commit
8a306b079c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ namespace NetDaemonConfig.Apps.Spotify.PlayAlbum
|
||||||
{
|
{
|
||||||
string uri;
|
string uri;
|
||||||
|
|
||||||
if (e.artist is not null)
|
if (e.artist is not null && e.artist != "")
|
||||||
{
|
{
|
||||||
SpotifyplusSearchArtistsResponse? artistResult = (
|
SpotifyplusSearchArtistsResponse? artistResult = (
|
||||||
await services.Spotifyplus.SearchArtistsAsync(
|
await services.Spotifyplus.SearchArtistsAsync(
|
||||||
|
|
Loading…
Reference in a new issue