2015-11-08, 02:31
Apologies Marcel, only just got around to testing your code for using WindowProps/SkinStrings inside a container. Works well on initial try for genre icons. However, after a bit of testing I noticed a few issues. Namely, if you change the skin string to use different genre icons, it doesn't seem to pick this up (even tried restarting). Also the fallback image doesn't seem to work.
Here's the code I'm using:
One of the genre icon packs (Filmstrip) I tried didn't have an image for Science Fiction. However, the fallback doesn't seem to work. If I just use $INFO[ListItem.Icon] in the control I will get the DefaultFolder.png image, but not with the helper fallback. I also tried fallback=$INFO{ListItem.Icon} in case it needed the curly brackets instead, but no dice.
Here's the code I'm using:
Code:
http://localhost:52307/getvarimage&title=$INFO{Skin.String(genre.icons.path)}$INFO[ListItem.Label,,.jpg]&fallback=$INFO[ListItem.Icon]
One of the genre icon packs (Filmstrip) I tried didn't have an image for Science Fiction. However, the fallback doesn't seem to work. If I just use $INFO[ListItem.Icon] in the control I will get the DefaultFolder.png image, but not with the helper fallback. I also tried fallback=$INFO{ListItem.Icon} in case it needed the curly brackets instead, but no dice.