Merge pull request #1 from a23bc/main

fix picture wrong resolusion
This commit is contained in:
zhaarey
2024-04-08 22:01:10 +08:00
committed by GitHub
3 changed files with 6 additions and 6 deletions

View File

@@ -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"`
}
}

View File

@@ -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"`
}
}

View File

@@ -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"`
}
}