Increase artist image url sizes.

See https://support.symfonium.app/t/artist-picture-less-compressed/4447
This commit is contained in:
Deluan 2024-06-08 13:32:57 -04:00
parent 6d526870b7
commit 3252fab171
1 changed files with 3 additions and 3 deletions

View File

@ -190,9 +190,9 @@ func (api *Router) GetAlbumInfo(r *http.Request) (*responses.Subsonic, error) {
response := newResponse()
response.AlbumInfo = &responses.AlbumInfo{}
response.AlbumInfo.Notes = album.Description
response.AlbumInfo.SmallImageUrl = public.ImageURL(r, album.CoverArtID(), 150)
response.AlbumInfo.MediumImageUrl = public.ImageURL(r, album.CoverArtID(), 300)
response.AlbumInfo.LargeImageUrl = public.ImageURL(r, album.CoverArtID(), 600)
response.AlbumInfo.SmallImageUrl = public.ImageURL(r, album.CoverArtID(), 300)
response.AlbumInfo.MediumImageUrl = public.ImageURL(r, album.CoverArtID(), 600)
response.AlbumInfo.LargeImageUrl = public.ImageURL(r, album.CoverArtID(), 1200)
response.AlbumInfo.LastFmUrl = album.ExternalUrl
response.AlbumInfo.MusicBrainzID = album.MbzAlbumID