Help - Search - Members - Calendar
Full Version: Foobar2000 format strings
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25
anza
QUOTE(Mike Giacomelli @ Apr 17 2003 - 09:40 AM)
Stefoufou:

I tried your playlist and a few others.  All of them only display the year in about 1 in 100 songs.  blink.gif

They worked fine in .586.  Any idea why they don't in .6?

Are you ABSOLUTELY sure that the files have the year stored in metadata? It's still the same %date% used, nothing has changed.. Or maybe you have the year stored in %year%, try using it instead of %date%?
Schinkentoni
new one for me, similar to smok3

CODE
$$if(%_isplaying%,0000BF|0000BF$num(%_playlist_number%,4)000000|000000|0000BF|0000BF%artist%949494..............................................................................
..............................................................................$repeat($char(9),3)FF8000|FF8000000000|000000|0000BF|0000BF%title%A6A6A6|A6A6A6$if(%album%, **%album%**,)949494.................................................................................
.................................................................................$repeat($char(9),7)FF8000|FF8000000000|000000|0000BF|0000BF$padcut(%__bitrate% kbps $if(%__extrainfo%,%__extrainfo%,),12) FF8000|FF8000000000|000000|0000BF|0000BF$num($div(%_length_seconds%,60),2):$num($mod(%_length_seconds%,60),2) Min.,0000BF|0000BF$num(%_playlist_number%,4)000000|000000|[%artist%]..............................................................................
..............................................................................$repeat($char(9),3)000000|000000|%title%A6A6A6|A6A6A6$if(%album%, **%album%**,)949494.................................................................................
.................................................................................$repeat($char(9),7)000000|000000|$padcut(%__bitrate% kbps $if(%__extrainfo%,%__extrainfo%,),12) 000000|000000|$num($div(%_length_seconds%,60),2):$num($mod(%_length_seconds%,60),2) Min.)



Playlist font: mono 0755
Stefoufou
QUOTE(Mike Giacomelli @ Apr 16 2003 - 10:40 PM)
Stefoufou:

I tried your playlist and a few others.  All of them only display the year in about 1 in 100 songs.  blink.gif

They worked fine in .586.  Any idea why they don't in .6?

i have not any problems... and i havent got no solutions for you :/
the code works perfectly with my foobar smile.gif
DotNoir
OK... Here's my modification to Mafiosos code... Using :
Playlist font : Sheldon at 8
Playlist text color : 00040
Playlist background color : 808080
Playlist selection color : 8080C3

CODE
//DotNoirs playlist modified from Mafiosos list. Lacks all comments and is a "work in progress"

$puts(x,Unknown Artist)
$puts(y,Unknown Album)

$if(%_isplaying%,> > > |,$num(%_playlist_number%,5) |)

$if($strcmp($num(%tracknumber%,2),'01'),FFFFFF|FFFFFF)
$if($strcmp($num(%tracknumber%,2),'01'),$puts(spacer,-),$puts(spacer, ))

$if(%tracknumber%,$cut($num(%tracknumber%,2),2),00) |

$cut($caps2($if2(%artist%,$get(x))),30)$repeat($get(spacer),$sub(30,$len($if2(%artist%,$get(x))))) |

$cut($caps2($if2(%album%,$get(y))),40)$repeat($get(spacer),$sub(40,$len($if2(%album%,$get(y))))) |

$cut($caps2($if2(%title%,%_filename%)),35)$repeat($get(spacer),$sub(35,$len($if2(%title%,%_filename%)))) |

$padcut_right(%_length%,7) |

$if(%_isplaying%,< ,)


