Help - Search - Members - Calendar
Full Version: help with single column playlist
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
Ray Bao
IPB Image

Notice how the group heading of each album is "empty". In some cases (where I have album art in that particular folder), the album art is cut off and there is still no text.

It's supposed to look like:

IPB Image

Here's "my" code.

Track info:

QUOTE
if(%_isplaying%,
$imageabs2(,,,,,,$sub(%_width%,75),$sub($div(%_height%,2),38),'D:\fb2k\images\arrows.png',)
$padding(4,2)
$align(left,bottom)

$font(Swis721 Cn BT D-Type,12,bold glow-129-138-150 glowblur-10,255-255-255)
[%_time_elapsed%$font(Swis721 Cn BT D-Type,12,bold glow-91-100-111 glowblur-10,255-255-255-255) '/']
$font(Swis721 Cn BT D-Type,12,bold glow-91-100-111 glowblur-10,203-206-211) %length%
$padding(4,2)
$align(right,bottom)

$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255)
$upper(%title%)
$font(calibri,8,bold glow-91-100-111 glowblur-10,129-138-150)
/
$font(calibri,8,bold glow-91-100-111 glowblur-10,203-206-211)
$upper(%artist%)

,

$imageabs2(66,66,,,,,$sub($div(%_width%,2),33),$sub($div(%_height%,2),38),'D:\fb2k\images\arrows.png',))


Item Display:

QUOTE
$if(%_isplaying%,$drawrect(0,0,0,0,brushcolor-0-0-0 pencolor-0-0-0),
$if(%_selected%,$drawrect(0,0,0,0,brushcolor-228-234-242 pencolor-null),
$imageabs(3,0,'images\bg1.png',)

$ifequal($mod(%tracknumber%,2),0,
$drawrect(0,0,0,0,brushcolor-252-252-252 pencolor-245-245-245)
,
$drawrect(0,0,0,0,brushcolor-255-255-255 pencolor-null)
)
)
)
$padding(2,0)

$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,164-171-179))
$alignabs(4,0,%_width%,21,left,top)↘

$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,180-180-180))

[Disc %discnumber% ][%tracknumber%. ]

$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,129-138-150))

$if($meta_test(album artist),%artist%' - ')

$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,120-120-120))
%title%

$if(%_isplaying%,$font(calibri,8,bold glow-129-138-150 glowblur-10,255-255-255),$font(calibri,8,bold,180-180-180))

$align(right,center)%length%

//$drawrect(0,0,1,0,brushcolor-161-170-179 pencolor-null)
//$drawrect(1,0,3,0,brushcolor-222-225-228 pencolor-null)


Group Display:

QUOTE
$font(cambria,12,bold,164-171-179)
$drawrect(0,0,0,0,brushcolor-240-240-240 pencolor-null)

$imageabs2(84,84,,,,,5,3,'D:\fb2k\images\noalbum.png',)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.jpg,)
$imageabs2(84,84,,,,,5,3,'D:\fb2k\images\artoverlay.png',)

$alignabs(92,40,$add(%_width%,-107),20,left,top)
$lower($if2(%album artist%,%artist%))
$alignabs(92,55,$add(%_width%,-107),20,left,top)
$font(Swis721 Cn BT D-Type,14,,138-145-153)
%album%$font(Swis721 Cn BT D-Type,14,bold,120-120-120)[ %date%]
$alignabs(92,71,$add(%_width%,-107),20,left,top)
$font(calibri,9,bold,153-153-153)[$upper(%genre%)]


* * *

I have a folder "images" which is placed in my root foobar directory (C:\Program Files (x86)\foobar2000) AND "C:\Documents and Settings\Administrator\Application Data\foobar2000".

* * *

So what am I doing wrong? I know the "D:\fb2k\images\..." in my code is incorrect, but what changes should be made so that I can make my config look like the one posted above?

Thanks in advance.

wow. seems i'm retarded and didn't see the "support" section of this forum. if a mod would be so kind as to move this topic (instead of deleting it...), that'd be great.
Coppertop
Do you have the necessary fonts installed?
shakey_snake
add more group rows.
mellow
i had this problem, increase the number of rows in the group header
Ray Bao
QUOTE(mellow @ Dec 2 2006, 09:22) *

i had this problem, increase the number of rows in the group header


Works.

Now, I can't get the "no artwork" .png to show up and the glossy overlay. Any ideas?

I'm sure stuff like this:

QUOTE
$imageabs2(84,84,,,,,5,3,'D:\fb2k\images\noalbum.png',)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.png,)
$imageabs2(84,84,,,,,5,3,$replace(%path%,%filename_ext%,)cover.jpg,)
$imageabs2(84,84,,,,,5,3,'D:\fb2k\images\artoverlay.png',)


...isn't correct. My images are saved in my root foobar directory AND my documents&settings/application data.
shakey_snake
Have you tried it without wrapping the path in single quotes?

have you tried using
CODE
$imageabs(5,3,images\noalbum.png,)

(since the images are in your %appdata%)?
wiki
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.