Recommended Posts

// **************** GROUP BY ****************

$if(%__replaygain_album_gain%,%album%[%discnumber%],!noheader!)

Nope i gots that?

Haha! I don't believe it, I feel such an idiot.

Changed it to %album% and it worked! Forgive my stupidty and noobness :p

Total rip-off of Dashed's config, but there you go :p

I actually didn't mean to make it like this, I just started creating a new look, and it ended up pretty much the same as yours.. :pinch:

fbfk1.png

you are great man.. really nice config again.. i think that this is better than your previous one.. great work ...

Edited by speedemonV12

How can i get the no cover album art to work? So far i have this:

untitled1kw9.th.jpg

It's not showing anything just an empty box, i have a "no cover.png" image im my foobar's images folder, any help would be greatly appreciated!

I have this code in mt "Items Display Box"

$puts(coverstring,$replace(%path%,%filename_ext%,front.jpg))

What do i change to make it show a "No cover" if the album's folder doesn't containt a front.jpg?

How can i get the no cover album art to work? So far i have this:

untitled1kw9.th.jpg

It's not showing anything just an empty box, i have a "no cover.png" image im my foobar's images folder, any help would be greatly appreciated!

I have this code in mt "Items Display Box"

What do i change to make it show a "No cover" if the album's folder doesn't containt a front.jpg?

This should go before the code you mentioned.

$puts(imagedir,'D:\Software\Media\Foobar\images')

$imageabs2(64,64,,,,,209,$sub(22,$mul(%_itemindex%,18)),$get(imagedir)nocover.png,)

Edited by Dashed

hi i am new to customising foobar i was jsut looking at the customisation topic and i saw some foobar customisation i really like them great work but now i m wondering how can i make them if anyone can point me in the right direction ill be quite greatful to them thxs for reading.

I was wondering if someone could take a look at this code for me?

The issues are:

1) that the Nocover picture gets overlaid by the selected item.

2) The selected I would like the selected item to be shown by an image but have no idea how to implement it. so far I have failed at every attempt.

3) I have no idea who originally made this config :(

4) Is There a way to make this recognize an album as a VA album and then have it display the artists? My group display only displays albums so that doesn't matter.

$puts(imagedir,'C:\Program Files\foobar2000\images\')
$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(imagedir)nocover.png,)$puts(coverstring,$replace(%path%,%filename_ext%,folder.jpg))

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-219-219-219 pencolor-null),)

$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(coverstring),alpha-'255')
$drawrect(400,$sub(21,$mul(%_itemindex%,18)),152,152,brushcolor-null pencolor-200-200-200)
$drawrect(401,$sub(22,$mul(%_itemindex%,18)),150,150,brushcolor-null pencolor-255-255-255 alpha-255)

$padding(10,3)
$font(,7,,$if(%isplaying%,81-108-136,100-100-100))
[%tracknumber%.  ]$if($meta(album artist),%artist%'  ?  ',)
$replace(%title%,'(',$font(,,,100-100-100)'(')

Thanks, and I hope to learn more about coding for foobar.

I was wondering if someone could take a look at this code for me?

The issues are:

1) that the Nocover picture gets overlaid by the selected item.

2) The selected I would like the selected item to be shown by an image but have no idea how to implement it. so far I have failed at every attempt.

3) I have no idea who originally made this config :(

4) Is There a way to make this recognize an album as a VA album and then have it display the artists? My group display only displays albums so that doesn't matter.

$puts(imagedir,'C:\Program Files\foobar2000\images\')
$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(imagedir)nocover.png,)$puts(coverstring,$replace(%path%,%filename_ext%,folder.jpg))

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-219-219-219 pencolor-null),)

$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(coverstring),alpha-'255')
$drawrect(400,$sub(21,$mul(%_itemindex%,18)),152,152,brushcolor-null pencolor-200-200-200)
$drawrect(401,$sub(22,$mul(%_itemindex%,18)),150,150,brushcolor-null pencolor-255-255-255 alpha-255)

$padding(10,3)
$font(,7,,$if(%isplaying%,81-108-136,100-100-100))
[%tracknumber%.  ]$if($meta(album artist),%artist%'  ?  ',)
$replace(%title%,'(',$font(,,,100-100-100)'(')

