Since I have multiple file paths where is my album's covers and artist's pictures....
I have to dynamically configure each component specifying where to find this images.
To the playlist component I did this script:
CODE
$if($findfile($replace(%path%,%filename_ext%,folder.jpg)),
$puts(cover.path,$directory_path(%path%)/folder.jpg)
,
$if($findfile($replace(%path%,%filename_ext%,cover.jpg)),
$puts(cover.path,$directory_path(%path%)/cover.jpg),
$puts(cover.path,./images/ibiza/cover/nocover.png)
)
)
(works well)
To Chronflow component, i used it's own preference's interface to do the job, great!

To Graphical Browser I has used:
CODE
$if($findfile($replace(%path%,%filename_ext%,folder.jpg)),
$draw_image(25,48,$eval(%gb_width%-41),$eval(%gb_width%-41),$replace(%path%,%filename_ext%,folder.jpg),255,nokeepaspect),
$draw_image(25,48,$eval(%gb_width%-41),$eval(%gb_width%-41),$replace(%path%,%filename_ext%,cover.jpg),255,nokeepaspect)
)
In this case, if exists folder.jpg this one shold be used,
and just in case the folder.jpg doesn't exist, then use cover.jpg.
But that not happens, in practice, Graphic Browser aways use cover.jpg, and if cover.jpg does not exists, than no image is used.
I tried the equivalent with Panel Stack Splitter and the same happens.
Seems that $findfile function doesn't even exist... I didn't find any references.
But it works well with the playlist...
I'm trying to do this for some days, i thought myself that it wold be easy, but now i give up.
Sorry for my bad english, but someone can help me?
Thanks in advance.