I read the manual for creating syntaxes that came with foobar, and with my little programming experience I decided that I wanted something extra to my copy.
After numerous tries however I gave up; I can't get it to work properly.
$if(%artist%,%artist%,)$if(%album%, :: %album%,)
$if(%title%, :: %title%, :: %_filename_ext%)
$if(%artist%, :: %_time_remaining% 'of' %_time_total%, ':: Song has ended')
As you see, I lastly tried using the %artist% var since using for example %_time_total% resulted in:
Do As Infinity - Hi No Ataru Sakamichi :: Hi No Ataru Sakamichi -Single- :: 01-Hi No Ataru Sakamichi :: Song has ended
When I use the above code, it displays:
Do As Infinity - Hi No Ataru Sakamichi :: Hi No Ataru Sakamichi -Single- :: 01-Hi No Ataru Sakamichi :: ? of ?
Which I figured was atleast a *little* closer to the solution I was looking for.
Now, I've rtfm, tried making it out myself; so I guess this is my last shot: Can someone help me with this? The titleformat helpfile (foobar 0.7.0) states that %_time_remaining% and %_time_total% should be usable in the copy part. :/
Also, for next foobar release, could this be implemented to the tray aswell? Would be awesome to see how much one has left on the current song.
PS. I didn't post this in the wrong forum did I? I was choosing between general and support. DS.
EDIT: "Corrected" code a little