Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: help with single column playlist (Read 4882 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

help with single column playlist



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:



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.

help with single column playlist

Reply #1
Do you have the necessary fonts installed?

help with single column playlist

Reply #2
add more group rows.
elevatorladylevitateme

help with single column playlist

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

help with single column playlist

Reply #4
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.

 

help with single column playlist

Reply #5
Have you tried it without wrapping the path in single quotes?

have you tried using
Code: [Select]
$imageabs(5,3,images\noalbum.png,)

(since the images are in your %appdata%)?
wiki
elevatorladylevitateme