Kodi Community Forum

Full Version: Better code than this? Help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am pulling the poster.jpg file on dialogvideoinfo. In order to do this for TV, I am using:

Code:
<texture>$INFO[ListItem.path]/$INFO[ListItem.title]/poster.jpg</texture>

The problem is of course when the TV Show title and folder name dont match, no image is pulled.

Is there a better code choice for this?
the path you use for logo is useable there?
or is there a listitem.path ? should return tvshow path.
<texture background="true">$INFO[ListItem.FileNameAndPath]logo.png</texture>
mcborzu Wrote:<texture background="true">$INFO[ListItem.FileNameAndPath]logo.png</texture>

THANKS to both of you for the quick replies! This got it. Cant believe I missed it!