Things still to do :
-Make the played track change the color (I know how to do this, but haven't done yet rolleyes.gif )
-Make the album and artist disappear after the first track in playlist (have been studying this thread, so shouldn't be too hard to do...)
-Write status bar and title bar codes...

Screenshot :
My current playlist
thetrivialstuff
ok, here's mine:
CODE

$if(%__replaygain_track_gain%,
$if(%__replaygain_album_gain%,
$if(%_isplaying%,908000|908000,408000|408000),
$if(%_isplaying%,800000|800000,000000|000000)
),
$if(%_isplaying%,800080|800080,707070|707070)
)


$num(%_playlist_number%,3).
 ['['%album% [D%disc%]#$num(%tracknumber%,2)']'  ]
[$if2(%artist%,%performer%) - ]$if2(%title%,%_filename_ext%)
 000000|000000%__samplerate%'Hz' %__channels%'-channel'
$num(%__bitrate%,3)'kbps' $ext(%_filename_ext%)
 $if($or($stricmp('w',$left(%_path%,1)),$stricmp('r',$left(%_path%,1))),'?')
$if($stricmp('M:\!Mounted CD',$left(%_path%,14)),'??')
000000|000000%_length%


that Mounted CD thing probably won't be much use off my system, but basically i have a folder that i copy songs to when I regain interest in them after putting them on CD.. since a lot of this just shows whether tracks have replaygain info or not, I needed to mark those songs somehow to avoid wasting the effort of scanning them twice. I also needed to mark stuff on cd (the if string compare w or r bit), to make sure it didn't get inadvertently removed from the database by a 'remove dead entries'.

I also made a sorting string that might be of interest:
CODE
[ÿ$directory(%path%,8) ][ÿ$directory(%path%,7) ][ÿ$directory(%path%,6) ]
[ÿ$directory(%_path%,5) ][ÿ$directory(%_path%,4) ][ÿ$directory(%_path%,3) ]
[ÿ$directory(%_path%,2) ][ÿ$directory(%_path%,1)] %_filename_ext%

it does a real 'sort by file path' (groups directories and sub-dirs rather than scattering them all over the place). the little y-like character is character 255, to ensure that directories get sent below the files... make it a ! or a space or something if you want directories first. and yea i know there's probably a much more efficient way to do that with repeat functions, but I figured since cd's only allow 8 sub-dirs (if you're not cheating) it didn't matter much :P

on that note, can anyone tell me why the output of
CODE
$put(blah,8)
$repeat(
$put(
blah,$sub($get(blah),1)
)
,7)

is '87777777' and not '87654321'? is this a bug or am I just dumb? :P
Bushwack
QUOTE(thetrivialstuff @ Apr 19 2003 - 12:22 PM)
on that note, can anyone tell me why the output of
CODE
$put(blah,8)
$repeat(
$put(
blah,$sub($get(blah),1)
)
,7)

is '87777777' and not '87654321'? is this a bug or am I just dumb? tongue.gif

Sadly that's the programmed behaviour, if the output was '87654321' then string formatting would be extemly powerful (ie: pretty much a complete programming language) unfortunatly most people are not capable of taming such power so string formatting has been limited.
thetrivialstuff
nuts
Curi0us_George
QUOTE(thetrivialstuff @ Apr 19 2003 - 12:22 PM)
on that note, can anyone tell me why the output of
CODE
$put(blah,8)
$repeat(
$put(
blah,$sub($get(blah),1)
)
,7)

is '87777777' and not '87654321'? is this a bug or am I just dumb? tongue.gif

Because "$sub" returns the difference of the two arguments. It doesn't modify the first argument.
thetrivialstuff
QUOTE(Curi0us_George @ Apr 19 2003 - 02:44 PM)
QUOTE(thetrivialstuff @ Apr 19 2003 - 12:22 PM)
on that note, can anyone tell me why the output of
CODE
$put(blah,8)
$repeat(
$put(
blah,$sub($get(blah),1)
)
,7)

is '87777777' and not '87654321'? is this a bug or am I just dumb? :P

Because "$sub" returns the difference of the two arguments. It doesn't modify the first argument.

but that's what the $put is for.. why doesn't the $put take the output of the $sub and stick it in the variable blah?
Curi0us_George
I think Peter said something about that a while back. Variables are only asigned the first time. They cannot be reassigned. i.e. blah will always be 8.
DotNoir
OK... now this is getting a bit ready =) Still lacking comments ;P

My current playlist

CODE
//DotNoirs playlist modified from Mafiosos list. Lacks all comments and is a "work in progress"

$puts(x,Unknown Artist)
$puts(y,Unknown Album)

$if($strcmp($num(%tracknumber%,2),'01'),FFFFFF|FFFFFF)
$if($strcmp($num(%tracknumber%,2),'01'),$puts(spacer,-),$puts(spacer, ))

$if(%_isplaying%,4000400080FF)

$if(%_isplaying%,> > > | ,$num(%_playlist_number%,5) | )

$ifgreater(%tracknumber%, 1,$repeat( ,30)| ,$cut($caps2($if2(%artist%,$get(x))),30)$repeat($get(spacer),$sub(30,$len($if2(%artist%,$get(x)))))| )

$ifgreater(%tracknumber%, 1,$repeat( ,30)| ,$cut($caps2($if2(%album%,$get(y))),30)$repeat($get(spacer),$sub(30,$len($if2(%album%,$get(y)))))| )

$if(%tracknumber%,$cut($num(%tracknumber%,2),2),00) :

$cut($caps2($if2(%title%,%_filename%)),35)$repeat($get(spacer),$sub(35,$len($if2(%title%,%_filename%))))|

$padcut_right($num($div(%_length_seconds%,60,60),2):$num($div(%_length_seconds%,60),2):$num($mod(%_length_seconds%,60),2),8) |

'['$pad_right(%__bitrate%/$div(%__samplerate%,1000),6)']'

$if(%_isplaying%,< ,)
kode54
QUOTE(Curi0us_George @ Apr 19 2003 - 01:53 PM)
I think Peter said something about that a while back.  Variables are only asigned the first time.  They cannot be reassigned.  i.e. blah will always be 8.

Actually, the limitation is that $put() will store the evaluated results, not the enclosed script code, so it will not be re-evaluated for every repetition. I don't think Peter intends to open the script system to any recursive functions or looping whatsoever.
nexus
user posted image

Playlist:

QUOTE
// ------------- playlist ------------------- //
// -------- courier new, bold, 9 ------- //

$puts(plscol,ff9900|000000)
$puts(plsabb,ffffff|000000)

$if(%_isplaying%,$get(plscol)$char(9835),$char(32))$char(32)

$if($num(%_playlist_number%,4),$if(%_isplaying%,$get(plscol),)
$abbr($num(%_playlist_number%,4)).$char(32)$get(plsabb))

$if(%artist%,$if(%_isplaying%,$get(plscol),)
$padcut(%artist%,24)$get(plsabb))

$if(%title%,$if(%_isplaying%,$get(plscol),)
$char(32)$char(7)$char(32)$abbr(%title%,70)$get(plsabb))

$char(9)$if(%_length%,$if(%_isplaying%,$get(plscol),)
$abbr(%_length%,5)$get(plsabb))

$char(32)$if(%_isplaying%,$get(plscol)$char(17),$char(32))



Status Bar:

QUOTE
// ------------- status ------------------- //
// --------- tahoma, bold, 8 ---------- //

$puts(stscol,4f4f2f)
$puts(dtime,$get(stscol)

$if2(-%_time_remaining%,%_time_elapsed%))

$substr(%_foobar2000_version%,11,12)
$substr(%_foobar2000_version%,13,15).
$substr(%_foobar2000_version%,22,24)$char(32)

$upper($ext(%_filename_ext%))|

$if($strstr(%_path_raw%,'cdda://'),'Audio CD'|,)
$if($strstr(%_path_raw%,'http://'),'Stream'|)
%__bitrate%k|$div(%__samplerate%,1000)k|

$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,
$ifgreater(%__channels%,1,$char(8734),'o')),)

$puts(povl,$sub(32,$len($get(stscol))))
$puts(pbar,$get(stscol)$char(5)$progress2(%_time_elapsed_seconds%,
%_time_total_seconds%,$get(povl),$char(9608),$char(9620))$char(5)
$num($div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%),2)'%')
$if(%_time_total_seconds%,$puts(pbdis,$get(pbar)),)

$char(32)$get(stscol)$char(9)$get(pbdis)$char(9)$get(dtime)$char(32)



Windows Title:

QUOTE
$char(9738)$char(32)
%artist% - %title%



System Tray:

QUOTE
%title%




Copy Command:

QUOTE
%artist% - %title%



Playlist Text Color: White
Playlist Background Color: Black
Playlist Selection Color: RGB: 243,243,243
Selected Item Frame Color: RBG: 236,233,216
File Info Font: Courier New, Style: Regular, Size: 10
Transparency: about 15%

I'm Using the Unicode Version v0.6.23 with WindowsXP Pro.
:-)

Enjoy Everybody.

foobar2000 0.6.23 on my desktop, with transparency
Max
I have an Question:

Ive made this Status Bar with an few TitleFormatings from this thread but i have an Problem:

CODE

