remove height everywhere for jellyfin images

This commit is contained in:
Kendall Garner 2024-09-04 22:30:50 -07:00
parent 4a111d9cf2
commit 3025e84c58
No known key found for this signature in database
GPG Key ID: 18D2767419676C87

View File

@ -53,7 +53,7 @@ const getAlbumArtistCoverArtUrl = (args: {
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item.Id}` + `/${args.item.Id}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
}; };
@ -69,7 +69,7 @@ const getAlbumCoverArtUrl = (args: { baseUrl: string; item: JFAlbum; size: numbe
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item.Id}` + `/${args.item.Id}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&height=${size}` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
}; };
@ -86,7 +86,7 @@ const getSongCoverArtUrl = (args: {
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item.Id}` + `/${args.item.Id}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&height=${size}` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
} }
@ -97,7 +97,7 @@ const getSongCoverArtUrl = (args: {
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item?.AlbumId}` + `/${args.item?.AlbumId}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&height=${size}` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
} }
@ -116,7 +116,7 @@ const getPlaylistCoverArtUrl = (args: { baseUrl: string; item: JFPlaylist; size:
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item.Id}` + `/${args.item.Id}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&height=${size}` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
}; };
@ -388,7 +388,7 @@ const getGenreCoverArtUrl = (args: {
`${args.baseUrl}/Items` + `${args.baseUrl}/Items` +
`/${args.item.Id}` + `/${args.item.Id}` +
'/Images/Primary' + '/Images/Primary' +
`?width=${size}&height=${size}` + `?width=${size}` +
'&quality=96' '&quality=96'
); );
}; };