remove square image param, default item id for image

This commit is contained in:
jeffvli
2026-04-03 11:24:39 -07:00
parent 72f1d2f9f9
commit feda1bb06f
@@ -460,7 +460,7 @@ const normalizePlaylist = (
item: z.infer<typeof ndType._response.playlist>,
server?: null | ServerListItem,
): Playlist => {
const imageId = !item.uploadedImage ? item.id : `pl-${item.id}&square=true&_=${item.updatedAt}`;
const imageId = !item.uploadedImage ? item.id : `${item.id}&_=${item.updatedAt}`;
return {
_itemType: LibraryItem.PLAYLIST,
@@ -517,7 +517,7 @@ const normalizeInternetRadioStation = (
item: z.infer<typeof ndType._response.radioStation>,
): InternetRadioStation => {
const homepageUrl = item.homePageUrl?.trim() ? item.homePageUrl : null;
const imageId = item.uploadedImage ? `ra-${item.id}&square=true&_=${item.updatedAt}` : item.id;
const imageId = item.uploadedImage ? `${item.id}&_=${item.updatedAt}` : item.id;
return {
homepageUrl,