mirror of
https://github.com/jeffvli/feishin.git
synced 2024-11-20 14:37:06 +01:00
remove height everywhere for jellyfin images
This commit is contained in:
parent
4a111d9cf2
commit
3025e84c58
@ -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'
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user