Recommended Posts

here's mine. I try to keep it as minimal as possible but often I fail miserably. I'm totally in love with the colors of the Tempura VS so I tried to match my Foobar pretty close.

Parts of the scheme are Spex & the tab switching is inspired by smarterchild.

A simple "Now Playing" screen

foobar_tem_01.png

Single Column Playlist

foobar_tem_02.png

Album List (pretty sparse as this is my work machine)

foobar_tem_03.png

Lyrics Panel (I'm still playing with this)

foobar_tem_04.png

And here is one of the SCP with the Playlist dropdown & tab switch buttons on the bottom (they pop up on mouse over on every tab panel)

foobar_tem_05.png

All comments welcome.

Awesome, except for the SCP, which I don't like much. Release I say!

i know this a little bit off topic but can anyone help me here

see image,

i need to change the color of the last parenthesis, cause the code i'm using seems to be confused by the nested parenthesis. is it possible to fix this by modifying the code? here's what i'm using now:

$replace(%title%,'(',$font(calibri,9,bold,100-100-100)'(',')',')'$font(calibri,9,boldshadow glowalpha-50,255-255-255),'[',$font(calibri,9,bold,100-100-100)'[',']',']'$font(calibri,9,boldshadow glowalpha-50,255-255-255))

Thank You

NOTE: the image should read "change the color OF the last parenthesis"

post-10353-1166331117_thumb.jpg

Edited by MyMaster

i know this a little bit off topic but can anyone help me here

see image,

i need to change the color of the last parenthesis, cause the code i'm using seems to be confused by the nested parenthesis. is it possible to fix this by modifying the code? here's what i'm using now:

$replace(%title%,'(',$font(calibri,9,bold,100-100-100)'(',')',')'$font(calibri,9,boldshadow glowalpha-50,255-255-255),'[',$font(calibri,9,bold,100-100-100)'[',']',']'$font(calibri,9,boldshadow glowalpha-50,255-255-255))

Thank You

NOTE: the image should read "change the color OF the last parenthesis"

Try this:

$replace(%title%,'(',$font(calibri,9,bold,100-100-100)'(',')',$font(calibri,9,bold,100-100-100)')'$font(calibri,9,boldshadow glowalpha-50,255-255-255),'[',$font(calibri,9,bold,100-100-100)'[',']',$font(calibri,9,bold,100-100-100)']'$font(calibri,9,boldshadow glowalpha-50,255-255-255))

I think it should work..

Try this:

$replace(%title%,'(',$font(calibri,9,bold,100-100-100)'(',')',$font(calibri,9,bold,100-100-100)')'$font(calibri,9,boldshadow glowalpha-50,255-255-255),'[',$font(calibri,9,bold,100-100-100)'[',']',$font(calibri,9,bold,100-100-100)']'$font(calibri,9,boldshadow glowalpha-50,255-255-255))

I think it should work..

thanks, that did it :yes:

arrrrrggg, need more help :pinch:

i'm trying to use a noalbum image and a cover overlay image, and it does work when i go to settings and use apply, but if i, for example, right click a music directory and select play in foobar then my noalbum and overlay images don't work (disappear). not sure if it is because i'm, using the same dimensions for all images.

any help would be appreciated.

here's my Group display code and pictures of what i get if i go to settings and apply which is what i want, and what i get if i "restart" foobar

$if(%album%,

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

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

)

$if(%album%,

$imageabs2(100,94,0,0,,,4,6,'images\nocover.jpg',NOKEEPASPECT)

$imageabs2(100,94,0,0,,,4,6,$replace(%path%,%filename_ext%,)album.jpg,NOKEEPASPECT)

$imageabs2(100,94,0,0,,,4,6,'images\artoverlay.png',NOKEEPASPECT),

)

$imageabs(113,94,images\bar_artist2.png,)

$if(%album%,$alignabs(113,2,1000,60,,)$font(impact,40,textalpha-25,255-170-30)%artist%,)

$alignabs(113,65,1000,20,,)

$font(calibri,11,glow-32-32-32,255-170-30)[%artist%]

$if(%album%,$font(calibri,11,glow-64-64-64,255-255-255) ? $font(calibri,11,glow-32-32-32,255-170-30)%album%,

)

$if(%album%,

$alignabs($sub(%_width%,406),75,400,20,right,)

$if(%genre%,

$font(calibri,8,glow-64-64-64,255-255-255)

$if(%genre%,%genre%,'('Unknown Genre')')

$font(calibri,9,glow-32-32-32,255-170-30)? ,

)

$if(%date%,

$font(calibri,8,glow-64-64-64,255-255-255)

$if(%date%,%date%,'('Unknown Date')')

$font(calibri,9,glow-32-32-32,255-170-30)? ,

)

$font(calibri,8,glow-64-64-64,255-255-255)%_itemcount% track

$if($stricmp(%_itemcount%,1),,s)

$font(calibri,9,glow-32-32-32,255-170-30)?

$font(calibri,8,glow-64-64-64,255-255-255)%codec%

$if(%__replaygain_album_gain%,

$font(calibri,9,glow-32-32-32,255-170-30)?

$font(calibri,8,glow-64-64-64,255-255-255)AlbumGain:

$if(%__replaygain_album_gain%,%__replaygain_album_gain%, '('not available')')),

)

post-10353-1166595430_thumb.jpg

post-10353-1166595556_thumb.jpg

arrrrrggg, need more help :pinch:

i'm trying to use a noalbum image and a cover overlay image, and it does work when i go to settings and use apply, but if i, for example, right click a music directory and select play in foobar then my noalbum and overlay images don't work (disappear). not sure if it is because i'm, using the same dimensions for all images.

any help would be appreciated.

here's my Group display code and pictures of what i get if i go to settings and apply which is what i want, and what i get if i "restart" foobar

i do it like this,

// album art
$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),)

