Foobar2000 Customization Topic


Recommended Posts

if anyone's still interested...

untitled1lb7.jpg

Layout:

untitled2kd3.jpg

Track Info 1:

Background Color: RGB 22-22-31

Min Height: 18

Edge: none

// Global
$padding(4,)

// Background

// PerTrack

// PerSecond

$align(left,)
$font(Calibri,9,,221-222-223)
[%_time_elapsed%]

$align(right,)
$font(Calibri,9,,221-222-223)
[%length%]

$padding(1,-1)
$drawrect($muldiv(%_width%,8,100),4,$muldiv(%_width%,81,100),9,brushcolor-null pencolor-180-184-194)
$drawrect($add($muldiv(%_width%,8,100),2),6,$ifgreater($muldiv($sub($muldiv(%_width%,81,100),4),%playback_time_seconds%,%length_seconds%),0,$muldiv($sub($muldiv(%_width%,78,100),4),%playback_time_seconds%,%length_seconds%),1),5,brushcolor-240-240-240 pencolor-null)

Single Column Play List:

Row Height: 18

Group Rows: 2

Edge: none

Group By:

%album%

Item Display:

$ifequal($mod(%tracknumber%,2),0,
$imageabs(,,\images\LE5\reluna1.png,),     
$imageabs(,,\images\LE5\reluna2.png,))

$if(%isplaying%,$imageabs(,,\images\LE5\relunablue.png,),)
$if(%isplaying%,$font(Calibri,8,bold,0-0-200),$font(Calibri,8,,0-0-0))

$padding(6,)
$alignabs(277,2,%_width%,20,left,)
$if(%isplaying%,%_time_remaining%,%length%)

$align(left,middle)
[%tracknumber%]

$alignabs(28,2,%_width%,20,left,)
[%title%]

$ifgreater($mul(%_height%,%_itemcount%),88,
$imageabs2(100,90,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,175,,images\ART_cd.png,)
$imageabs2(80,79,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,5)),,%_height%,190,,$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs2(100,90,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,175,,images\case.png,)
,)

Group Display:

$imageabs(,,\images\LE5\relunaorange2.png,)

$padding(1,0)
$align(left,middle)
$font(Calibri,10,bold glow- glowexpand-0 glowalpha-15,40-40-40)
 $replace($replace(%date%,20,''),19,'')

$alignabs(28,3,%_width%,20,left,top)
$font(Calibri,10,bold glow- glowexpand-0 glowalpha-15,40-40-40)
$if(%album artist%,%album artist%,%artist%)

$font(Calibri,10,glow- glowexpand-0 glowalpha-15,40-40-40)
$alignabs(28,13,%_width%,20,left,bottom)
[%album%]

Track Info 2:

Min Height: 25

Edge: none

// Global

// Background

$imageabs(,,\images\reluna.png,)

// PerTrack

$if(%rating%,
$ifequal($num(%rating%,2),00,$imageabs(5,7,images\rating_hearts\rating0.png,),)
$ifequal($num(%rating%,2),01,$imageabs(5,7,images\rating_hearts\rating1.png,),)
$ifequal($num(%rating%,2),02,$imageabs(5,7,images\rating_hearts\rating2.png,),)
$ifequal($num(%rating%,2),03,$imageabs(5,7,images\rating_hearts\rating3.png,),)
$ifequal($num(%rating%,2),04,$imageabs(5,7,images\rating_hearts\rating4.png,),)
$ifequal($num(%rating%,2),05,$imageabs(5,7,images\rating_hearts\rating5.png,),)
,$imageabs(5,7,images\rating_hearts\notrated.png,))

$puts(rating,$if2(%rating%,0))
$button(5,7,0,0,13,13,,,Rate 1,)
$button(5,7,13,0,13,13,,,Rate 2,)
$button(5,7,26,0,13,13,,,Rate 3,)
$button(5,7,39,0,13,13,,,Rate 4,)
$button(5,7,52,0,13,13,,,Rate 5,)

//$puts(rating,$if2(%rating%,0))
//$button(297,3,0,0,13,13,,,TAG:SET:Rating:1,)
//$button(297,3,13,0,13,13,,,TAG:SET:Rating:2,)
//$button(297,3,26,0,13,13,,,TAG:SET:Rating:3,)
//$button(297,3,39,0,13,13,,,TAG:SET:Rating:4,)
//$button(297,3,52,0,13,13,,,TAG:SET:Rating:5,)

