1) use $strcmp and incorporate in the TF string like this...
var tfo = fb.TitleFormat('%album% %date% %artist%^^$if($strcmp(%genre%,Clásica),$upper(%composer%),) %tracknumber%. %title%^^[%playback_time%]^^$if2(%length%,LIVE)');
2) That is not my original code. You've made a terrible edit so you should undo it or just re-install the component to restore the untouched files.
I want to thank you for your great help. You saved my life.
Thanks to your Indes my code was like this:
var tfo = fb.TitleFormat('$if($strcmp($cut(%genre%,7),Clásica),%album% %date% %artist%^^"$upper(%composer%)" ,%artist% %date% %album%^^)%tracknumber%. %title%^^[%playback_time%]^^$if2(%length%,LIVE)');
I also solved the matter of the buttons by installing version 3.1.17
Now I have the following problem:
- How can I write above and below Seekbar? (Image1)
If it is not to abuse much I would like the Album Art, when I select an artist from the Album List Panel and deposit its albumes in the playlist "Library view" the Panel shows instead of an empty image the cover corresponding to the first album of the playlist. (This is what Artwork View does)
I would also like to know if you have thought of programming a script to replace the obsolete Graphical Browser component and thus be able to complete my foobar 64-bit.
Thank you for reading this message and for keeping jscript_panel3.
Thanks to your component I am gradually building my 64-bit foobar version.