Skip to main content

album_from_track

Function album_from_track 

Source
fn album_from_track(track: &MediaItem, album_id: String) -> MediaItem
Expand description

Build the album card a collapsed group of tracks stands for.

The track’s own artwork tag is reused: Jellyfin serves an item’s primary image by id and treats the tag as a cache key, and an embedded-art track carries the album cover anyway.

TRACES: UR-024, UR-034 | IR-024, JA-016 | UT-241