Foobar2000 Customization Topic


Recommended Posts

+unabatedshagie

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.

Link to post
Share on other sites
+unabatedshagie

I have all my album art stored in a folder called _Artists And Artwork

The images are stored in the following format %artist%_%album%.jpg

Is there any way of changing this line of code

$imageabs2(48,48,0,0,48,48,6,6,$replace(%path%,%filename_ext%,folder.jpg),)

to work with this setup?

Link to post
Share on other sites
MrFuji

A bit of spex, a bit of Moglenstar, a bit of bbmartini and a bit of MrFuji'ness ;)

foobxf7.png

Link to post
Share on other sites
Dom

I have all my album art stored in a folder called _Artists And Artwork......

$imageabs2(48,48,0,0,48,48,6,6,$replace(%path%,%filename_ext%,%artist%_%album%.jpg),)

Dosent work? Never tried to use dynamic images =O

Link to post
Share on other sites
Spidy`

A bit of spex, a bit of Moglenstar, a bit of bbmartini and a bit of MrFuji'ness ;)

Mind sharing this playlist config please ?

Link to post
Share on other sites
MrFuji

Mind sharing this playlist config please ?

Sure :)

Row Height: 22

Group Display:

%album%

Item Display:

$ifequal($mod(%_playlist_number%,2),0,
$drawrect(,,,,brushcolor-255-255-255 pencolor-null),)
$if(%_selected%,$imageabs(,,itunes\playing.png,),
$if(%_isplaying%,$imageabs(,,itunes\playing_bg.png,)))

$padding(4,4)
$font(Calibri,8,,$if(%_selected%,0-0-0,$if(%_isplaying%,0-0-0,97-97-97)))

$font(Calibri,8,,)
%list_index%. [$meta(artist) - ]%title%
$align(right,bottom)
//[%playback_time% / ]%length%
%length%

$imageabs(218,$if($strcmp(%tracknumber%,01),0,$add(23,$mul(-23,%tracknumber%))),itunes\casey.png,)
$imageabs2(563,98,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,14)),,%_height%,10,,$replace(%path%,%filename_ext%,cover.jpg),)

Group Display:

$imageabs(,,itunes\header.png,)
$imageabs(6,3,itunes\albumlogo.png,)
$padding(30,5)

$font(Verdana,8,,255-255-255)
%album%

It will look bad on single playlists though...

If you have tagged your files with a field like %single% you can replace the last two lines of the item display with:

$if(%single%,,$imageabs(218,$if($strcmp(%tracknumber%,01),0,$add(23,$mul(-23,%tracknumber%))),itunes\casey.png,))
$imageabs2(563,98,0,$sub($mul(%_height%,%_itemindex%),$add(%_height%,14)),,%_height%,10,,$replace(%path%,%filename_ext%,cover.jpg),)

And, last but not least, the images... extract into <foobar-settings-folder>\itunes\

images.zip

Link to post
Share on other sites
zilentic

My conf.

Stolen, ripped & edited :)

Header img is from a wallpaper. header in playlist is from somebody else's conf.

Sry for the bad img quality, had to compress to fit the global space limit in here.

post-186739-1167491766_thumb.jpg

Link to post
Share on other sites
system6680
Thank you! Great config.

I dont succes to config.Can you send you'r pack? :)

Link to post
Share on other sites
Mictre
untitled1dd3.jpg

...

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

I'm using these Track Info buttons. It works well when I run foobar manually. But if I click on a single mp3 file in Explorer, foobar play the file but the buttons are not there. Someone have the same problem?

Link to post
Share on other sites
rage710

Okay, so I installed Foobar on my comp for the first time. What are some essential plugins and/or skins that you'll must use?

Link to post
Share on other sites
serect
I'm using these Track Info buttons. It works well when I run foobar manually. But if I click on a single mp3 file in Explorer, foobar play the file but the buttons are not there. Someone have the same problem?

According to

http://www.hydrogenaudio.org/forums/index....st&p=457065

you should change the button images path

ex:

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

thus can solve your problem

sorry for my poor english, i hope you can understand what i mean

Link to post
Share on other sites
ThehAWKs
My conf.

Stolen, ripped & edited :)

Header img is from a wallpaper. header in playlist is from somebody else's conf.

Sry for the bad img quality, had to compress to fit the global space limit in here.

Can you post your Foobar200 theme just make a desktop screen shot of your config settings

Link to post
Share on other sites
zilentic

Row height: 20

Group rows: 2

::: Group by ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

$if(%totaltracks%,%album%,-)

::: Item display ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

$puts(imagedir,'C:\Program\foobar2000\images\')

$puts(coverstring,$replace(%path%,%filename_ext%,folder.jpg))

$puts(nocover,C:\Program Files\foobar2000\images\itunes\nocover.png)

$puts(font1,200-200-200)

$puts(font2,100-100-100)

$puts(font3,150-150-150)

$puts(font4,180-180-180)

$puts(font5,200-200-200)

$puts(font6,200-200-200)

$puts(font7,94-162-236)

$if(%_selected%,

$puts(font1,245-245-245)

$puts(font2,245-245-245)

$puts(font3,245-245-245)

$puts(font4,245-245-245)

$puts(font5,245-245-245)

$puts(font6,200-200-200)

)

$if($stricmp($mod(%list_index%,2),1),$drawrect(0,0,0,0,brushcolor-245-245-245 pencolor-null))

$if(%_selected%,$drawrect(0,0,0,0,brushcolor-$if($stricmp($mod(%list_index%,2),1),190-190-190,200-200-200) pencolor-null))

$if(%_focused%,$drawrect(-1,0,$add(%_width%,2),0,brushcolor-null pencolor-160-160-160))

$alignabs(100,0,20,%_height%,center,middle)

$font(Tahoma,7,bold,$get(font1))

$num($if(%totaltracks%,%tracknumber%,%_itemindex%),2).

$alignabs(120,0,$sub(%_width%,$if($and(%totaltracks%,$greater(%_itemcount%,4),$greater(6,%_itemindex%)),112,24)),%_height%,,middle)

$font(Tahoma,7,bold,$get(font7))

$if(%isplaying%,'['%playback_time_remaining%$if(%ispaused%,.)']'

$if($or($greater($muldiv(%playback_time_seconds%,100,%length_seconds%),49),$greater(%playback_time_seconds%,239)),) )

$font(Tahoma,7,bold,$get(font2))

$if(%totaltracks%,,%artist% - )%title%

$font(Tahoma,7,bold,$get(font5))[%play_counter%x]

// 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%,93),1,85,18,center,middle)$font(wingdings,10,,$if(%isplaying%,100-130-150,150-150-150))$repeat(?,$get(rating))$font(wingdings,10,,$if(%isplaying%,170-200-220,220-220-220))$repeat(?,$sub(5,$get(rating)))

// lyrics & rating tagcheck

$alignabs($sub(%_width%,15),1,10,18,center,middle)$font(wingdings 2,10,,$if(%lyrics%,$if(%isplaying%,100-130-150,150-150-150),$if(%isplaying%,170-200-220,220-220-220)))P

$if($and(%totaltracks%,$greater(%_itemcount%,4),$greater(6,%_itemindex%)),

$imageabs2(92,92,,,,,0,$sub($add(-4,%_height%),$mul(%_itemindex%,%_height%)),$get(imagedir)albumbg2.png,nokeepaspect)

$imageabs2(76,76,,,,,8,$sub($add(4,%_height%),$mul(%_itemindex%,%_height%)),$get(nocover),nokeepaspect)

$alignabs($sub(%_width%,70),$sub($add(12,%_height%),$mul(%_itemindex%,%_height%)),82,82,,)$font(wingdings 2,52,bold textalpha-30,255-255-255)?

$imageabs2(76,76,,,,,8,$sub($add(4,%_height%),$mul(%_itemindex%,%_height%)),$get(coverstring),nokeepaspect)

)

::: Group display ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

$puts(imagedir,'C:\Program\foobar2000\images\itunes\')

// background

$imageabs2(,,,,,,,,$get(imagedir)header.png,)

// top row

$alignabs(22,4,$sub(%_width%,80),20,,)$font(Zurich Cn Bt,9,bold uppercase,240-240-240)

$if(%totaltracks%,%album% / %date%,single tracks)

// bottom row

$alignabs(22,16,$sub(%_width%,80),20,,)$font(ZapfHumnst BT,9,bold lowercase,190-190-190)

$if($or($stricmp(%playlist_name%,most played songs),$stricmp(%playlist_name%,by rating),$not(%totaltracks%)),assorted artists,%band%)

// right side

$if(%totaltracks%,

$alignabs($sub(%_width%,80),6,75,10,right,)$font(Tahoma,7,bold,230-230-230)%_itemcount% tracks

$alignabs($sub(%_width%,80),18,75,10,right,)$font(Tahoma,7,bold,170-170-170)%genre%

,

$alignabs($sub(%_width%,80),12,75,10,right,)$font(Tahoma,7,bold,230-230-230)%_itemcount% tracks

)

// little arrow

$alignabs(,1,20,36,center,middle)$font(Wingdings 3,6,,120-120-120)q

And again, i take no credits for no code. Mostly done by spex. And i dont have premission on any imgs, so you gotta make your o:) :)

post-186739-1167730022.jpg

Link to post
Share on other sites
ThehAWKs

Thanks for the cofig using it right now

just seen this one made by CepiPerez :)

01.jpg05.jpg

Link to post
Share on other sites
fmxer

Trying to make a progress bar with trackinfomod, not having a great deal of luck with the moving of the indicator. Someone wanna help out? The indicator is a small 5x5 box that starts at 32 and ends at 303. I figure that:

* I find what's between 303 and 32 = 271.

* Find 1/100th of 271 = 2.71

Then I just need an incrementing percentage to multiply the 1/100th of the distance on the progress bar with.

* (current playback time / total length) x 100 = percentage of song played

* 2.71 x percentage of song played

and the box should move? :s im tired lol

$puts(PLAYBACK_PERCENTAGE, $mul($div(%playback_time_seconds%, %length_seconds%), 100))
$drawrect($add(32,$mul(2.71,$get(PLAYBACK_PERCENTAGE))),6,5,5,brushcolor-240-240-240 pencolor-null)

Indicator doesn't move. It's pretty late so I'm thinking it's something silly that I've missed. Plus i'm not so hot with maths lol.

Link to post
Share on other sites
Bunio

@fmxer

Maybe this code is working good ?

$padding(0,-8) 
$drawrect(,,,20,brushcolor-null pencolor-70-115-170) 

$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%)) 

$ifgreater($get(progress),0, 
$padding(2,2)$drawrect(,,$get(progress),16,brushcolor-70-115-170 pencolor-null),)$align(top,left)

Change only the colors, or not. ;)

Or enter to beggining of code in yours configuration:

// PerSecond

Edited by mBunio
Link to post
Share on other sites
fmxer

mBunio:

Thanks very much for your effort, it works but it's not quite what I'm after, I just want a small moving block, not the whole bar. Appreciate your contribution though. :) Tomorrow when I'm more awake I will have a look over your code and see if I can get something out of it, as I'm still new to foobar config coding.

Thanks. :)

Link to post
Share on other sites
Mictre

My new conf (based on bbmartini's conf)

foobartd3.jpg

Is there any way to remove the border between panels? All panels edge style are set to "none" but there is still a border (see on the image).

Link to post
Share on other sites
zilentic

Why divide it into two panels? Just create a new splitter att the bottom and make it one?

Samuel

Link to post
Share on other sites
Mictre
Why divide it into two panels? Just create a new splitter att the bottom and make it one?

Yeah, I could do that.

But I would also like to remove the border between the albumTree and the singleList. Is it possible?

Link to post
Share on other sites
ThePAW

I'm totally new to Foobar2k, can anyone link me to stuff that I might need to customise my player like some of the people in this thread have. I'm totally confused by the codes that people are posting and where to put them etc.

Cheers for any help

Link to post
Share on other sites
Harlem39s Finest
I'm totally new to Foobar2k, can anyone link me to stuff that I might need to customise my player like some of the people in this thread have. I'm totally confused by the codes that people are posting and where to put them etc.

Cheers for any help

http://www.hydrogenaudio.org/forums/index.php?showforum=28

Link to post
Share on other sites
ds-

How do you get the Artist List to show up? I can't figure it out.

Also I can't get the black bar for each album title and the blue bar for now playing also doesn't show.

Got it like this so far.

foogl8.jpg

Love your setup Mictre!

Edited by ds-
Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.