Recommended Posts

Plugins:

Track Info Mod

Single Columns Playlist

Columns UI

Custom Info Plugin

CWB Hooks

Layout:

Vertical Splitter
-Horizontal Splitter
--Track info mod
-Horizontal Splitter
--Single Column Playlist View 
-Horizontal Splitter
--Track info mod

you can just right click on the panels and go to settings and copy and paste the code

untitled1dd3.jpg

untitled2lp5.jpg

untitled3fi9.jpg

untitled4fa4.jpg

TRACK INFO1

edge: none

min height: 45

BG: RGB 30-32-37

click update every second

//$imageabs(,,images\royale_test.png,)

$padding(5,0)
$align(left,top)
$font(Calibri,10,bold glow- glowexpand-0 glowalpha-125,255-255-255)
$caps2(%title%)
$font(Calibri,10,glow- glowexpand-0 glowalpha-125,180-184-194)
' / '
[%artist%]

$padding(0,11)
$align(left,bottom)
$font(Calibri,9,glow- glowexpand-0 glowalpha-125,180-184-194)
[%_time_elapsed%]

$align(right,bottom)
$font(Calibri,9,glow- glowexpand-0 glowalpha-125,180-184-194)
[%length%]

$if(%rating%,
$ifequal($num(%rating%,2),00,$imageabs(337,3,images\r0.png,),)
$ifequal($num(%rating%,2),01,$imageabs(337,3,images\r1.png,),)
$ifequal($num(%rating%,2),02,$imageabs(337,3,images\r2.png,),)
$ifequal($num(%rating%,2),03,$imageabs(337,3,images\r3.png,),)
$ifequal($num(%rating%,2),04,$imageabs(337,3,images\r4.png,),)
$ifequal($num(%rating%,2),05,$imageabs(337,3,images\r5.png,),)
,$imageabs(337,3,images\r0.png,))

$puts(rating,$if2(%rating%,0))
$button(337,3,0,0,13,13,,,Rate 1,)
$button(337,3,13,0,13,13,,,Rate 2,)
$button(337,3,26,0,13,13,,,Rate 3,)
$button(337,3,39,0,13,13,,,Rate 4,)
$button(337,3,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,)

$padding(0,9)
$align(center,bottom)
$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

Row: 20

Group: 1

Edge: none

BG: RGB 244-244-244

Group By

%album%

Item Display

$if(%isplaying%,$imageabs(,,\images\main_bg_playing3.png,)$font(calibri,8,bold glow- glowexpand-0 glowalpha-125,255-255-255)
,$imageabs(,,\images\main_bg.png,)$font(,8,,80-80-80))

$padding(10,3)$align(left,center)

[%tracknumber%   $caps2(%title%)]

$align(right,center)
$if(%isplaying%,%playback_time_remaining%,%length%)

$imageabs2(113,100,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,228,,images\ART_cd.png,)
$imageabs2(90,90,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,4)),,%_height%,244,,$replace(%path%,%filename_ext%,folder.jpg),)
$imageabs2(113,100,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,1)),,%_height%,228,,images\case.png,)

Group Display

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

$padding(5,0)

$align(left,middle)

$font(Calibri,9,bold glow- glowexpand-0 glowalpha-125,255-255-255)
[%album% ]

$font(Calibri,9,glow- glowexpand-0 glowalpha-125,180-184-194)
$caps2($if(%album artist%,/ %album artist%,/ %artist%))

$font(Calibri,9,glow- glowexpand-0 glowalpha-125 ,180-184-194)
$align(right,middle)
%date%

TRACK INFO 2

Min height: 53

Edge: none

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

//PLAY/PAUSE
$button(175,4,0,0,48,48,
$if($or(%ispaused%,$not(%isplaying%)),images\wmp11-foobar\play.png,images\wmp11-foobar\play_h.png),
$if($or(%ispaused%,$not(%isplaying%)),images\wmp11-foobar\play_h.png,images\wmp11-foobar\pause_h.png),
$if($or(%ispaused%,$not(%isplaying%)),play,pause)
,)

//RESCAN
$button(79,4,0,0,48,48,images\wmp11-foobar\refresh.png,images\wmp11-foobar\refresh_h.png,Rescan Media Library,)

