Kodi Community Forum

Full Version: Conditional visibility - folder is present
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have all music extrafanart stored in an extrafanart folder, what proper conditional visibility for a multiimage would I need that checks whether that folder exists or not?
(2015-11-13, 18:57)pwriesnik Wrote: [ -> ]I have all music extrafanart stored in an extrafanart folder, what proper conditional visibility for a multiimage would I need that checks whether that folder exists or not?

There is no visibilty condition to check for file existance....
If you want, you can use my skin helper script. it will lookup your extrafanart and fill a window property with the path if it's found on disk.

http://forum.kodi.tv/showthread.php?tid=235676
(2015-11-13, 21:17)marcelveldt Wrote: [ -> ]
(2015-11-13, 18:57)pwriesnik Wrote: [ -> ]I have all music extrafanart stored in an extrafanart folder, what proper conditional visibility for a multiimage would I need that checks whether that folder exists or not?

There is no visibilty condition to check for file existance....
If you want, you can use my skin helper script. it will lookup your extrafanart and fill a window property with the path if it's found on disk.

http://forum.kodi.tv/showthread.php?tid=235676

Thank you, is there a minimal working example?
See the readme:
https://github.com/marcelveldt/script.sk...er.service

1) enable the extrafanart scanner: Skin.SetBool(SkinHelper.EnableExtraFanart)

2) Use this as path on a multiimage control: $INFO[Window(Home).Property(SkinHelper.ExtraFanArtPath)]

That's all
Just to understand the way skin helper works: How does it know the path of the extrafanart?
(2015-11-19, 17:12)pwriesnik Wrote: [ -> ]Just to understand the way skin helper works: How does it know the path of the extrafanart?

It looks at the path of the songs, besides that it also has a builtin scraper