Foobar2000 Customization Topic


Recommended Posts

neoshooter1ba2.th.png

My latest foo. Haven't played with panels yet. SCPL based on FofR's.

:shiftyninja:

That is AWESOME! Please, do share :)

And what's the plugin for browsing on the left? It looks tasty.

Link to comment
Share on other sites

So, here's my config for those who asked. I made a few changes to the SCPL, but I don't think you'll find that much of a big deal :)

You'll need to extract the /aofoo/ directory of this zip wherever you want, but just remember where because you'll need to change a parameter later.

Font used everywhere is Frutiger Linotype 7, and my Windows theme is the Classic Theme with a 3DCC color scheme and a hacked Marlett font.

This is my layout. Panels marked with red are locked.

Vertical Splitter

|_Horizontal Splitter

|_|_Browser Panel

|_|_Single Column Playlist View

|_|_Track info mod

|_Track info mod

SCPL

Font: Frutiger Lynotype 7

Background: White (255,255,255)

Text color: Black (0,0,0)

Row height: 21

Group rows: 2

Group by %album%

Item Display:

$padding(2,2)

$ifequal($mod(%playlist_number%,2),0,
$puts(back,255-255-255),
$puts(back,245-245-245)
)

$drawrect(0,0,0,0,brushcolor-$get(back) pencolor-null)

$if(%isplaying%,$drawrect(0,0,0,0,brushcolor-211-215-207 pencolor-null)$textcolor(0-0-0),$textcolor(0-0-0))
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-91-120-151  pencolor-null)$textcolor(255-255-255),$textcolor(0-0-0))

$padding(4,0)
$align(right,middle)%title%$font(,,,200-200-200)$align(left,middle)%tracknumber%

Group Display (remember to change the prFolder parameter to the directory where you put /aofoo/!):

$puts(prFolder,C:\Documents and Settings\AlanO\Datos de programa\foobar2000\)

$puts(cover,$replace(%path%,%filename_ext%,)folder.jpg)
$puts(nocover,$get(prFolder)aofoo\nocover.png)

$padding(2,2)
$drawrect(0,39,0,1,brushcolor-91-120-151 pencolor-null)

$imageabs2(37,37,,,,,2,2,$get(cover),NOKEEPASPECT)

$padding(42,0)
$align(left,middle)
$font(,,bold,)%artist%$char(10)
$font(,,normal,)%album%

Right trackinfo (remember to change the prFolder parameter to the directory where you put /aofoo/!):

//change this var

$puts(prFolder,C:\Documents and Settings\AlanO\Datos de programa\foobar2000\)

//Don't edit anymore

$imageabs2(160,20,,,,,0,0,$get(prFolder)aofoo\block.png,)

$alignabs(5,4,130,100,left,)
$if(%isplaying%,
Now playing
$alignabs(105,4,50,100,right,)[%tracknumber%][ of %totaltracks%]
,
Not playing
)


$if(%isplaying%,
$puts(cover,$replace(%path%,%filename_ext%,*.jpg)),
$puts(cover,$get(prFolder)aofoo\nocover.png)
)
$puts(reflection,$get(prFolder)aofoo\reflect.png)

$imageabs2(120,120,,,,,20,150,$get(cover),NOKEEPASPECT ROTATEFLIP-6)
$imageabs2(120,120,,,,,20,150,$get(reflection),)
$imageabs2(154,15,,,,,2,142,$get(prFolder)aofoo\albumshadow.png,)
$imageabs2(120,120,,,,,20,30,$get(cover),NOKEEPASPECT)

// PerSecond
$alignabs(,160,160,200,center,)
$if(%isplaying%,

$font(,,bold,)
%title%
$font(,,normal,)$if(%ispaused%,' (Paused)',)
$char(10)
$font(,,,140-140-140)
 %playback_time% / %length%

$alignabs(15,190,130,100,left,)
$font(,,bold,)
Artist: 
$char(10)
Album: 
$char(10)
Genre:
$char(10)
Year:

$alignabs(15,240,130,100,left,)
$font(,,bold,)
Bitrate: 
$char(10)
Size: 
$char(10)
Codec:

$alignabs(55,190,130,100,left,)
$font(,,normal,70-70-70)
%artist%
$char(10)
%album%
$char(10)
%genre%
$char(10)
%date%

$alignabs(55,240,130,100,left,)
$font(,,normal,70-70-70)
%bitrate% kbps
$char(10)
$div(%filesize%,1024) KB
$char(10)
%codec%
,
Play a song
$char(10)
'Come on, you know you want to'
)

Bottom trackinfo (remember to change the prFolder parameter to the directory where you put /aofoo/!):

//change this var
$puts(prFolder,C:\Documents and Settings\AlanO\Datos de programa\foobar2000\)

//don't edit anymore

// PerSecond
// Progress Bar
$drawrect($muldiv(%_width%,15,100),3,$muldiv(%_width%,70,100),8,brushcolor-null pencolor-211-215-207)
$drawrect($add($muldiv(%_width%,15,100),2),5,$ifgreater($muldiv($sub($muldiv(%_width%,70,100),4),%playback_time_seconds%,%length_seconds%),0,$muldiv($sub($muldiv(%_width%,70,100),4),%playback_time_seconds%,%length_seconds%),1),4,brushcolor-91-120-150 pencolor-null)
$alignabs($sub($muldiv(%_width%,15,100),33),-8,35,30,center,middle)$if2(%playback_time%,0:00)
$alignabs($muldiv(%_width%,85,100),0,33,13,center,middle)$if2(%length%,0:00)


