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 1/3] 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 +} From dc205766c049528d791bf30d57863f9e5795c486 Mon Sep 17 00:00:00 2001 From: a23bc <51992419+a23bc@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:43:57 +0800 Subject: [PATCH 2/3] fix picture wrong resolusion --- main_atmos.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_atmos.go b/main_atmos.go index bd64f0c..589d4b0 100644 --- a/main_atmos.go +++ b/main_atmos.go @@ -1007,7 +1007,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 @@ -1764,4 +1764,4 @@ type AutoGeneratedTrack struct { } `json:"artists"` } `json:"relationships"` } `json:"data"` -} \ No newline at end of file +} From b8c54c2a452807130b60ffa6ddbfd5b223f93c2d Mon Sep 17 00:00:00 2001 From: a23bc <51992419+a23bc@users.noreply.github.com> Date: Mon, 8 Apr 2024 19:44:40 +0800 Subject: [PATCH 3/3] fix picture wrong resolusion --- main_select.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main_select.go b/main_select.go index 03c099c..03493df 100644 --- a/main_select.go +++ b/main_select.go @@ -1005,7 +1005,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 @@ -1803,4 +1803,4 @@ type AutoGeneratedTrack struct { } `json:"artists"` } `json:"relationships"` } `json:"data"` -} \ No newline at end of file +}