Conditional visibility - folder is present
#1
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?
Reply
#2
(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
Reply
#3
(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?
Reply
#4
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
Reply
#5
Just to understand the way skin helper works: How does it know the path of the extrafanart?
Reply
#6
(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
Reply

Logout Mark Read Team Forum Stats Members Help
Conditional visibility - folder is present0