//PLAY/PAUSE
$button(234,1,0,0,22,21,
$if($or(%ispaused%,$not(%isplaying%)),images\LE5\pause.png,images\LE5\play_.png),
$if($or(%ispaused%,$not(%isplaying%)),images\LE5\play.png,images\LE5\pause_.png),
$if($or(%ispaused%,$not(%isplaying%)),play,pause)
,)

//PREVIOUS
$button(210,1,0,0,22,21,images\LE5\prev.png,images\LE5\prev_.png,previous,)

//NEXT
$button(258,1,0,0,22,21,images\LE5\next.png,images\LE5\next_.png,next,)

//ALBUM LIST
$button(286,1,0,0,22,21,images\LE5\search.png,images\LE5\search_.png,Album List,)

// PerSecond

heart rating icons:

http://moglenstar.net/archives/heart-rating-icons-for-foobar

also thanks to moglenstar, some of the images are from an old design of his.

images.zip

Link to comment
Share on other sites

hi guys can anyone help? my track info isnt updating, the progress bar doesnt move.....the only way it moves or the info changes it is if i move the pannel or bring up the settings of trackinfo

trackinfo configuration

$imageabs($sub($div(%_width%,2),400),0,track_bg.png,)
$puts(str1,"%title%"[ by %artist%][ / %album%][ '('%genre%[, %date%]')'])
$puts(str2,$upper($replace(%filename_ext%,%filename%.,)) $if(%__bitrate_nominal%,VBR '('%__bitrate%kbps average')' at %bitrate%kbps,[%codec_profile% $if($or($strstr(%codec_profile%,VBR),$strstr(%codec_profile%,ABR)),'('%__bitrate%kbps average')' )]at %bitrate%kbps)',' %samplerate%Hz / $cwb_splitnum($div($muldiv(%filesize%,1000,1024),1000),',')kb)
$puts(str3,$if(%play_counter%,Played: %play_counter% time$if($stricmp(%play_counter%,1),,s),Never Played)$if(%last_played%,$puts(lpdiff,$cwb_datediff(%last_played%,%cwb_systemdate%))',' Last Played: $ifgreater(1,$get(lpdiff),Today,$ifgreater(2,$get(lpdiff),Yesterday,$get(lpdiff) days ago '('$num($substr(%last_played%,9,10),1)-$num($substr(%last_played%,6,7),1)-$substr(%last_played%,1,4)')')),)$if(%first_played%,$puts(fpm,$substr(%first_played%,9,10)) / First Played: $num($get(fpm),1)$ifgreater(2,$get(fpm),st,$ifgreater(3,$get(fpm),nd,$ifgreater(4,$get(fpm),rd,th))) of $select($substr(%first_played%,6,7),January,February,March,April,May,June,July,Auguest,September,October,November,December)',' $substr(%first_played%,1,4)))


// curved edges
$drawrect(0,3,1,1,brushcolor-$get(panelbg) pencolor-null)
$drawrect($sub(%_width%,1),3,1,1,brushcolor-$get(panelbg) pencolor-null)
$drawrect(0,57,1,1,brushcolor-$get(panelbg) pencolor-null)
$drawrect($sub(%_width%,1),57,1,1,brushcolor-$get(panelbg) pencolor-null)

$if(%isplaying%,

// progress bar
$drawrect($muldiv(%_width%,15,100),31,$muldiv(%_width%,65,100),9,brushcolor-null pencolor-240-240-240)
$drawrect($add($muldiv(%_width%,15,100),2),33,$ifgreater($muldiv($sub($muldiv(%_width%,70,100),4),%playback_time_seconds%,%length_seconds%),0,$muldiv($sub($muldiv(%_width%,65,100),4),%playback_time_seconds%,%length_seconds%),1),5,brushcolor-240-240-240 pencolor-null)
$alignabs($sub($muldiv(%_width%,15,100),35),38,35,14,center,middle)$font(calibri,8,bold,240-240-240)$if2(%playback_time%,0:00)
$alignabs($muldiv(%_width%,85,100),38,35,14,center,middle)$font(calibri,8,bold,240-240-240)$if2(%length%,0:00)
$alignabs(20,9,$sub(%_width%,40),14,center,middle)$font(calibri,9,bold,240-240-240)

// interchanging text
$select($add($mod(%playback_time_seconds%,15),1),
$get(str1),$get(str1),$get(str1),$get(str1),$get(str1),
$get(str2),$get(str2),$get(str2),$get(str2),$get(str2),
$get(str3),$get(str3),$get(str3),$get(str3),$get(str3))

)

