From 0c52ea747be9b1553bdb829c2d9d1afbb5977fc2 Mon Sep 17 00:00:00 2001 From: a23bc <51992419+a23bc@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:41:52 +0800 Subject: [PATCH] fix picture wrong resolusion --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index bfbfb15..9d1b811 100644 --- a/main.go +++ b/main.go @@ -1004,7 +1004,7 @@ func writeCover(sanAlbumFolder, url string) error { if exists { return nil } - url = strings.Replace(url, "{w}x{h}", "1200x12000", 1) + url = strings.Replace(url, "{w}x{h}", "10000x10000", 1) req, err := http.NewRequest("GET", url, nil) if err != nil { return err @@ -1765,4 +1765,4 @@ type AutoGeneratedTrack struct { } `json:"artists"` } `json:"relationships"` } `json:"data"` -} \ No newline at end of file +}