Foobar2000 Customization Topic


Recommended Posts

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

Link to comment
Share on other sites

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

you could always, you know, use columns.

Link to comment
Share on other sites

Nice modification :)

to get quick search next to the buttons you need to do like,

horizontal splitter 
   |-buttons
   |-quick search

Thanks :cool:

Finally ended up with this

foobarxd1.png

Edited by ViperAFK
Link to comment
Share on other sites

How about share your config? :yes:

Alright....

Panels UI Config:

// Background
$glass(8,8,95,24)

// PerTrack

$panel(Playlist,Single Column Playlist,8,116,$sub(%_width%,16),$sub(%_height%,140),)
$panel(ButtonsControl,Buttons,8,$sub(%_height%,22),144,24,)
$panel(Seekbar,Seekbar,142,$sub(%_height%,22),$sub(%_width%,200),24,)
$panel(Volume,Volume,$sub(%_width%,48),$sub(%_height%,22),40,24,)
$panel(Vis,Spectrum analyser,$sub(%_width%,28),28,20,60,)

$puts(cover,$replace(%path%,%filename_ext%,cover.jpg))
$puts(gloss,C:\Program Files\foobar2000\images\CD Case\gloss.png)
$puts(cd,C:\Program Files\foobar2000\images\CD Case\cd.png)
$puts(case,C:\Program Files\foobar2000\images\CD Case\case.png)

$imageabs2(100,93,,,,,8,0,$get(case),)
$if(%isplaying%,$imageabs2(82,82,,,,,54,6,$get(cd),)
$imageabs2(84,85,,,,,19,4,$get(cover),nokeepaspect)
$imageabs2(100,93,,,,,9,0,$get(gloss),alpha-160),)

$if(%isplaying%,
$font(Corbel,12,,SYSCOL-0)
$alignabs(144,4,$sub(%_width%,168),22,left,top)
[%artist%]
$font(Corbel,9,,SYSCOL-0)
$alignabs(144,72,$sub(%_width%,168),32,left,top)
[%date%]
$alignabs(144,40,$sub(%_width%,168),32,left,middle)
[%album%]
$alignabs(144,16,$sub(%_width%,168),32,left,middle)
[%title%],)

SCPL Group Display (still em3's layout)

Row Height 20, edge: none

$font(Calibri,8,,)
$puts(tracktitle,
	$if($meta_test(artist),%artist%,$substr(%_filename%,1,$sub($strstr(%_filename%, - ),1)))
	$if($or($meta_test(artist,title),$strstr(%_filename%, - )), - )
	$if($or($meta_test(title),$not($strstr(%_filename%, - ))),
	%title%,$substr(%_filename%,$add($strstr(%_filename%, - ),3),$len(%_filename%))))

$puts(li,$calcwidth(%list_index%))
$puts(margins,$sub(%_width%,55,$add($get(li),16)))
$puts(charWidth,$div($calcwidth($get(tracktitle)),$len($get(tracktitle))))

$ifequal($mod(%_itemindex%,2),0,,$drawrect(0,0,0,0,pencolor-0-0-0 alpha-6))
$imageabs2($add($get(li),10),%_height%,0,0,0,0,0,0,images\li1.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\li2.png,)

$if(%_selected%,
$imageabs(0,0,images\sel1.png,)
$imageabs2($add($get(li),9),%_height%,0,0,0,0,2,0,images\sel2.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\sel3.png,)
$imageabs2(%_width%,%_height%,0,0,0,0,$add($get(li),11),0,images\sel4.png,nokeepaspect)
$imageabs($sub(%_width%,2),0,images\sel5.png,))

$padding(4,3)$align(left,top)
$if(%_selected%,$font(,,,0-77-153),$font(,,,0-0-0))
$if(%isplaying%,$imageabs($sub($div($add($get(li),11),2),6),4,images/playing.png,),%list_index%.)

$alignabs($add($get(li),16),3,%_width%,20,left,top)
$ifgreater($calcwidth($get(tracktitle)),$get(margins),
	$left($get(tracktitle),$sub($sub($len($get(tracktitle)),$div($sub($calcwidth($get(tracktitle)),$get(margins)),$get(charWidth))),3))'...'
	,$get(tracktitle))

$align(right,top)%length%

Images (have to be in foobar2000\images\) and Buttons below...

Well, guess that's it :)

images.zip

Foobar_Buttons_Silk.zip

Link to comment
Share on other sites

here's my panelui foobar... the code is a mix from mr. fuji's and another person from H.A... i did a little editing myself and added a few things but i take no credit for like 99% of the code..

post-10919-1172106890_thumb.jpg

Link to comment
Share on other sites

the Panel name is Playback order

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

Link to comment
Share on other sites

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

That's because the track info panel is using normal GDI+ text drawing as far as I can tell. Terrestrial would need to add support for DrawThemeTextEx in order to draw the text like the title bar text on Vista. If not, he can always use GDI+ to draw text into a GraphicsPath at 1/5th size and then transform it back to normal size to create the blur, then draw the normal text over that. I can provide sample code as used in NeoCleaner.

Link to comment
Share on other sites

I've got this problem with my foobar such that whenever i click on a plylist tree item or a foo_browser item, it doesn't display in the colums panel. i have to use the search before it is disaplyed. anyone knows how i should go about solving this? Thanks.

Link to comment
Share on other sites

I've got this problem with my foobar such that whenever i click on a plylist tree item or a foo_browser item, it doesn't display in the colums panel. i have to use the search before it is disaplyed. anyone knows how i should go about solving this? Thanks.

In preferences for each component make sure you've got Automatically activate ticked

(found under where you choose the playlist name).

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.