Watched/Unwatched overlay query
#1
Is it possible to have different watched /unwatched overlay images for tv and movies section rather than both sharing the same overlayunwatched.png and overlaywatched.png?

Alternatively can I hide the unwatched overlay in the tv section and watched in movies?

Many thanks in advance
Reply
#2
1) no its not possible currently the image is decided by xbmc not the skin
2) yes just add a <visible> condition to the listitem.overlay texture control
Reply
#3
Thanks for the quick response!

Could you give an example if the visible condition? Ive been searching for the last few days but could find any sort of "visible if watched" command. Basically what I'm trying to do is

TV Section: Show watched flag only (no unwatched flag)
Movies: Show only the unwatched flag using it more like a "New" flag.

Many thanks once again.
Reply
#4
Watched Overlay -
PHP Code:
<control type="image">
    <
info>ListItem.Overlay</info>
    <
visible>!IsEmpty(ListItem.Overlay)</visible>
</
control

UnwatchedOverlay -
PHP Code:
<control type="image">
    <
info>ListItem.Overlay</info>
    <
visible>IsEmpty(ListItem.Overlay)</visible>
</
control
Reply
#5
Thanks but I've already tried those, !IsEmpty(ListItem.Overlay) shows both where as IsEmpty(ListItem.Overlay) shows none.

Is there any skin that does what I'm after?
Reply
#6
You can probably use the stringcompare stuff.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Watched/Unwatched overlay query0