Link to comment
Share on other sites

if you have the updated track info its been changed around a bit to help keep it running better. refer to this:

http://wiki.hydrogenaudio.org/index.php?ti...od)#Redraw_type

basically it spits things up like so:

// Global

Put global values here.

// Background

Put background stuff here (e.g. images). Only drawn once.

// PerTrack

Put stuff that changes per track here (%album%, %artist%, etc.) Buttons go here as well.

// PerSecond

Stuff that needs to update every second (%playback_time%, etc.)

so its better on the memory and dosent need to be chacking all of the code every track second etc. just what needs to be.

Link to comment
Share on other sites

images:

http://www.moglenstar.net/foobar/gilouche.rar

extract to your profile, or foobar directory :)

code:

sort is %album%

item:

// Background
$if(%isplaying%,
$imageabs(,,gilouche\item_bg_playing.png,),
$imageabs(,,gilouche\item_bg.png,)
)
// Global
$padding(5,2)
$if(%isplaying%,
$font(Segoe UI,9,bold,255-255-255),
$font(Segoe UI,8,,255-255-255)
)
$align(left,center)%title%
$align(right,center)[%playback_time% '/' ]%length%

group:

// Background 
$imageabs(,,gilouche\no_cover.png,)
$imageabs2(50,50,,,,,5,5,$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs(,,gilouche\album_header.png,)
// PerTrack
$font(Segoe UI,9,bold,255-255-255)
$padding(60,15)
$align(left,top)
%artist%
$align(left,bottom)
%album%
$padding(-55,0)
$align(right,top)
%date%
$align(right,bottom)
%genre%

enjoy, and thanks for porting Gilouche srn, it's very nice :)

Link to comment
Share on other sites

i changed the group display a smidge, so here's the new info:

untitled1pf6.jpg

$imageabs(,,\images\LE5\relunaorange2.png,)

$imageabs(4,11,\images\LE5\arrow.png,)

$alignabs(270,8,%_width%,20,left,)
$font(Calibri,12,glow- glowexpand-0 glowalpha-15,40-40-40)
 $replace($replace(%date%,20,''),19,'')

$alignabs(28,3,%_width%,20,left,top)
$font(Calibri,10,bold glow- glowexpand-0 glowalpha-15,40-40-40)
$if(%album artist%,%album artist%,%artist%)

$font(Calibri,10,glow- glowexpand-0 glowalpha-15,40-40-40)
$alignabs(28,13,%_width%,20,left,bottom)
[%album%]

images.zip

Link to comment
Share on other sites

i changed the group display a smidge, so here's the new info:

It must have been your config that I saw either in the January Desktops thread or an earlier post on the Foobar2000 Cust. thread. In the bottom right there was a samurize theme? Do you know what it is and where to get it? Or if it's your config, do you mind sharing for personal use? Thanks!

Link to comment
Share on other sites

can anyone tell me what is the component which is a properties, and i press NEXT to edit another track...

its like special properties..where i can SAVE & NEXT to edit

Link to comment
Share on other sites

It must have been your config that I saw either in the January Desktops thread or an earlier post on the Foobar2000 Cust. thread. In the bottom right there was a samurize theme? Do you know what it is and where to get it? Or if it's your config, do you mind sharing for personal use? Thanks!

here you go, its a samurize config by dobee. http://myweb.absa.co.za/errolla/themez/samurize.html

Link to comment
Share on other sites

i changed the group display a smidge, so here's the new info:

untitled1pf6.jpg

$imageabs(,,\images\LE5\relunaorange2.png,)

$imageabs(4,11,\images\LE5\arrow.png,)

$alignabs(270,8,%_width%,20,left,)
$font(Calibri,12,glow- glowexpand-0 glowalpha-15,40-40-40)
 $replace($replace(%date%,20,''),19,'')

$alignabs(28,3,%_width%,20,left,top)
$font(Calibri,10,bold glow- glowexpand-0 glowalpha-15,40-40-40)
$if(%album artist%,%album artist%,%artist%)

$font(Calibri,10,glow- glowexpand-0 glowalpha-15,40-40-40)
$alignabs(28,13,%_width%,20,left,bottom)
[%album%]

album title won't show up now, only artist name. any ideas?

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.