Kodi Community Forum
!IsEmpty(ListItem.Thumb) returns true for videolibrary icons - 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: !IsEmpty(ListItem.Thumb) returns true for videolibrary icons (/showthread.php?tid=102093)



!IsEmpty(ListItem.Thumb) returns true for videolibrary icons? - pecinko - 2011-05-23

Don't know if it should be this way? Does not seam logical to me.

One exception though, it returns false only for video add-ons in videolibrary root.


- Hitcher - 2011-05-23

It's true because they're not empty surely?


- pecinko - 2011-05-23

Hitcher Wrote:It's true because they're not empty surely?

I probably didn't explain it well? It returns true for DefaultFOO icons in library root, except for Video Add-ons.

In other words, if I use ListItem.Thumb it will show all icons in VideoLibrary Root, except for Video Add-ons.

Is this supposed to be this way?

This is on Mac & Xbmc 10.1.


- pecinko - 2011-05-25

To ticket or not to ticket it... ?


- Hitcher - 2011-05-25

It shows DefaultAddonVideo.png for me on PC.


- pecinko - 2011-05-25

Hitcher Wrote:It shows DefaultAddonVideo.png for me on PC.

Just to make sure - ListItem.Thumb shows DefaultAddonVideo.png at your side?

If so, shouldn't it return empty texture as it is an icon, not thumb?


- ronie - 2011-05-25

pecinko Wrote:Just to make sure - ListItem.Thumb shows DefaultAddonVideo.png at your side?

If so, shouldn't it return empty texture as it is an icon, not thumb?

i think you are right.

i remember seeing a similar issue before:
http://trac.xbmc.org/ticket/7351

so i guess this is just another one of them.


- pecinko - 2011-05-26

ronie Wrote:i think you are right.

i remember seeing a similar issue before:
http://trac.xbmc.org/ticket/7351

so i guess this is just another one of them.

Yup, seams it's the same problem as in that ticket.

Even weirder thing is I have opposite results on Mac - if I use ListItem.Thumb it will show all DefaultFOO icons in VideoLibrary Root, except for Video Add-ons