I just installt foobar and try to style it whit colums UI.
Now I tried to script a script, that only show a artist name ones if there are many tracks of this artist.
here is the script in the globals area:
CODE
$if($strcmp(%artist%,$get_global(ak_artist)),
$set_global(ak_artist_cnt, 2),
$set_global(ak_artist_cnt, 1)
$set_global(ak_artist, %artist%)
)
And here the colums area:
CODE
$select($get_global(ak_artist_cnt),
'|-'[%artist%]
,
' | '
)
I think the error is that he alway say that $strcmp is false, so he her set ak_artist_cnt = 1.
I print both in my script an ak_artist is ALLWAYS the same like %artist% so line 4 works, too.
Does anyone see a bug or is it impossible?
oh.. an sorry for my realy bad english!
greetz
MaSch