this is how it turns out:

cover_foo.png

if you want to add an overlay, you would do it like this

// album art
$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),)
$imageabs(0,0,images\cover_overlay.png,)

the overlay would have to be transparent ofcourse

these are my images, the vinyl image and line of code is totally optional, i just made it to look that little bit more awesome ;)

just whack these in your "images" folder.

http://i42.photobucket.com/albums/e302/mog...ar/cover_bg.png

http://i42.photobucket.com/albums/e302/moglenstar/vinyl.png

omartconfigea7.png

*You will need to replace the image dir global variable in the track info panels according to your foobar directory

LAYOUT


Vertical Splitter
  - Horizontal Splitter
		-Track info mod
  - Horizontal Splitter
	   - Single Column Playlist View
	   - Vertical Splitter
				- Lyric Show
				- Track info mod
				- Album Art
  - Vertical Splitter
		- Track info Mod


TRACKINFO FOR RATING WITH TAGS {DYNAMIC AND TEXT BASED}

// Global
$puts(panelbg,245-245-245)

// Rating or Autorating Display
$if(%rating%,$puts(rating,%rating%),$puts(rating,$sub(%play_counter%,$div($cwb_datediff(%cwb_systemdatetime%,%first_played%),28))))
$if($greater($get(rating),5),$puts(rating,5))
$if($greater(0,$get(rating)),$puts(rating,0))
$alignabs($sub($div(%_width%,2),31),0,60,16,center,middle)$font(wingdings,10,,130-130-130)$repeat(?,$get(rating))$font(wingdings,10,,220-220-220)$repeat(?,$sub(5,$get(rating)))

// Rating Buttons
$puts(rating,$if2(%rating%,0))
$button($sub($div(%_width%,2),38),1,8,0,12,16,,,TAG:SET:Rating:1,)
$button($sub($div(%_width%,2),38),1,20,0,12,16,,,TAG:SET:Rating:2,)
$button($sub($div(%_width%,2),38),1,32,0,12,16,,,TAG:SET:Rating:3,)
$button($sub($div(%_width%,2),38),1,44,0,12,16,,,TAG:SET:Rating:4,)
$button($sub($div(%_width%,2),38),1,56,0,12,16,,,TAG:SET:Rating:5,)

TOP TRACKINFO

