From 1dc9086bb43a349844c4d43a9509d0f5e70b20df Mon Sep 17 00:00:00 2001 From: truewhile <62226914+truewhile@users.noreply.github.com> Date: Thu, 20 Aug 2026 09:27:33 +0800 Subject: [PATCH] =?UTF-8?q?cl=E7=BC=96=E8=AF=91bug=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit cl编译bug处理 --- internal/service/emby_artwork.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/service/emby_artwork.go b/internal/service/emby_artwork.go index 0dca6d3..7d6a34f 100644 --- a/internal/service/emby_artwork.go +++ b/internal/service/emby_artwork.go @@ -105,6 +105,9 @@ func (e *EmbyService) rememberLibraryCover(id, cover string) { // // Emby 主图只能显示单张,因此返回的正是网页拼图里最靠前的那张。 func (e *EmbyService) libraryCoverArtwork(ctx context.Context, id string) string { + if e == nil { + return "" + } if cached, ok := e.cachedLibraryCover(id); ok { return cached }