From cf88608376abc0554b9547672a77190e749e8632 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Sun, 26 Jul 2026 09:34:15 -0700 Subject: [PATCH] do not look up by artist name if empty --- core/external/provider.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/external/provider.go b/core/external/provider.go index 08653f3f6..869841e06 100644 --- a/core/external/provider.go +++ b/core/external/provider.go @@ -732,6 +732,10 @@ func (e *provider) findArtist(ctx context.Context, artistName, id string) (*auxA } } + if artistName == "" { + return nil, model.ErrNotFound + } + artists, err := e.ds.Artist(ctx).GetAll(model.QueryOptions{ Filters: squirrel.Like{"artist.name": artistName}, Max: 1,