// Global
//Buttons

$button($sub($div(%_width%,2),44),18,0,0,22,22,$get(prFolder)aofoo\prev.png,$get(prFolder)aofoo\prev.png,previous,)

$button($sub($div(%_width%,2),14),15,0,0,28,30,
$if($or(%ispaused%,$not(%isplaying%)),$get(prFolder)aofoo\play.png,$get(prFolder)aofoo\pause.png),
$if($or(%ispaused%,$not(%isplaying%)),$get(prFolder)aofoo\play.png,$get(prFolder)aofoo\pause.png),
$if($or(%ispaused%,$not(%isplaying%)),play,pause)
,)

$button($add($div(%_width%,2),20),18,0,0,22,22,$get(prFolder)aofoo\next.png,$get(prFolder)aofoo\next.png,next,)

Enjoy! :)

Link to comment
Share on other sites

The last one didn't even last one day! :p

250207.png

Inspired by the Sonata Music Player for Linux. I had never seen such a nice default interface for a music player.

Link to comment
Share on other sites

The last one didn't even last one day! :p

250207.png

Inspired by the Sonata Music Player for Linux. I had never seen such a nice default interface for a music player.

Could you post your SCPL (single column playlist) code please? :)

Link to comment
Share on other sites

Could you post your SCPL (single column playlist) code please? :)

Sure, no problem :)

Row Height: 20

Group Rows: 2

Group by %album%

Item Display:

$font(Calibri,9,,)

$ifequal($mod(%tracknumber%,2),0,$puts(color,255-255-255),$puts(color,245-245-245))
$if(%_selected%,
$puts(color,89-149-217)
$puts(txtcolor,255-255-255)
$puts(txtcolor2,188-213-241),
$puts(txtcolor,0-0-0)
$puts(txtcolor2,150-150-150)
)
$if(%_selected%,$puts(color,89-149-217),)
$if(%isplaying%,$puts(color,53-78-107),)

$if($or(%isplaying%,%_selected%),
$puts(txtcolor,255-255-255)
$puts(txtcolor2,188-213-241),
$puts(txtcolor,0-0-0)
$puts(txtcolor2,150-150-150)
)

$drawrect(0,0,0,0,brushcolor-$get(color) pencolor-null)

$alignabs(4,0,24,20,left,middle)
$textcolor($get(txtcolor2))%tracknumber%
$textcolor($get(txtcolor))
$alignabs(22,0,$sub(%_width%,24),20,left,middle)%title%
$textcolor($get(txtcolor2))
$alignabs($sub(%_width%,54),0,50,20,right,middle)%length%

Group Display:

$font(Calibri,9,,)

$drawrect(4,38,$sub(%_width%,8),1,brushcolor-150-150-150 pencolor-null)
$alignabs(6,4,%_width%,40,left,top)
$font(Corbel,20,bold,220-220-220)%artist%
$alignabs(6,18,%_width%,20,left,middle)$font(Calibri,10,bold,53-78-107)%album%
$padding(-4,0)
$puts(cover,$replace(%path%,%filename_ext%,)folder.jpg)
$drawrect($sub(%_width%,35),2,35,35,brushcolor-0-0-0 pencolor-null)
$imageabs2(33,33,,,,,$sub(%_width%,38),3,$get(cover),NOKEEPASPECT)

Link to comment
Share on other sites

I used Alan Orozco's config but there is a problem with the track info mod when the album name is too long, it slides half of the album name into genre and messes up the bit rate.

footackij6.png

Link to comment
Share on other sites

^ Yeah, I found out about that myself, but I thought it was only a minor annoyance.

I'll check out the titleformat reference to see what I can come up with.

EDIT: I found it! Replace %album% in the right trackinfo with $iflonger(%album%,18,$padcut(%album%,15)'...',%album%)

Let me know how that goes :)

Edited by Alan Orozco
Link to comment
Share on other sites

I've been playing with foobar2000 the entire day. I've been AMAZED by it's power :p The only thing that stops me from moving from iTunes to foobar2000 is that I've not been able to display AlbumArt from ID3 tags. Does anyone knows a way to do this?

Link to comment
Share on other sites

^ No problem, dude :) I actually made the SCPL colors sorta easily customizable, because I used defined variables for each event (i.e. Selected, Row Color, Is Playing, etc.)

But change the right trackinfo default font, Tahoma is way to big and the information looks like it was squeezed together.

New day, new one! :D

This time on a fresh XP install.

260207.png

Edited by Alan Orozco
Link to comment
Share on other sites

Can you also please post the config to your track info mod ? (the top half)

Thanks :-)

I made a clean XP install and forgot to back up my foobar2000, so I don't have the codes. Sorry :(

Link to comment
Share on other sites

Mine at the moment. :) I like the layout but I'm not totally satisfied with the playlist look. I want to be able to switch between grouping and no grouping with PVAR, and currently that doesn't seem to be possible.

post-50986-1172614877.jpg

Link to comment
Share on other sites

Mine at the moment. :) I like the layout but I'm not totally satisfied with the playlist look. I want to be able to switch between grouping and no grouping with PVAR, and currently that doesn't seem to be possible.

Nice

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.