-
Notifications
You must be signed in to change notification settings - Fork 58
Player Properties
All properties as described in the section -ListItem Properties- are based on the current selected ListItem in a Kodi container.
It makes sense that you might also want to have that rich metadata and artwork for the currently playing media.
That is possible because all the window properties will also be available for the player.
In that case, just replace SkinHelper.ListItem by SkinHelper.Player for all described window properties. All the same conditions apply as for the normal listitem-based variants, meaning that pvr metadata won't be returned if the pvrart feature isn't enabled etc. etc.
Example:
Get Clearlogo image for the currently playing video (if existing and if lookups are enabled):
$INFO[Window(Home).Property(SkinHelper.Player.Art.Clearlogo)]
Note: The window properties will only be filled if the background scraper from this script actually is enabled and did find artwork. You should use the default Kodi provided Window properties by default and use the Window properties as fallback.