fix picture wrong resolusion
This commit is contained in:
parent
dc205766c0
commit
b8c54c2a45
@ -1005,7 +1005,7 @@ func writeCover(sanAlbumFolder, url string) error {
|
|||||||
if exists {
|
if exists {
|
||||||
return nil
|
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)
|
req, err := http.NewRequest("GET", url, nil)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
@ -1803,4 +1803,4 @@ type AutoGeneratedTrack struct {
|
|||||||
} `json:"artists"`
|
} `json:"artists"`
|
||||||
} `json:"relationships"`
|
} `json:"relationships"`
|
||||||
} `json:"data"`
|
} `json:"data"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user