// Ani Fooooobaar
8000FF=>
$get(BR_C)$select($add($mod(%_time_elapsed_seconds%,12),1),
'f',
'fo',
'foo',
'foob',
'fooba',
'foobar',
'fooba',
'foob',
'foo',
'fo',
'f',
' ')
8000FF
<=
// -------------  tech info ------------------- //

// file extension if any
$puts(EXT,$upper($ext(%_filename_ext%)))

// store tech info in TD variable
$puts(TD,$char(3)4f4f2f$char(3)

// display extenstion if any

$ifgreater($len($get(EXT)),0,$get(EXT)|,)

// stream
$if($strstr(%_path_raw%,'http://'),'stream|')

// CD
$if($strstr(%_path_raw%,'cdda://'),'Compact Disc Digital Audio',)

// MPC file - get profile
$if($stricmp($get(EXT),'MPC'),
$cut($substr(%__mpc_profile%,2,$sub($len(%__mpc_profile%),1)),10)|
,)

// Ogg file - get codec
$if($stricmp($get(EXT),'OGG'),%__codec%|,)

// bitrate
[%__bitrate%k|]

// samplerate in kHz
[$div(%__samplerate%,1000)k|]

// number of channels
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,
$ifgreater(%__channels%,1,$char(8734),'o')),)
$char(3)$char(3))$char(9)

// -----------  end of tech info ---------------- //

// ---------------  done - display status bar ------------------//

$char(32)$get(TD)$char(9)$get(PR)$char(9)$get(RT)$char(32)
$char(9)
'{'$progress(%_time_elapsed_seconds%,%_time_total_seconds%,30,0000FF'||','|')'}'  %_time_elapsed%





The Problem is that the "// ------------- tech info ------------------- //" moves with the "// Ani Fooooobaar"

How can i stop that?
Frank Bicking
Change it to:
CODE
// Ani Fooooobaar
8000FF=>
$get(BR_C)$select($add($mod(%_time_elapsed_seconds%,12),1),
'f',
'fo',
'foo',
'foob',
'fooba',
'foobar',
'fooba',
'foob',
'foo',
'fo',
'f',
)
8000FF
<=
E3DFE0
$get(BR_C)$select($add($mod(%_time_elapsed_seconds%,12),1),
'oobar',
'obar',
'bar',
'ar',
'r',
,
'r',
'ar',
'bar',
'obar',
'oobar',
'foobar')
E3DFE0

// -------------  tech info ------------------- //

// file extension if any
$puts(EXT,$upper($ext(%_filename_ext%)))

// store tech info in TD variable
$puts(TD,$char(3)4f4f2f$char(3)

// display extenstion if any

$ifgreater($len($get(EXT)),0,$get(EXT)|,)

// stream
$if($strstr(%_path_raw%,'http://'),'stream|')

// CD
$if($strstr(%_path_raw%,'cdda://'),'Compact Disc Digital Audio',)

// MPC file - get profile
$if($stricmp($get(EXT),'MPC'),
$cut($substr(%__mpc_profile%,2,$sub($len(%__mpc_profile%),1)),10)|
,)

// Ogg file - get codec
$if($stricmp($get(EXT),'OGG'),%__codec%|,)

// bitrate
[%__bitrate%k|]

// samplerate in kHz
[$div(%__samplerate%,1000)k|]

// number of channels
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,
$ifgreater(%__channels%,1,$char(8734),'o')),)
$char(3)$char(3))$char(9)

// -----------  end of tech info ---------------- //
$char(9)
// ---------------  done - display status bar ------------------//

$char(32)$get(TD)$char(9)$get(PR)$char(9)$get(RT)$char(32)
$char(9)
'{'$progress(%_time_elapsed_seconds%,%_time_total_seconds%,30,0000FF'||','|')'}'  %_time_elapsed%

Just change the E3DFE0 to your window color.
flloyd
DotNoir, I love that you were able to get foobar to only show the album and artist on the first song. Please keep us updated as you change your settings. Thanks.
anishbenji
Here is my foobar setup

user posted image

I just resized the window to only show the file menu and the status bar. The only thing I wish
I could change would be to be able to use wingdings font for the player controls, but that is a
minor point.

The font for the status bar is profontwindows and the code is:

QUOTE
[$upper($ext(%_filename_ext%))]
[|%__bitrate%k]
[|$div(%__samplerate%,1000)kHz]
$if(%__channels%,
$ifgreater(%__channels%,
2,%__channels%ch,$ifgreater(%__channels%,1,'²','¹')) ,)
$if(%_time_total_seconds%,
'('$progress(%_time_elapsed_seconds%,%_time_total_seconds%,40,'•','—')')',) 
$if2(-%_time_remaining%,%_time_elapsed%)[/%_time_total%]


Thanks to all who's ideas were used in the making of this interface

Edit: I just noticed that the volume is -8.75 db. As it turned out, it was due to foo_utfS. I had just tried out that interface and had changed the volume using it and then switched back to mine. smile.gif
nuhi
I updated my tree like playlist.
Font Terminal on both, playlist and status bar, a MUST.

//Playlist
$puts(pl,$if(%_isplaying%,CCCCCC|CCCCCC,F0A300|F0A300))
$puts(bl,620000|620000)
$get(bl)$if(%_isplaying%,$char(16),$char(32))
$ifgreater(%tracknumber%,1,
$repeat(' ',$len( %artist%))
$repeat(' ',$len( $abbr([%album%],40))),
F0A300|F0A300[$caps( %artist%)]
$get(bl)$caps($abbr([ %album%],40)))
$get(bl)$if(%title%,
$if(%tracknumber%,$ifgreater(%tracknumber%,1,$char(258)'-',$char(194)'-'))
[$num(%tracknumber%,2)]$get(pl)$caps( %title%),
$get(pl)$caps( %_filename%))
$char(9)
$get(bl)$get(pl)%_length%$get(bl)'min'
$get(bl)$char(322)$get(pl)$num(%__bitrate%,3)$get(bl)'kbps'
$get(bl)$char(322)$get(pl)$cut(%__samplerate%,2)$get(bl)'khz'
$get(bl)$if(%_isplaying%,$char(17),$char(32))

