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

    • "TeamViewer is the fast, simple and friendly solution for remote access over the Internet" Regarding the "friendly" description, has is stopped unceremoniusly booting your session after a couple of minutes accusing you of using it in a commercial environment?!
    • I hate religious supremacist genocidal maniacs. How antisemitic of you to imply that's what all Jews are like. Still no links I see. I guess when you're a zionists, backing your claims with proof doesn't matter. bEliEvE mE oR yOuRe hItLeR.
    • Moto G Stylus has better specs and a stylus. Search for the specs to see if they they're important to you. 
    • Funny how people who don't use OneDrive feel the need to give their opinion.
    • Win11Debloat 06.10.2026 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 06.10.2026 release notes: This release brings some long-requested features alongside a host of fixes. For starters, Win11Debloat can now automatically detect previously applied tweaks for the logged-in user. And reverting them is as simple as unchecking the corresponding setting. The script now also fully supports running under the SYSTEM account, which has also made it possible to apply changes to users who are still logged in. This makes it far easier to integrate Win11Debloat into your automations and deployments. What's changed: Add confirmation dialogs & warning for Windows Terminal Removal by @Raphire Add Support for running the script under SYSTEM account by @soccerzockt in #609 With this, support was also added for applying changes to users that are still logged-in. Add option to show & undo previously applied tweaks by @Raphire in #599 Add additional options to change the All Apps view in the start menu (Hide, Grid, Category, List) by @Raphire in #599 Clean up logging of exceptions during Appx Package uninstallation via Write-Verbose by @HetCreep in #617 Improve log output in Get.ps1/Get-Dev.ps1 and clean up file exclusions by @Raphire Remove RemoveCommApps and RemoveW11Outlook app removal parameters. Use -RemoveApps parameter instead by @Raphire in #599 Resolve nested quoting bug in Run.bat when path has spaces, see #583 by @Raphire in #599 Fix desync issue when toggling "Only Show Installed" checkbox too fast by @Raphire in #599 Fix: add missing keys in Sysprep/Undo regfiles for Disabling Recall and Windows Suggested content by @Raphire in #599 Fix 'Disable Animations' Sysprep settings not being set for new users by @Raphire in #599 Fix typo in Disable_Game_Bar_Integration Sysprep registry file by @Raphire Note The -RemoveCommApps and -RemoveW11Outlook command-line parameters for uninstalling a few specific apps have been removed with this release. If you previously relied on these parameters, please see this wiki page for alternative methods of removing these apps. Download: Win11Debloat 06.10.2026 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • One Month Later
      Sopa flores earned a badge
      One Month Later
    • First Post
      StaticMatrix earned a badge
      First Post
    • Week One Done
      StaticMatrix earned a badge
      Week One Done
    • Rookie
      lamborghiniv10 went up a rank
      Rookie
    • One Month Later
      pinnclepd earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      PsYcHoKiLLa
      207
    3. 3
      +Edouard
      156
    4. 4
      Steven P.
      89
    5. 5
      ATLien_0
      79
  • Tell a friend

    Love Neowin? Tell a friend!