// Global
$puts(imagedir,'D:\Program Files\foobar\images\delta\')
$puts(panelbg,245-245-245)

// Background
$drawrect(,,,,brushcolor-$get(panelbg) pencolor-null)
$imageabs2(,,,,,,0,3,$get(imagedir)trackinfo1.png,)

// PerTrack
// Preferences & Highlight
$button(8,21,0,0,11,11,$get(imagedir)dir.png,$get(imagedir)dirh.png,preferences,)
$button($sub(%_width%,17),21,0,0,11,11,$get(imagedir)info.png,$get(imagedir)infoh.png,activate now playing,)

// PerSecond

$puts(str1,"%title%"[ by %artist%][ / %album%])
$puts(str2,"%title%"[ %genre%][ from %date%])
$puts(str3,"%title%"[ by %artist%][ / %album%][ '('[%genre%][, %date%]')'])

// Audioscrobbler
$if($or($greater($muldiv(%playback_time_seconds%,100,%length_seconds%),79),$greater(%playback_time_seconds%,379)),$imageabs2(,,,,,,$sub(%_width%,88),3,$get(imagedir)as.png,))

$if(%isplaying%,
// Progress Bar
$drawrect($muldiv(%_width%,15,100),32,$muldiv(%_width%,70,100),8,brushcolor-null pencolor-215-215-215)
$drawrect($add($muldiv(%_width%,15,100),2),34,$ifgreater($muldiv($sub($muldiv(%_width%,70,100),4),%playback_time_seconds%,%length_seconds%),0,$muldiv($sub($muldiv(%_width%,70,100),4),%playback_time_seconds%,%length_seconds%),1),4,brushcolor-180-180-180 pencolor-null)
$alignabs($sub($muldiv(%_width%,15,100),33),30,35,13,center,middle)$font(verdana,6,bold,215-215-215)$if2(%playback_time%,0:00)
$alignabs($muldiv(%_width%,85,100),30,33,13,center,middle)$font(verdana,6,bold,215-215-215)$if2(%length%,0:00)
$alignabs(20,9,$sub(%_width%,28),16,center,middle)$font(verdana,7,bold,215-215-215)

// 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))

,

// Not Playing...
$alignabs($div($sub(%_width%,50),2),6,50,45,center,middle)
$font(wingdings,20,bold,170-170-170)z

)

BOTTOM TRACKINFO

// Global
$puts(panelbg,245-245-245)
$puts(imagedir,'D:\Program Files\foobar\images\delta\')

// Background
$drawrect(,,,,brushcolor-$get(panelbg) pencolor-null)
$imageabs2(,,,,,,0,3,$get(imagedir)trackinfo2.png,)

// PerTrack

// Prev
$button(14,8,0,0,18,16,$get(imagedir)mprev.png,$get(imagedir)mprevh.png,previous,)
// Play & Pause
$button(34,8,0,0,18,16,
$if($or(%ispaused%,$not(%isplaying%)),$get(imagedir)mplay.png,$get(imagedir)mpause.png),
$if($or(%ispaused%,$not(%isplaying%)),$get(imagedir)mplayh.png,$get(imagedir)mpauseh.png),
$if($or(%ispaused%,$not(%isplaying%)),play,pause)
,)
// Stop
$button(54,8,0,0,18,16,$get(imagedir)mstop.png,$get(imagedir)mstoph.png,stop,)
// Next
$button(74,8,0,0,18,16,$get(imagedir)mnext.png,$get(imagedir)mnexth.png,next,)


$if(%isplaying%,

// Information
$alignabs(24,8,$sub(%_width%,50),16,right,middle)$font(Zurich Cn BT,9,bold,215-215-215)
$upper(
%album%  '//'  %codec% @  %__bitrate% Kbps  '//' 
)

,

// Not Playing...


)

GROUP BY

$if2($if(%totaltracks%,%album%),0)

ITEM DISPLAY

$puts(imagedir,'D:\Program Files\foobar\images\delta\')
$puts(coverstring,$replace(%path%,%filename_ext%,folder.jpg))

// Background
$if($stricmp($mod(%list_index%,2),1),$drawrect(,,,,brushcolor-245-245-245 pencolor-null))
$drawrect(-1,-1,$add(%_width%,2),19,brushcolor-null pencolor-230-230-230)
$if(%_selected%,$imageabs2(,,,,,,,,$get(imagedir)selected.png,))
$if(%isplaying%,$imageabs2(,,,,,,,,$get(imagedir)playing.png,))
$if(%_focused%,$imageabs2(,,,,,,,,$get(imagedir)focused.png,))


$if($and($greater(7,%_itemindex%),$greater(%_itemcount%,5),%totaltracks%),

// Coverart
$drawrect(-1,$sub(17,$mul(%_itemindex%,18)),109,109,brushcolor-255-255-255 pencolor-240-240-240l)
$imageabs2(97,97,,,,,5,$sub(23,$mul(%_itemindex%,18)),$get(imagedir)nocover.png,)
$imageabs2(97,97,,,,,5,$sub(23,$mul(%_itemindex%,18)),$get(coverstring),)
$drawrect(5,$sub(23,$mul(%_itemindex%,18)),97,97,brushcolor-null pencolor-200-200-200)
$drawrect(6,$sub(24,$mul(%_itemindex%,18)),95,95,brushcolor-null pencolor-255-255-255 alpha-200)

// Info for files with Coverart
$if(%isplaying%,$alignabs(115,4,39,39,,)$font(wingdings 3,6,,150-150-150)$if(%ispaused%, ,u),
$alignabs(109,,22,18,center,middle)$font(verdana,5,bold,180-180-180)$num(%tracknumber%,2).)
$alignabs(131,,$sub(%_width%,270),18,left,middle)$font(calibri,8,bold,$if(%isplaying%,110-110-110,130-130-130))%title%
$alignabs($sub(%_width%,142),,50,18,right,middle)$font(calibri,8,bold,$if(%isplaying%,130-160-180,180-180-180))[%play_counter%x  ∙  ]$font(verdana,6,bold,$if(%isplaying%,80-80-80,120-120-120))$if(%isplaying%,%playback_time_remaining%,%length%),

// Info for without Coverart
$if(%isplaying%,$alignabs(7,4,39,39,,)$font(wingdings 3,6,,150-150-150)$if(%ispaused%, ,u),
$alignabs(1,,22,18,center,middle)$font(verdana,5,bold,180-180-180)$if(%totaltracks%,%tracknumber%.,$num(%_itemindex%,2).))
$alignabs(23,,$sub(%_width%,162),18,left,middle)$font(calibri,8,bold,$if(%isplaying%,80-80-80,130-130-130))$if(%totaltracks%,,[%artist% - ])%title%$font(calibri,8,bold,$if(%isplaying%,80-80-80,120-120-120))$if(%totaltracks%,,[ '('%genre%[',' %date%]')'])
$alignabs($sub(%_width%,142),,50,18,right,middle)$font(calibri,8,bold,$if(%isplaying%,80-80-80,130-130-130))[%play_counter%x  ∙  ]$font(verdana,6,bold,$if(%isplaying%,80-80-80,120-120-120))$if(%isplaying%,%playback_time_remaining%,%length%))

// Autorating Display
$if(%rating%,$puts(rating,%rating%),$puts(rating,$sub(%play_counter%,$div($cwb_datediff(%cwb_systemdatetime%,%first_played%),28))))
$if($greater($get(rating),5),$puts(rating,5))
$if($greater(0,$get(rating)),$puts(rating,0))
$alignabs($sub(%_width%,92),1,76,18,center,middle)$font(wingdings,10,,$if(%isplaying%,140-140-140,130-130-130))$repeat(?,$get(rating))$font(wingdings,10,,$if(%isplaying%,220-220-220,220-220-220))$repeat(?,$sub(5,$get(rating)))

// Replaygain Check
$alignabs($sub(%_width%,14),1,10,18,center,middle)$font(wingdings,6,,$if(%isplaying%,80-80-80,170-170-170))$if($or(%__replaygain_album_gain%,%__replaygain_track_gain%),v)

GROUP DISPLAY

$puts(imagedir,'D:\Program Files\foobar\images\delta\')

// Background
$imageabs2(,,,,,,,,$get(imagedir)whiteheader.png,)

// Top Row
$alignabs(24,4,$sub(%_width%,80),20,,)$font(Zurich Cn Bt,9,bold uppercase,170-170-170)
$if(%totaltracks%,%album% [/ %date%],Single Tracks)

// Bottom Row
$alignabs(24,15,$sub(%_width%,80),20,,)$font(Zurich Cn Bt,8,bold,190-190-190)
$if($or($stricmp(%playlist_name%,most played songs),$stricmp(%playlist_name%,by rating),$not(%totaltracks%)),Assorted Artists,%artist%)

// Right Side
$if(%totaltracks%,
$alignabs($sub(%_width%,80),3,75,10,right,)$font(Kroeger 05_55,9,,190-190-190)%_itemcount% tracks
$alignabs($sub(%_width%,80),11,75,10,right,)$font(Kroeger 05_55,9,,190-190-190)$replace(%filename_ext%,%filename%.,)[ %codec_profile%]$if($or($strstr(%codec_profile%,VBR),%__bitrate_nominal%),, %__bitrate%kbps)
$alignabs($sub(%_width%,80),19,75,10,right,)$font(Kroeger 05_55,9,,190-190-190)$if2(%genre%,'other')
,
$alignabs($sub(%_width%,80),11,75,10,right,)$font(Kroeger 05_55,9,,190-190-190)%_itemcount% tracks
)

// Little Arrow
$alignabs(,0,24,32,center,middle)$font(Wingdings 3,6,,190-190-190)q

images.zip

Can someone go step by step with me on this particular config?

http://www.hydrogenaudio.org/forums/index....mp;#entry455414

I can't figure out for the life of me where the config scripts are supposed to be pasted into. I would really appreciate it.

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

    • No registered users viewing this page.