//Status Bar
$char(9)620000$char(368) %_time_elapsed%
$progress(%_time_elapsed_seconds%,%_time_total_seconds%,100,$char(355),
$char(368)) $div($sub(%_time_total_seconds%,%_time_elapsed_seconds%),60)
:$num($mod($sub(%_time_total_seconds%,%_time_elapsed_seconds%),60),2) $char(368)
$char(9)$if(%_ispaused%,paused,playing) $if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,stereo,mono)),) $ext(%_path%)
stripe
I have all my music organized into directories by artist, and wanted to have some kind of visual clue to differentiate between artists... ideally it would just alternate colors between artists or have some kind of separation bar, but this is the best I could come up with:
CODE
$put(x,$right($mul($len(%_directoryname%),3),1))$get(x)$get(x)$get(x)$get(x)$get(x)

stripe
DotNoir
QUOTE(flloyd @ Apr 21 2003 - 03:12 PM)
DotNoir, I love that you were able to get foobar to only show the album and artist on the first song. Please keep us updated as you change your settings. Thanks.

Well... This wasn't my own thing... Sobody said how to do it in this thread and I thought that it was cool, so I built the playlist on that... smile.gif But thanks for the comments.
igorsanches
Ok, here's my stuff... (keep it simple stupid!)

screenshot: here

note: 'b' indicates low bitrate and 's' low samplerate, |unknown| for missing fields

QUOTE
PLAYLIST:
$put(isplaying_color,FFFFFF|FFFFFF)
$put(normal_color,AAAAAA|000000)
$put(title_color,DDDDDD|000000)
$put(accepted_color,00DDDD|000000)
$put(bad_color,0000DD|000000)

$if(%_isplaying%,$get(isplaying_color),$get(normal_color))

%_playlist_number%: 

$if(%title%,

$if(%artist%,%artist%,$get(bad_color)|unknown|)
$if(%_isplaying%,$get(isplaying_color),$get(normal_color))
-
$if(%album%,%album%,$get(bad_color)|unknown|)
$if(%_isplaying%,$get(isplaying_color),$get(normal_color))
-
$if(%_isplaying%,,$get(title_color))
$if(%tracknumber%,$num(%tracknumber%,2),$get(bad_color)|?|)
$if(%_isplaying%,$get(isplaying_color),$get(normal_color))
$if(%_isplaying%,,$get(title_color))
-
%title%
,
$get(bad_color)%_filename%
$if(%_isplaying%,$get(isplaying_color),$get(normal_color)))

$char(9)
$ifgreater(%__bitrate%,170,,
$ifgreater(%__bitrate%,128,$get(accepted_color),$get(bad_color))b)
$ifgreater(%__samplerate%,44000,,$get(bad_color)s)
$if(%_isplaying%,$get(isplaying_color),$get(normal_color))

[$if(%_isplaying%,$get(isplaying_color),)%_length%]


COPY COMMAND:
$if(%title%,

$if(%artist%,%artist%,|unknown|)
-
$if(%album%,%album%,|unknown|)
-
$if(%tracknumber%,$num(%tracknumber%,2),|?|)
-
%title%
,%_filename%)



SYSTEM TRAY:
$if(%title%,

$if(%artist%,%artist%,|unknown|)
-
$if(%album%,%album%,|unknown|)
-
$if(%tracknumber%,$num(%tracknumber%,2),|?|)
-
%title%
,%_filename%)


WINDOW TITLE:
$if(%title%,

%title%
-
$if(%tracknumber%,$num(%tracknumber%,2),|?|)
-
$if(%album%,%album%,|unknown|)
-
$if(%artist%,%artist%,|unknown|)
,%_filename%)


STATUS BAR:
[%__codec%]
[ %__bitrate%Kbps [%__extrainfo%]]
[ $div(%__samplerate%,1000)KHz]
$if(%__channels%,
$ifgreater(%__channels%,2,
%__channels%ch,
$ifgreater(%__channels%,1,'(stereo)','(mono)')) ,)

$char(9)
$if(%_time_total_seconds%,'('
$div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%)'%)',)  
[%_time_elapsed%][ / %_time_total%]
Bushwack
stripe what you'll want to do is hash the %artist% or %_directoryname% or $replace(%_path%,\%_filename_ext%,)) field depending on your music collection.

Check out this sorting string or this thread to see a simple way to hash a field, sould be easy to modify to fit your needs.
stripe
Bushwack: thanks, but is there no way to make it alternate between just two colors? I'm not sure if I fully understood the code in the threads you provided but it looked like just a much more complicated way of doing what I did with my one line of code. Since there's no way to carry over variables the only way of doing truly alternating colors seems like it would need to somehow figure out where each directory was with reference to an absolute alphabetical ordering of all the directories... but I doubt that is possible either. This would much easier if there were just one variable that carried over from previous entries.

(my situation is that I have all my songs organized by artist into directories, and all those directories in one big one)

Also, my 700mhz computer scrolls noticeably slower if more code is used in the playlist...

stripe/ben
TurinsRevenge
Not elegant, but if you added a number or specific character to either the track's tech info or the directory name you could change color based on that:

i.e. Red on R, green on G

c:\music\rolling_stones_R\
c:\music\mozart_G\
c:\music\Black_Sabbath_R\

later, if you add a new directory in the middle, you'd have to change the letter of 1 directory name

You'd also be able to strip it out easily since it's always the last 2 characters.

Not pretty, and very crude, but it would only be one small $if statement to detect and change color
Bushwack
Sorry I didn't see the alternate between just two colours part. Hashing the atrist field will give you an unique colour for every artist, but I can't think of a way to alternate between only 2 colours.
pootify
foobar screenshot (high res)

not so much programming innovation, just clean color scheme. also made slight modification to just show artist - title if no album info is present, instead of the (imho) ugly "???" tag. the playlist code is modified from ranor's, the status bar is someone else's in this thread biggrin.gif. also took out the mp3pro indication code since i didn't have any mp3pros, hee. i was going for slim.

CODE

//PLAYLIST
//make playlist number black if playing
$if(%_isplaying%,000000|000000>>>>,FFFFFF|FFFFFF$num(%_playlist_number%,3).)

0000FF|0000FFù

// if playing make orange
$if(%_isplaying%,
// artist
27ABFF|27ABFF%artist%
// separator
0000FF|0000FF ù

//show album and track if tags exist else just show title
$if(%album%,
// album
27ABFF|27ABFF %album% '('%date%')'
// separator
0000FF|0000FF ù
// title
27ABFF|27ABFF $num(%tracknumber%,2).,) 27ABFF|27ABFF%title%
// length
$char(9)27ABFF|27ABFF%_length%,

// else if not playing make black and white
// artist
000000|000000%artist%

$if(%album%,
// separator
0000FF|0000FF ù
//show album and track if tags exist else just show title
000000|000000$if(%album%,$abbr(%album%,30),) $if(%date%,'('%date%')'
// separator
0000FF|0000FF ù ,)
// title
FFFFFF|FFFFFF
$if(%tracknumber%,$num(%tracknumber%,2). ,),0000FF|0000FF ù )FFFFFF|FFFFFF%title%
// length
$char(9)FFFFFF|FFFFFF%_length%)


