2015-07-17, 19:22
Is there a way to test if a specific artwork file is found so it can be used to determine whether to make a control is visible or not?
More specifically, I want to test if the cdart.png file is found in a directory containing music so I can choose between which of two different controls I will show. I can specify the path to the artwork with $INFO[Player.FolderPath]cdart.png. And I looked over the list of boolean conditions but can't figure out how to test if the file was actually found or not.
Any ideas how to do this? My apologies if this is a simple question. I am pretty new to Kodi skinning and am still pretty early in the learning curve.
Thanks,
More specifically, I want to test if the cdart.png file is found in a directory containing music so I can choose between which of two different controls I will show. I can specify the path to the artwork with $INFO[Player.FolderPath]cdart.png. And I looked over the list of boolean conditions but can't figure out how to test if the file was actually found or not.
Any ideas how to do this? My apologies if this is a simple question. I am pretty new to Kodi skinning and am still pretty early in the learning curve.
Thanks,