source of listitem.Icon
#1
Hi, couple of parts to this question. 

In the skinning manual it says:

https://kodi.wiki/view/Skinning_Manual
Quote:ListItem.Icon Shows the thumbnail (if it exists) of the currently selected item in a list or thumb control. If no thumbnail image exists, it will show the default icon.

On this page in the wiki (https://kodi.wiki/view/Artwork/Accessing...d_JSON-RPC), it says:
Quote:ListItem.Art(thumb) Thumb of the currently focused media item. This has some notable fallback behavior in the video library. It will be the artwork type named exactly "thumb" if it exists for the current item, but will fall back to "poster" then "banner" if not.

1. Does this mean that ListItem.Icon falls back like so?
xxx-thumb.jpg > xxx-poster.jpg > xxx-banner.jpg > default icon?

2. When will it auto generate a thumbnail based on an image from the video? In my files view, ListItem.Icon appears also to fall back to xxx-fanart.jpg if that's present before it auto generates an icon?

3. In files views, is there an easy way to see in the skin what lisitem.icon will fall back to? I need to move a label depending on if the artwork is a portrait or landscape. If I put ListItem.Icon in a label, it just shows the filename (including path) of the video file, but doesn't appear to change depending on whether a poster or a fanart or an auto generated thumbnail is shown?
Reply


Messages In This Thread
source of listitem.Icon - by realcopacetic - 2020-05-11, 17:32
RE: source of listitem.Icon - by sualfred - 2020-05-11, 19:42
Logout Mark Read Team Forum Stats Members Help
source of listitem.Icon0