playlist background color - R: 103 G: 126 B: 100
playlist selection color - R: 132 G: 156 B: 128
selected item frame - black
playlist font - lime (you can find it in the earlier pages of this thread)

oh, and i used the ° symbol in the track progress bar because i think that looks neater biggrin.gif
maus
QUOTE(stripe @ Apr 22 2003 - 03:31 PM)
but is there no way to make it alternate between just two colors?  I

Sure there is

$mod(%_playlist_number%,2)




So, you could do something like:
CODE
$if($strcmp($mod(%_playlist_number%,2),1),$rgb(0,255,0)green!,$rgb(0,0,255)blue!)
superdumprob
Playlist:

CODE
//playlist number

$num(%_playlist_number%,3)000080|000080'|'

//general info

%artist% 000080|000080'['%album% 000080|000080'#'$num(%tracknumber%,2)000080|000080']' %title%

//playing/replaygain check

$char(9)$if(%_isplaying%,04CDDD|04CDDD ● ,$if($info(replaygain_track_peak),4080FF|4080FF ● ,0044D2|0044D2 ● ))

//compression format

[$upper($pad_right($ext(%_filename_ext%),4))

//bitrate

$pad_right($info(bitrate),4)  

//length mm:ss

$num($div(%_length_seconds%,60),2):$num($mod(%_length_seconds%,60),2)]


Status Bar:

CODE
$upper($ext(%_filename_ext%))
[%__bitrate%kbps ][%__samplerate%Hz]
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,Stereo,Mono)),)

$char(9)
000080'['$progress2(%_time_elapsed_seconds%,%_time_total_seconds%,30,'●',)
000080'|:B|'
$progress2(%_time_elapsed_seconds%,%_time_total_seconds%,30,,808080'●')000080']'

'['-%_time_remaining%000080']'


All fonts: Tahoma, Regular, 8. (Windows 2000 Unicode version)
Playlist Font Colour: RGB 221,221,221
Playlist Background Colour: RGB 128,128,128
Playlist Selection Colour: 170,170,170
Playlist Selection Item Frame Colour: RGB 0,0,0

Well that's mine, try it out, see what you think. I'll see if I can get a picture posted in a bit... smile.gif

EDIT: The '●'s are filled circles, unicode character 25CF. I don't think $char() unicode characters work in the status bar. THey don't seem to for that character anyway.
Rommel
updated (more simple)

playlist:
CODE
$if(%_isplaying%,0080FF|000000$num(%_playlist_number%,3).  %artist%  '['%album% - ''%date% - CD%disc%#$num(%tracknumber%,2) - $pad_right(%_length%,5)']'  %title%,808080$num(%_playlist_number%,3).  %artist%  808080'['%album% - ''%date% - CD%disc%#$num(%tracknumber%,2) - $pad_right(%_length%,5)']'  %title%)


status bar:
CODE
%artist% - %title% '['$upper($ext(%_filename_ext%))[ - %__bitrate%kbps][ - %__extrainfo%][ - %__channels%ch][ - $div(%__samplerate%,1000)kHz]']'   '['$progress2(%_time_elapsed_seconds%,%_time_total_seconds%,50,|,C0C0C0|)']'   '['[%_time_elapsed%]/[%_time_total%]']'


screenshot
Max
QUOTE(pootify @ Apr 22 2003 - 09:27 PM)
foobar screenshot (high res)

Whats the name of the Programm where you can see, CPU temp and Down/Up stream Etc. you have on your Desktop??


Thx a Lot
TurinsRevenge
The ones I know of are Samurize and CoolMon. They're both free. If you have Norton System Works, then System Doctor can also do it. I've used all three and they're all very good. I prefer Samurize closely followed by CoolMon and then System Doctor.

But looking at your screen shot, you already seem to have one of them wink.gif
Max
QUOTE(TurinsRevenge @ Apr 24 2003 - 05:23 PM)
The ones I know of are Samurize and CoolMon.  They're both free. If you have Norton System Works, then  System Doctor can also do it.  I've used all three and they're all very good.  I prefer Samurize closely followed by CoolMon and then System Doctor.

But looking at your screen shot, you already seem to have one of them wink.gif

blink.gif???
penvzila
How do you make only the window content transparent?
smok3
QUOTE(Max @ Apr 25 2003 - 03:34 AM)
blink.gif???

http://coolmon.arsware.org/
cyborg
I have a problem. I tried to make the status bar show songs codec (Vorbis, MP3, Musepack, etc) and it worked, but not in APE files. My format string is supposed to show the songs codec and if the decoder doesn't report it, then it shows the songs file extension. Here is my format string:

Status bar:

$puts(extension,$upper($ext(%_filename_ext%)))
$puts(packer,$caps2($info(codec)))
$abbr($if(%album%,%album%,Unknown album),69) <> [$if($get(packer),$get(packer),$get(extension)) ] [0000FF[%__bitrate%] kbps] [FF0000$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) kHz] 6C00D9$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,stereo,mono)) ,)[%__extrainfo%] <> %_time_elapsed% <> $num($div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%),1) '%'

When I play APE files, it doesn't show the codec or the file extension, why not? Have I made something wrong or is it a bug in fb2k? I'm using foobar2000 v0.6 in Win98SE.
TurinsRevenge
QUOTE
blink.gif


The bottom right hand side text is similar to what Samurize or CoolMon could provide.

Samurize
pootify
yep, it's coolmon. but comment on my foobar scheme! heh
Max
THX
Max
Playlist:

CODE

