From 3025e84c58da333cfd98c0eb5db4b8cbfd73cde9 Mon Sep 17 00:00:00 2001 From: Kendall Garner <17521368+kgarner7@users.noreply.github.com> Date: Wed, 4 Sep 2024 22:30:50 -0700 Subject: [PATCH] remove height everywhere for jellyfin images --- src/renderer/api/jellyfin/jellyfin-normalize.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/renderer/api/jellyfin/jellyfin-normalize.ts b/src/renderer/api/jellyfin/jellyfin-normalize.ts index fbb611db..9838398f 100644 --- a/src/renderer/api/jellyfin/jellyfin-normalize.ts +++ b/src/renderer/api/jellyfin/jellyfin-normalize.ts @@ -53,7 +53,7 @@ const getAlbumArtistCoverArtUrl = (args: { `${args.baseUrl}/Items` + `/${args.item.Id}` + '/Images/Primary' + - `?width=${size}&` + + `?width=${size}` + '&quality=96' ); }; @@ -69,7 +69,7 @@ const getAlbumCoverArtUrl = (args: { baseUrl: string; item: JFAlbum; size: numbe `${args.baseUrl}/Items` + `/${args.item.Id}` + '/Images/Primary' + - `?width=${size}&height=${size}` + + `?width=${size}` + '&quality=96' ); }; @@ -86,7 +86,7 @@ const getSongCoverArtUrl = (args: { `${args.baseUrl}/Items` + `/${args.item.Id}` + '/Images/Primary' + - `?width=${size}&height=${size}` + + `?width=${size}` + '&quality=96' ); } @@ -97,7 +97,7 @@ const getSongCoverArtUrl = (args: { `${args.baseUrl}/Items` + `/${args.item?.AlbumId}` + '/Images/Primary' + - `?width=${size}&height=${size}` + + `?width=${size}` + '&quality=96' ); } @@ -116,7 +116,7 @@ const getPlaylistCoverArtUrl = (args: { baseUrl: string; item: JFPlaylist; size: `${args.baseUrl}/Items` + `/${args.item.Id}` + '/Images/Primary' + - `?width=${size}&height=${size}` + + `?width=${size}` + '&quality=96' ); }; @@ -388,7 +388,7 @@ const getGenreCoverArtUrl = (args: { `${args.baseUrl}/Items` + `/${args.item.Id}` + '/Images/Primary' + - `?width=${size}&height=${size}` + + `?width=${size}` + '&quality=96' ); };