//PREVIOUS
$button(127,4,0,0,48,48,images\wmp11-foobar\prev.png,images\wmp11-foobar\prev_h.png,previous,)

//NEXT
$button(223,4,0,0,48,48,images\wmp11-foobar\next.png,images\wmp11-foobar\next_h.png,next,)

//ALBUM LIST
$button(271,4,0,0,48,48,images\wmp11-foobar\search.png,images\wmp11-foobar\search_h.png,Album List,)

IMAGES

http://www.rarhost.com/download-zu3bmf.html

for some reason the settings window for my track_info doesn't have a checkbox for update every second

EDIT: nevermind that, i guess the version of track info i am using is newer than yours. refer to this http://wiki.hydrogenaudio.org/index.php?ti...od)#Redraw_type

Edited by seasponge

foobar-3.png

the layout is like:

Horizontal Splitter
   |-- Trackinfo Mod (locked) (min-height 104, border none, background 240/240/240)
   |-- Vertical Splitter
		   |-- Columns Playlist (can be whatever you want) (border none, background 240/240/240)
		   |-- Horizontal Splitter (locked)
				   |-- Seekbar
				   |-- Volume (locked)

code for trackinfo:

// PerTrack
$imageabs2(100,100,0,0,100,100,2,2,$replace(%path%,%filename_ext%,folder.jpg),)

//----------------button background overlay
$drawrect(3,80,97,20,pencolor-null brushcolor-0-0-0 alpha-160)

//----------------artwork border
$drawrect(2,2,100,100,pencolor-0-0-0 brushcolor-null alpha-120)

//----------------buttons
//prev
$button(26,87,0,0,10,10,/images\btn\prev.png,,previous,)
//stop
$button(40,87,0,0,10,10,/images\btn\stop.png,,stop,)

//play/pause
$if(%ispaused%,
$button(54,87,0,0,10,10,/images\btn\play.png,,play,)
,
$button(54,87,0,0,10,10,/images\btn\pause.png,,pause,)
)

//next
$button(68,87,0,0,10,10,/images\btn\next.png,,next,)

images - http://moglenstar.net/btn.rar

just chuck the "btn" folder into your "images" folder, and you should be set to go!

:santa:

@BBMartini

You know, this is probably some kind of silly mistake, but i cannot get the 2 artworks for the top and bottom track info's to show, along with some of the images in the single column playlist.

In any case, is there any alternative to $imageabs(,,images\royale_test.png,)

Edit: Also, the trackinfo itself does not seem to want to update every second

Let me first say thank you very much bbmartini for taking time to explain it to a noob like me.

I, unfortunately have 3 problems

1. As you can see from the picture I do not have the Group(Artist/Album) column properly working.

2. The highlight within the Single Columns display doesn't seem to be working.

3. The 2nd Track info mod isn't displaying correctly.

I posted some pictures, not sure what kind of help they will provide.

http://img113.imageshack.us/img113/9206/foobar1qf2.png

http://img293.imageshack.us/img293/1539/foobar2kn2.png

Thanks in advance, you've been a great help. =D

Let me first say thank you very much bbmartini for taking time to explain it to a noob like me.

I, unfortunately have 3 problems

1. As you can see from the picture I do not have the Group(Artist/Album) column properly working.

2. The highlight within the Single Columns display doesn't seem to be working.

3. The 2nd Track info mod isn't displaying correctly.

I posted some pictures, not sure what kind of help they will provide.

http://img113.imageshack.us/img113/9206/foobar1qf2.png

http://img293.imageshack.us/img293/1539/foobar2kn2.png

Thanks in advance, you've been a great help. =D

You probably dont have the PNG libraries :)

Uncompress them into your foobar root folder (C:\Program Files\Foobar2000 i assume)

pnglibraries.zip