$puts(separator,$if(%_isplaying%,DC0C35|8000FF=->,- ))
D7C148|FFFFFF$num(%_playlist_number%,4)FFFFFF'|'
48C5D7|FFFFFF$get(maincol)$padcut_right($if(%tracknumber%,$num(%tracknumber%,2),'XX'),2)887B81|FFFFFFFFFFFF'|'
0000F4|FFFFFF$get(maincol)$if(%_isplaying%,DC0C35|8000FF=-> ,  )
$get(maincol)$padcut($if(%artist%,%artist%,'Unknown Artist'),50)' '
0500C4|FFFFFF$get(sidecol)$get(separator)' '
EACD44|FFFFFF$get(mancol)$padcut($if(%album%,%album%,'Unknown Album'),70)' '
0500C4|FFFFFF$get(sidecol)$get(separator)' '
0000F4|FFFFFF$if(%title%,%title%,%_filename_ext%)' '
$char(9)$get(sidecol)
42D22D|FFFFFF0000F4|FFFFFF'|'42D22D|FFFFFF$get(maincol)$padcut_right($if(%date%,%date%,'0000'),4)
0000F4|FFFFFF'|'42D22D|FFFFFF$get(maincol)$num(%__bitrate%,3)0000F4|FFFFFF'|'42D22D|FFFFFF$upper($ext(%_path%))0000F4|FFFFFF'|'42D22D|FFFFFF$get(maincol)$padcut_right(%_length%,5)


Staus Bar:

CODE

// Ani Fooooobaar
8000FF
$get(BR_C)$select($add($mod(%_time_elapsed_seconds%,12),1),
'R',
'Ri',
'Rip',
'RipR',
'RipRE',
'RipREX',
'RipRE',
'RipR',
'Rip',
'Ri',
'R',
)
8000FF

0000FF
$get(BR_C)$select($add($mod(%_time_elapsed_seconds%,12),1),
'ipREX',
'pREX',
'REX',
'EX',
'X',
,
'X',
'EX',
'REX',
'pREX',
'ipREX',
'RipREX')
E3DFE0
// -------------  tech info ------------------- //
// file extension if any
$puts(EXT,$upper($ext(%_filename_ext%)))
// store tech info in TD variable
$puts(TD,$char(3)4f4f2f$char(3)
// display extenstion if any
$ifgreater($len($get(EXT)),0,$get(EXT)|,)
// stream
$if($strstr(%_path_raw%,'http://'),'stream|')
// CD
$if($strstr(%_path_raw%,'cdda://'),'Compact Disc Digital Audio',)
// MPC file - get profile
$if($stricmp($get(EXT),'MPC'),
$cut($substr(%__mpc_profile%,2,$sub($len(%__mpc_profile%),1)),10)|
,)
// Ogg file - get codec
$if($stricmp($get(EXT),'OGG'),%__codec%|,)
// bitrate
[%__bitrate%k|]
// samplerate in kHz
[$div(%__samplerate%,1000)k|]
// number of channels
$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,
$ifgreater(%__channels%,1,$char(8734),'o')),)
$char(3)$char(3))
// -----------  end of tech info ---------------- //
// ---------------  done - display status bar ------------------//
$char(32)$get(TD)$char(9)$get(PR)$char(9)$get(RT)$char(32)
$char(9)
'{'$progress(%_time_elapsed_seconds%,%_time_total_seconds%,30,0000FF'|','l')'}'  %_time_elapsed%
anza
My new formatting on my site.
Looks like this:
user posted image
leland
skibbi - i shamelessly stole your code, but when I have albums of different length titles, the pipes between album and song names don't appear...

years don't come up either. they're in my id3 tags, too...

I think I'll need to go through the documentation now... ;-) I know, I know RTFM. In any event, just wanted to pay the compliment and say I liked it a lot; as well as the one playlist that highlighted the first track of every album in the playlist...pretty sweet idea

now to go do it
superdumprob
Cyborg:

QUOTE
I have a problem. I tried to make the status bar show songs codec (Vorbis, MP3, Musepack, etc) and it worked, but not in APE files. My format string is supposed to show the songs codec and if the decoder doesn't report it, then it shows the songs file extension. Here is my format string:

Status bar:

$puts(extension,$upper($ext(%_filename_ext%)))
$puts(packer,$caps2($info(codec)))
$abbr($if(%album%,%album%,Unknown album),69) <> [$if($get(packer),$get(packer),$get(extension)) ] [0000FF[%__bitrate%] kbps] [FF0000$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) kHz] 6C00D9$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,stereo,mono)) ,)[%__extrainfo%] <> %_time_elapsed% <> $num($div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%),1) '%'

When I play APE files, it doesn't show the codec or the file extension, why not? Have I made something wrong or is it a bug in fb2k? I'm using foobar2000 v0.6 in Win98SE.


I'm not sure why but instead of using $puts() for the extension and codec, if you just put them in the corresponding $if() string it works fine. Maybe it has something to do with using...

CODE
$if($caps2($info(codec)),$caps2($info(codec)),$upper($ext(%_filename_ext%)))


...instead of...

CODE
$if($info(codec),$caps2($info(codec)),$upper($ext(%_filename_ext%)))


The latter of which works. It displays "APE" now at least (as there doesn't appear to be a codec=~ field put in by the mac encoder i used to test one file for you! tee hee) and it does actually make the string slightly shorter which is the whole idea of $puts() as far as i can tell. Oh well. Enjoy. smile.gif
nexus
Ok guys, that's what i'm using right now, for now i like it...
few code changes since my last post...

user posted image

Playlist
QUOTE
// ------------- playlist ------------------- //
// -------- courier new, bold, 9 ------- //

$puts(plscol,ff9900|000000)
$puts(plsabb,ffffff|000000)

$if(%_isplaying%,$get(plscol)$char(9835),$char(32))$char(32)

$if($num(%_playlist_number%,4),$if(%_isplaying%,$get(plscol),)
$abbr($num(%_playlist_number%,4)).$char(32)$get(plsabb))

$if(%artist%,$if(%_isplaying%,$get(plscol))
$padcut(%artist%,24)$get(plsabb))

$if(%artist%,,%_filename%)
$if(%title%,,)

$if(%title%,$if(%_isplaying%,$get(plscol),)
$char(32)$char(7)$char(32)$abbr(%title%,70)$get(plsabb))

$char(9)$if(%_length%,$if(%_isplaying%,$get(plscol),)
$abbr(%_length%,5)$get(plsabb))

$char(32)$if(%_isplaying%,$get(plscol)$char(17),$char(32))



System Tray
QUOTE
%title%
$if(%title%,,%_filename%)



Windows Title
QUOTE
$char(9738)$char(32)
%artist% - %title%
$if(%artist%,,%_filename%)
$if(%title%,,)$char(32)
$if(%year%,'('%year%')')



Status Bar
QUOTE
// ------------- status ------------------- //
// --------- tahoma, bold, 8 ---------- //

$puts(stscol,4f4f2f)
$puts(dtime,$get(stscol)

$if2(-%_time_remaining%,%_time_elapsed%))

$substr(%_foobar2000_version%,11,12)
$substr(%_foobar2000_version%,13,15)
$if($substr.(%_foobar2000_version%,22,24),)$char(32)

$upper($ext(%_filename_ext%))|

$if($strstr(%_path_raw%,'cdda://'),'Audio CD'|,)
$if($strstr(%_path_raw%,'http://'),'Stream'|)
%__bitrate%k|$div(%__samplerate%,1000)k|

$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,
$ifgreater(%__channels%,1,$char(8734),'o')),)

