There was a discussion with some of the skinners on the team (on team Slack) about player art map, disc art in particular. I'm not sure now if what was implemented for this feature incorporated that or not. But anyway I think it good to pull it into anything implemented in response to Scott's comments.
daveblake: Yet another question for my skinning friends, this time about the art map. Where would you expect the (round) disc art for a playing song to be in Player.Art(discart) or Player.Art(album.discart), both neither?
My guess would be Player.Art(discart) with an internal fallback to the art held for the album - all songs on a album often have the same art, but on a multi-disc release each disc can have different disc art and cover (thumb)
Hitcher: Maybe both? So discart can be used specifically for songs and album.discart for the album art. Then skinners have the choice.
jurialmunkey: Only art(discart) as only albums have discart anyway, so the prefix is redundant (ie you would never have "artist.discart")For multidisc, song should have art(discart) of the disc it is from.Album should have art(discart) as first disc and also art(discart.1) art(discart.2) etc so each disc can also be referenced individually at the album level.
rmrector:
I suggest Kodi doesn't care about whether a prefix is redundant to keep it all simple and generic. From a song ListItem pull all album artwork with ListItem.Art(album.*). I also really don't like fallbacks so I'd say Player.Art(discart) should only pull song (and "disc" artwork for now) discart and empty if it isn't set, no fallback to album.discart. Then skinners have the choice for fallback behavior.
(2019-11-24, 12:06)black_eagle Wrote: I have a change for this that lets you use discart1, discart2 etc but note that discart on its own with no number will always contain the art for the currently playing disc. Do you specifically want it prefaced with album. so it's album.discartN ? Currently it's just $INFO[Player.Art(discartN)]
where N is a valid disc number.
I don't think
$INFO[Player.Art(discartN)]
makes sense - the player is playing a song from a disc, the song does not have other discs. The album may have other discs, but if accessing album art then use the album prefix