Recommended Posts

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?

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

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?

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

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

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

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.

@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

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. :)

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

It works, Thank you!

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

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

    • No registered users viewing this page.
  • Posts

    • Wow, imagine you dump hundreds of hours into completing things and unlocking stuff and you lose it all. Back in the day when cheats were built into games, you could at least unlock things again that way without spending hundreds of hours again. But those days are long gone for some reason as no one builds cheats into games anymore. So it's even more painful that studio that's on its 6th installment **** it up so badly.
    • Spotify finally removes the disco ball app icon in the latest update by Ivan Jenic Image: Spotify Spotify has just released an update that removes its now infamous disco ball icon. The update reverts the app icon to the familiar flat green logo after weeks of mixed reactions online. The icon arrived on May 13 as part of the company's 20th anniversary celebration and was always intended to be temporary, though Spotify only confirmed that after the backlash started. The disco ball took the internet by storm, as the reception was split. A vocal group of users called it ugly and disorienting, with some iOS users noting that the 3D glowing effect made the app look like it was stuck mid-update. On the other end, the icon picked up a following of its own. Its retro, three-dimensional look immediately stood out against the flat, minimalist aesthetic that has dominated app design for years. It even started a small movement, spawning what people started calling "discomorphism," a mashup of disco and skeuomorphism. Other brands started posting disco ball versions of their own logos, probably in an effort to ride the wave of memes that flooded the internet during late May. Spotify has had a turbulent relationship with its user base lately. Besides the disco ball icon, which certainly wasn't appreciated by everyone, the company has also received backlash for its willingness to include AI-generated music on its platform. On May 17, Spotify promised the old icon would return “in a few weeks.” And now it looks like that time has finally arrived. So, whether you liked the disco ball or it made you uncomfortable, it’s now gone for good. The next time you update the Spotify app on your phone, the old, flat-design icon will return.
  • Recent Achievements

    • One Year In
      slackerzz earned a badge
      One Year In
    • One Year In
      highriskpaym earned a badge
      One Year In
    • One Month Later
      highriskpaym earned a badge
      One Month Later
    • Week One Done
      highriskpaym earned a badge
      Week One Done
    • Week One Done
      FBSPL earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      519
    2. 2
      PsYcHoKiLLa
      197
    3. 3
      +Edouard
      157
    4. 4
      Steven P.
      84
    5. 5
      ATLien_0
      75
  • Tell a friend

    Love Neowin? Tell a friend!