1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

use album cover as alternate image for active devices

This commit is contained in:
dkanada 2019-09-05 23:20:16 -07:00
parent e4e315b1e0
commit 742354baee

View file

@ -674,6 +674,14 @@ define(["datetime", "events", "itemHelper", "serverNotifications", "dom", "globa
});
}
if (item && item.AlbumPrimaryImageTag) {
return ApiClient.getScaledImageUrl(item.AlbumId, {
type: "Primary",
width: 275,
tag: item.AlbumPrimaryImageTag
});
}
return null;
},
systemUpdateTaskKey: "SystemUpdateTask",