I really wish that fixed the problem. =(

I extracted them into the install directory (you assumed correctly) and still nothing.

You sure? i checked the code of bbmartin and it should be fine, images points correctly, you got the files where they're supposed to be, etc

Wait, i made a mistake when zipping...

You should have the DLL's inside pnglibraries in your root folder, not the folder pnglibraries, my mystake :p

yep.. that did the trick, lol

thanks!

Lol, no problem.

Nice Dom that worked for me too, although i lost all the configs i made :(

Yeah, but they're on

C:\Document and Settings\Username\Application Data\foobar2000

Copy contents in that folder into your C:\Progam Files\foobar2000 to restore your old config :)

I am looking to separate my singles to my albums. would it work best if I make a new tag...say a "comment" tag that says "single" and have code to pull that into a different list or different look than the albums?

What code can I use for this and where does it go?

For the new people using Foobar this has gone really far in the last year and improvements from the community are amazing.

Ok I FINALLY got bbmartini's config to work. I pretty much had to reinstall and start from scratch. No problem.

One question though, any chance of having the playback order in the right menu or something. I don't want it on the UI as it looks very unattractive. Any ideas?

Ok I FINALLY got bbmartini's config to work. I pretty much had to reinstall and start from scratch. No problem.

One question though, any chance of having the playback order in the right menu or something. I don't want it on the UI as it looks very unattractive. Any ideas?

Put an autohide menu, that way when you need it, you hover it, it appears, you make the changes you need, move over the mouse, and it'll dissapear, i do that :)

my foobar

obviously heavily borrowed from bbmartini and moglenstar (thanks ;) )

screenshotdf1.jpg

LAYOUT:

Vertical splitter
  |_Single Column Playlist View
  |_Horizontal Splitter
	   |_Track info mod

row height: 20

group rows: 3

edge style: none

ITEM DISPLAY:

$if(%isplaying%,$imageabs(,,\images\main_bg_playing.png,)$font(calibri,8,,0-88-118),$if($stricmp($mod(%list_index%,2),1),$drawrect(,,,,brushcolor-245-245-245 pencolor-null)))
$padding(3,3)
$align(left,center)
$if(%tracknumber%,%tracknumber%,$left(%filename%,2))

$align(right,)
$if(%isplaying%,%playback_time_remaining%,%length%)

$padding(20,0)
$align(left,center)
$caps2(%title%)

GROUP DISPLAY:

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

$imageabs(20,0,images\vinyl.png,)
$imageabs(0,0,images\cover_bg.png,)
$imageabs2(48,48,0,0,48,48,6,6,$replace(%path%,%filename_ext%,folder.jpg),)

$font(Calibri,12,bold,0-0-0)
$alignabs(90,15,%_width%,%_height%,left,)
[%album% ]
$alignabs(90,30,%_width%,%_height%,,)
$font(Calibri,9,bold,0-0-0)
%artist%

$alignabs(320,15,100,100,,)
$font(Calibri,12,bold,0-0-0)
$char(39)$right(%date%,2)

minimum height: 24

edge style: none

TRACK INFO MOD:

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

//PLAY/PAUSE
$button(275,2,0,0,23,21,
$if($or(%ispaused%,$not(%isplaying%)),images\bbm\pause.png,images\bbm\pause.png),
$if($or(%ispaused%,$not(%isplaying%)),images\bbm\pause_h.png,images\bbm\pause_h.png),
$if($or(%ispaused%,$not(%isplaying%)),play,pause)
,)

//PREVIOUS
$button(250,2,0,0,25,21,images\bbm\prev.png,images\bbm\prev_h.png,previous,)

//NEXT
$button(298,2,0,0,25,21,images\bbm\next.png,images\bbm\next_h.png,next,)

//ALBUM LIST
$button(330,2,0,0,26,21,images\bbm\search.png,images\bbm\search_h.png,Album List,)

IMAGES:

images.rar

Edited by seasponge

I am looking to separate my singles to my albums. would it work best if I make a new tag...say a "comment" tag that says "single" and have code to pull that into a different list or different look than the albums?

What code can I use for this and where does it go?

For the new people using Foobar this has gone really far in the last year and improvements from the community are amazing.

What you can do is use the autoplaylist plugin (found here) to create playlists that can be determined by whatever tag you want.

Use the masstagger to add a tag called SINGLE and to set that value to 1 on all your singles.

Create a new playlist called Singles

Then in the autoplaylist plugin for the query put %single% IS 1 and in the playlist to take over dropdown select the singles playlist you created.

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

    • No registered users viewing this page.