$puts(povl,$sub(32,$len($get(stscol))))
$puts(pbar,$get(stscol)$char(5)$progress2(%_time_elapsed_seconds%,
%_time_total_seconds%,$get(povl),$char(9608),$char(9620))$char(5)
$num($div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%),2)'%')
$if(%_time_total_seconds%,$puts(pbdis,$get(pbar)),)

$char(32)$get(stscol)$char(9)
$if(%year%,$char(32)$char(39)$right(%year%,2))
$get(pbdis)$char(9)$get(dtime)$char(32)



Copy Command
QUOTE
%artist% - %title%
$if(%artist%,,%_filename%)
$if(%title%,,)



Playlist Text Color: White
Playlist Background Color: Black
Playlist Selection Color: RGB: 243,243,243
Selected Item Frame Color: RBG: 236,233,216
File Info Font: Courier New, Style: Regular, Size: 10
Transparency: About 15%

Windows XP Pro, foobar2000 v0.6 final.

And check this HI-RES image of foobar on my desktop !!! (Click Here)
Dr. Strangelove
nexus, I love your strings and have pretty much based all my foobar strings from yours. One thing I did notice and you may want to change is that when a song is 10:00 or longer, the time shows up merely as "1". I just changed the line:
CODE
$char(9)$if(%_length%,$if(%_isplaying%,$get(plscol),)
$abbr(%_length%,5)$get(plsabb))
to
CODE
$char(9)$if(%_length%,$if(%_isplaying%,$get(plscol),)
$abbr(%_length%,6)$get(plsabb))


Everything is great now! Thanks for the great strings guys!
nexus
thanks dude smile.gif I changed it too.
btw, i just removed this line from the title window:
QUOTE
$if(%year%,'('%year%')')

i think it's better now, anyway i can see the year at the left side of the progress bar smile.gif
cyborg
Thank you for your help, superdumprob!
c-a
This is what I'm using for now. The code is mostly edited stuff grabbed from this forum.
Also tested with 2 byte languages, works fine.

Screenshot

Playlist

CODE

// Can be used with almost any type of font
// Recommended Asian Fonts : MS PGothic 8 (Japanese) , Gulim 8 (Korean)
// Recommended Western Fonts : Verdana 7 , Tahoma 8 , Arial 8 , MS Sans Serif 8
// PLAYLIST FONT DOES NOT HAVE TO BE MONOTYPED

$puts(opchar,808080 '[')
$puts(clchar,808080']')

// Show play status indicator (Note)
$if(%_isplaying%,AA00FF$char(9835),000000$char(9835))

// Playlist number
$get(opchar)00FFFF$num(%_playlist_number%,4)$get(clchar)

// Show directory information (I prefer sorting albums by directory than ID3)
$get(opchar)00FFAA%_directoryname%$get(clchar)

// For those guys who like sorting albums by ID3 more than directories,
// add slashes to the lines that show the directory info
// $get(opchar)00FFAA$if(%album%,%album%,Unknown Album)$get(clchar)

// Artist info
FFFF00 $if(%artist%,%artist%,'Unknown Artist')

// The dash
808080 -

FFFFFF  $if(%title%,%title%,%_filename%)

// Align right and the length
$char(9)00FFAA%_length%


Window Title
CODE

$puts(bar, | )

// Get filetype capitalize, show bitrate
$upper($ext(%_filename_ext%))$char(32)$num(%__bitrate%,3)k$get(bar)

// Show fileinfo - if no ID3, returns error
$if(%title%,$if(%artist%,%artist%,No Artist) | $if(%tracknumber%,$num(% tracknumber%,2) . ,)%title% | $if(%album%,%album%,No Album) | ,No ID3 - %_filename_ext%)


Status Bar
CODE

// Song information presets -  EDIT THESE TO CUSTOMIZE
// --------------------------------------------------------------------
// bar is the seperator
$puts(bar, | )

// Status bar presets - EDIT THESE TO CUSTOMIZE
// --------------------------------------------------------------------
// pastcolor is the color of the beads already passed
// leftchar is the character for the beads already passed
// futurecolor is the color of the beads to be played
// rightchar is the character for the beads to be played
// present is the color of the indication numbers
// sepl is the encloser on the left end of the bar
// sepr is the encloser on the right end of the bar
// plen is the total number of beads
// --------------------------------------------------------------------

$puts(pastcolor,AAAAAA)
$puts(leftchar,•)
$puts(futurecolor,0000FF)
$puts(rightchar,•)
$puts(present,000000)
$puts(sepl,838383 '[')
$puts(sepr,838383 ']')
$puts(plen,40)

// Status bar variants
$puts(time_elap_tot, %_time_elapsed%[ / %_time_total%])
$puts(time_percent,$num([$div($mul(100,%_time_elapsed_seconds%),%_time_total_seconds%)],2))
$puts(past_time,$div($mul(%_time_elapsed_seconds%,$get(plen)),%_time_total_seconds%))

// Get filetype capitalize, show bitrate
000000$upper($ext(%_filename_ext%))$char(32)$num(%__bitrate%,3)k$get(bar)

// Show fileinfo - if no ID3, returns error
$if(%title%,$if(%artist%,%artist%,No Artist)$get(bar)$if(%tracknumber%,$num(% tracknumber%,2) . ,)%title%$get(bar)
// For those who prefer ID3 album sorting
//$if(%album%,%album%,No Album)
%_directoryname%$get(bar),000000No ID3 - %_filename_ext%$get(bar)%_directoryname%)

// Played time / Total time indicator
$if2(%_time_elapsed%,%_time_elapsed%) [/ %_time_total%]

// Status bar
$get(sepl)$get(pastcolor)$repeat($get(leftchar),$get(past_time))$get(present)$get(time_percent)$get(color_black)$get(futurecolor)$repeat($get(rightchar),$sub($get(plen),$get(past_time)))$get(sepr)