Thanks, and I hope to learn more about coding for foobar.

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-219-219-219 pencolor-null),)

$puts(imagedir,'C:\Program Files\foobar2000\images\')
$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(imagedir)nocover.png,)$puts(coverstring,$replace(%path%,%filename_ext%,folder.jpg))

$imageabs2(150,150,,,,,401,$sub(22,$mul(%_itemindex%,18)),$get(coverstring),alpha-'255')
$drawrect(400,$sub(21,$mul(%_itemindex%,18)),152,152,brushcolor-null pencolor-200-200-200)
$drawrect(401,$sub(22,$mul(%_itemindex%,18)),150,150,brushcolor-null pencolor-255-255-255 alpha-255)

$padding(10,3)
$font(,7,,$if(%isplaying%,81-108-136,100-100-100))
[%tracknumber%.  ]$if($meta(album artist),%artist%'  ?  ',)
$replace(%title%,'(',$font(,,,100-100-100)'(')

Try that, just figured it out myself by putting the $if statement above the coverart command!

Worked for me.. Try it.

Edited by Primie.uk

Hi, I'm fairly new to Foobar customization and I was trying to use the config Shannon Posted, but I'm having problems getting the headers to show up :( . Any idea how to fix this?

Here's how it looks now

fooym8.png

And here is the code for the single column config I have

Group By

$if(%__replaygain_album_gain%,%album%[%discnumber%],!noheader!)

Item Display

$ifequal($mod(%_playlist_number%,2),0,
$drawrect(,,,,brushcolor-236-236-236 pencolor-null),)
$drawrect(,,,1,brushcolor-226-227-227 pencolor-null)
$if(%_selected%,$imageabs(,,images\selected_bg.png,),
$if(%_isplaying%,$imageabs(,,images\playing_bg.png,)))

$padding($if(%__replaygain_album_gain%,10,4),4)
$font(CubicFive10,6,,$if(%_selected%,0-70-140,$if(%_isplaying%,35-143-198,97-97-97)))
$if(%__replaygain_album_gain%,$num(%tracknumber%,2)'...  ')

$font(Calibri,9,,)
$if($not(%__replaygain_album_gain%),[$meta(artist) - ])
%title%

$align(right,bottom)
$font(CubicFive10,6,,)
[%playback_time% / ]%length%

Group Display

$imageabs(,,images\header_bg.png,)
$padding(6,4)

$font(Calibri,9,bold glow-51-58-76 glowexpand-1,255-255-255)
%album%

$if(%discnumber%,
$font(,,glow-51-58-76 glowexpand-1,180-184-194)
' (Disc '%discnumber%')')

$puts(ar_w,$calcwidth($meta(artist)))
$drawrect($sub(%_width%,$get(ar_w),20),-4,1,%_height%,brushcolor-0-0-0)
$drawrect($sub(%_width%,$get(ar_w),19),-4,1,%_height%,brushcolor-245-245-245 pencolor-null)
$drawrect($sub(%_width%,$get(ar_w),18),-4,$add($get(ar_w),12),%_height%,brushcolor-62-66-83 pencolor-39-42-48)
$imageabs($sub(%_width%,$get(ar_w),15),0,images\header_bg_right.png,)

$align(right,center)
$font(,,bold,255-255-255)
$meta(artist)
$font(,,glow-51-58-76 glowexpand-1,180-184-194)
' (Disc '%discnumber%')')

$puts(ar_w,$calcwidth($meta(artist)))
$drawrect($sub(%_width%,$get(ar_w),20),-4,1,%_height%,brushcolor-0-0-0)
$drawrect($sub(%_width%,$get(ar_w),19),-4,1,%_height%,brushcolor-245-245-245 pencolor-null)
$drawrect($sub(%_width%,$get(ar_w),18),-4,$add($get(ar_w),12),%_height%,brushcolor-62-66-83 pencolor-39-42-48)
$imageabs($sub(%_width%,$get(ar_w),15),0,images\header_bg_right.png,)

$align(right,center)
$font(,,bold,255-255-255)
$meta(artist)

Hi, I'm fairly new to Foobar customization and I was trying to use the config Shannon Posted, but I'm having problems getting the headers to show up :( . Any idea how to fix this?

Try this :) the header seems to appear with replay-gained files only

Group By

%album%

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

    • No registered users viewing this page.