Kodi Community Forum
Solved Season poster in DialogVideoInfo.xml - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Solved Season poster in DialogVideoInfo.xml (/showthread.php?tid=187197)



Season poster in DialogVideoInfo.xml - Jeroen - 2014-02-22

In DialogVideoInfo.xml:

PHP Code:
$INFO[ListItem.Art(season.poster)] 
Returns true at episode level, and false at season level.

However
PHP Code:
$INFO[ListItem.Art(Poster)] 
Also returns false at season level.

Seems to me there should be a way to display the season poster here?

I also tried
PHP Code:
ListItem.Property(SeasonThumb
but I think that one is (or should be) deprecated anyway?


RE: Season poster in DialogVideoInfo.xml - BigNoid - 2014-02-22

On seasonlevel its listitem.icon iirc. Note that container.content (seasons) is not available in videoinfo, so its best to use a variable and have it fallback to icon.


RE: Season poster in DialogVideoInfo.xml - Jeroen - 2014-02-22

I'm pretty sure $INFO[ListItem.Art(season.poster)] used to work. In the wiki it specifically states it's for use in DialogVideoInfo.xml

ListItem.Icon returns the tv show poster instead of the season poster.

I am using variables here, but to be sure I tested the availability with an image control directly.


RE: Season poster in DialogVideoInfo.xml - jmarshall - 2014-02-22

If you do "Info" while on a season you actually get the tvshow info. Thus, season.poster ofcourse doesn't exist.

ListItem.Art(Poster) should exist if the TVshow has a poster.


RE: Season poster in DialogVideoInfo.xml - BigNoid - 2014-02-22

Ah right, its still tvshow info on season level so there's no season thumb.


RE: Season poster in DialogVideoInfo.xml - Jeroen - 2014-02-22

Yeah I suppose that makes sense Smile

It just that when I'm browsing through season level I'm seeing a different poster than when I press info. That feels somewhat....weird Wink

I'm able to show the season poster at episode level, maybe I was confusing the availability with that.

I'll settle for the tv show poster then Smile