Foobar2000 Customization Topic


Recommended Posts

1) Can anyone tell me how to get the backgrounds of the rows alternate between 2 colours in simple terms and the selected/now playing background?

like:

Artist1 - Song1 <-Red

Artist1 - Song2 <-Blue

Artist1 - Song3 <-Red

Artist1 - Song4 <-Green (Now Playing)

Artist1 - Song5 <-Yellow (Selected)

2) Along with ^, included in the config, can you also put down what colour the text will be (selected and unselected)

Link to comment
Share on other sites

// Basik Track Info works best with:
// Arial bold 8pt
// Vertical padding 3
// Horizontal padding 5
// Line spacing -1
// Background color Black

// Adjust the following to suit your tastes

$puts(info_box_width,34)
$puts(default_color,d4d4d4)
$puts(rating_color_1,5357EF)
$puts(rating_color_2,042573)
$puts(rating_symbol,♫)
$puts(is_playing_color,5357EF)
$puts(tag_missing_color,757575)
$puts(heading_color_l,ffb00d)
$puts(heading_color_r,000000)
$puts(is_playing_color,5357EF)




////////////////////////////////
/////// Song Info Code
////////////////////////////////

$transition(----- Song Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

$if(%title%,$if(%_isplaying%,
$get(is_playing_color)$iflonger(%title%,$get(info_box_width),$cut(%title%,$sub($get(info_box_width),2))...,%title%),
$iflonger(%title%,$get(info_box_width),$trim($cut(%title%,$sub($get(info_box_width),3)))...,%title%)),
$if(%_isplaying%,
$get(is_playing_color)$iflonger(%_filename_ext%,$get(info_box_width),$cut(%_filename_ext%,$sub($get(info_box_width),3))...,%_filename_ext%),
$iflonger(%_filename_ext%,$get(info_box_width),$trim($cut(%_filename_ext%,$sub($get(info_box_width),2)))...,%_filename_ext%)))

$char(10)$get(default_color)


$if(%artist%,
$iflonger(%artist%,$get(info_box_width),$cut(%artist%,$sub($get(info_box_width),2))...,%artist%),
$get(tag_missing_color)no artist info)

$char(10)$get(default_color)

$if(%album%,
$iflonger(%album%,$get(info_box_width),$cut(%album%,$sub($get(info_box_width),2))...,%album%),
$get(tag_missing_color)no album info)

$char(10)$get(default_color)

$if($or(%publisher%.%label%,%date%),$if($or(%publisher%,%label%),? ,)%date%$if($or(%publisher%,%label%),'. ',)[%publisher% ][%label%],
$get(tag_missing_color)no date or copyright info)

$char(10)$get(default_color)

$if(%rating%,$get(rating_color_1)
$repeat($get(rating_symbol) ,%rating%)
$get(rating_color_2)$repeat($get(rating_symbol) ,$sub(5,%rating%)) ,$get(tag_missing_color)$repeat($get(rating_symbol) ,5) )
$get(default_color)$if(%genre%,%genre%,$get(tag_missing_color)no genre info)

$char(10)$char(10)



////////////////////////////////
/////// Statistics Code
////////////////////////////////

$transition(----- Statistics $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

$if(%last_played%,$puts(lastplayed,%last_played%),
$if(%play_date%,$puts(lastplayed,%play_date%),)
)


$if($get(lastplayed),
$puts(month,$left($get(lastplayed),2))
$puts(day,$substr($get(lastplayed),4,5))
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1)))
$puts(year,$right($get(lastplayed),2))
$puts(month_name,$select($get(month),
Jan,Feb,March,April,May,June,July,Aug,Sept,Oct,Nov,Dec))
$if($or($strcmp($get(day),11),$strcmp($get(day),12),$strcmp($get(day),13)),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th))))))
$puts(time_of_year,$get(month_name) $get(day)$get(xx) 20$get(year))

$if(%play_counter%,Played $if($strcmp(%play_counter%,1),
once$if($get(lastplayed),',')$if($get(lastplayed), on $get(time_of_year)),
%play_counter% times$if($get(lastplayed),
$char(10)$get(default_color) Last played on $get(time_of_year))),This song has not played before)

$ifgreater(%play_counter%,1,,$char(10))

$char(10)$char(10)



////////////////////////////////
/////// Tech Info Code
////////////////////////////////

$transition(----- Tech Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

%__codec%
$if(%__bitrate_dynamic%,%__bitrate_dynamic%,%__bitrate%)kbps
$if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$if($stricmp($codec(),MP3),%__mp3_stereo_mode%,$channels())

$char(10)$get(default_color)

$if($or(%__replaygain_track_gain%,%__replaygain_album_gain%),
['['Tg']' %__replaygain_track_gain%][ '['Ag']' %__replaygain_album_gain%],
$get(tag_missing_color)there is no gain)

$char(10)$get(default_color)

[%_time_elapsed%/][%_length%][ -%_time_remaining% ]
$if(%_isplaying%,
$muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%',)
$div(%_filesize%,1048576).
$left($num($muldiv($mod(%_filesize%,1048576),1000,1048576),3),2)' MB'

this is for the now playing component

anyone know how to fix the date for this

i played a file today and it says last played feb 40th 2005

Link to comment
Share on other sites

<<quote snipped>>

this is for the now playing component

anyone know how to fix the date for this

i played a file today and it says last played feb 40th 2005

585715336[/snapback]

how do you setup you playcount component? %d%m%y?

try %m%d%y

Link to comment
Share on other sites

The only way to get more than 1 thing in a panel is to use a tabbed panel stack. You will be able to put the playtree list in there, but not the g-force one.

Link to comment
Share on other sites

The only way to get more than 1 thing in a panel is to use a tabbed panel stack. You will be able to put the playtree list in there, but not the g-force one.

585717840[/snapback]

Ive looked and i can find the tabbed panel stack in the preferences. where abouts it is? how do i activate it properly

thanks

Chris

Link to comment
Share on other sites

Alright, I'm bored, so i figured I would post my simple and boring config:

foobar3oe.th.jpg

585720145[/snapback]

Cool someone are using my buttons :)

Anyone know how to center text in the "track info" ?

Link to comment
Share on other sites

what's your setting for play count plugin?

first tag, second tag

585721569[/snapback]

first %play_date% format %m:%d:%y

second %play_time% format $H:$M:$S

Link to comment
Share on other sites

first %play_date% format %m:%d:%y

second %play_time% format $H:$M:$S

585721964[/snapback]

is your playcount plugin uses external database? then you need to edit the trackinfo code, use %__play_date% instead of %play_date%

Link to comment
Share on other sites

is your playcount plugin uses external database? then you need to edit the trackinfo code, use %__play_date% instead of %play_date%

585722050[/snapback]

i should skip tracks that are not in DB?

cause i tried the __play and that didnt work either

ill just remove the code

thanks for your help

Link to comment
Share on other sites

Does anyone know if you can get TAGZ to scroll text left to right etc.. ?

I.E if the length of a song title is longer than the allocated space it is usually trunucated/cut off.

TAGZ = foobar scripting language

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.