The System tray and Copy command codes are the defaults. Still don't know why people find those features useful.
upNorth
To make my playlist display like I want it, I need an extra tag (in addition to 'ARTIST') for 'Various Artists' albums and 'DJ compilations'. The two option I've come by so far are 'PERFORMER' and 'ALBUM ARTIST'.
The first one is an option in Foorbar's built in tagger and is the one I've been using. I'm not really into tagging, but is both 'safe', or is there better solutions?

I've also got an iRiver IMP-400 portable player, and I don't want to make files incompatible with it. It supports: ID3 V1 Tag, ID3 V2 2.0 and ID3 V2 3.0. It's ok if it can't display all the info, as long as it doesn't corrupt the whole tag display.
upNorth
My playlist config is based on Ayaka's config from this thread.
Screenshot of foobar2000 on my desktop.
How to make it work as intended
Forgot this in the notes: Monospaced font needed. I use the "Lime" font that I found somewhere in this thread.
Playlist formatting
Status Bar formatting
Window Title formatting
Btw: This is a work in progress, and some of the comments in the code, has not been updated with the latest changes.
I mostly listen to complete albums and it's customized for this.
Ayaka
My format needed means to judge single files.
I judege playlist style by file extentions now.
Screenshot

CODE
// Start Configure
//          width of left frame
$puts(album_width,30)
//          character between frames
$puts(sprit,|)
//          character to clip %album%
$puts(album_sprit,-)

//          in playing, space of both side of %tracknumber% are changed into this
$puts(trackno_l,E7E7E7|E7E7E7-)
$puts(trackno_r,E7E7E7|E7E7E7-)

//          width for %album%,if files are not ZIP or RAR
$puts(album_cut_width,30)

//          colors, (need not )
$puts(plno_color,CCCCCC|DADADA)
$puts(sprit_color,7EBABE|7EBABE)
$puts(artist_color,CCCCCC|CCCCCC)
$puts(album_color,2620BE|2620BE)
$puts(album_sprit_color,CCCCCC|CCCCCC)
$puts(title_color,CCCCCC|DADADA)
$puts(trno_color,9A9A9A|AAAAAA)
$puts(time_color,CCCCCC|DADADA)

// End Configure


// Process for %tracknumber%
$puts(trno,
//          in playing, space is changed to <trackno_l>
$if(%_isplaying%,$get(trackno_l),' ')
$get(trno_color)
//          change %tracknumber% into double figures,and if it's empty, change to '--'
$if(%tracknumber%,$num(%tracknumber%,2),--)

//          in playing, : is changed to <trackno_l>
$if(%_isplaying%,$get(trackno_r),666666|666666:)' '
)
// End process for %tracknumber%


// Centering %album%
//          calculate width of fixed format
//          <album_sprit> x2 (both sides) + 2 (spaces for margin)
$puts(width_album_sprit,$add($mul($len($get(album_sprit)),2),2))
//          calculate max width of %album%. <album_width> - <album_sprit>
$puts(width_max,$sub($get(album_width),$get(width_album_sprit)))
//          calculate used space. if %album% is over <width_max>, cut it with $cut()
//          used width is length of (cut) %album% and fixed format
$puts(width_used,$add($len($cut(%album%,$get(width_max))),$get(width_album_sprit)))
//          calculate no-used width. <album_width> - used width.
$puts(width_remainder,$sub($get(album_width),$get(width_used)))

//          Apportion remainder width to right and left. Judge '0.5' width $mod().
$if($stricmp($mod($get(width_remainder),2),1),
$puts(width_l,$div($get(width_remainder),2))
$puts(width_r,$add($div($get(width_remainder),2),1))
,
$puts(width_l,$div($get(width_remainder),2))
$puts(width_r,$div($get(width_remainder),2))
)
// End centering


// Showing playlist number
$get(plno_color)$num(%_playlist_number%,3) $get(sprit_color)$get(sprit)

// If file is RAR or ZIP, go to neat format
//          checking file extension.(%_path_raw% of archive is started from "unpack//")
$if($stricmp($substr(%_path_raw%,1,6),unpack),
//          get file extension. (characters from 10 to 12 of %_path_raw% is file ext)
$if($or($stricmp($substr(%_path_raw%,10,12),rar),$stricmp($substr(%_path_raw%,10,12),zip)),


// If %tracknumber% is 1,%Artist% is shown
$if($stricmp(%tracknumber%,1),
$if(%artist%,$get(artist_color)$padcut(%artist%,$get(album_width))
//          if %tracknumber% is empty, fill up with spaces
,$repeat(' ',$get(album_width))
)
)

// If %tracknumber% is 2, Showing same as larger 3.
$if($stricmp(%tracknumber%,2),
$repeat(' ',$get(album_width))
)

// If %tracknumber% is 3, Showing %album%.
$if($stricmp(%tracknumber%,3),
$if(%album%,
$repeat(' ',$get(width_l))
$get(album_sprit_color)$get(album_sprit)
$get(album_color)$cut(%album%,$get(width_max))
$get(album_sprit_color)$get(album_sprit)
$repeat(' ',$get(width_r))
//          if %tracknumber% is empty, fill up with spaces
,$repeat(' ',$get(album_width))
)
)


// If %tracknumber% is greater than 3, Showing only %title%.
// (Don't forget , in use $ifgreater())
$ifgreater(%tracknumber%,3,
$repeat(' ',$get(album_width))
,)

//          if %tracknumber% is empty, fill up with spaces
$if(%tracknumber%,,$repeat(' ',$get(album_width)))

// right frame is for all tr no.
$get(sprit_color)$get(sprit)$get(sprit)
$get(trno)
$get(title_color)$if(%title%,%title%,%_filename%)
$char(9) $get(time_color)$pad_right(%_length%,5)

// end of $if() ZIP or RAR
)


// , of first $if(), start normal format
,


$if(%artist%,$get(artist_color)$padcut(%artist%,$get(album_width))
//          if %tracknumber% is empty, fill up with spaces
,$repeat(' ',$get(album_width))
)

$get(sprit_color)$get(sprit)$get(sprit)
$get(trno)
$get(title_color)
[$cut(%album%,$get(album_cut_width)) - ]
$if(%title%,%title%,%_filename%)

$char(9) $get(time_color)$pad_right(%_length%,5)

// end of first $if()
)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.