Recommended Posts

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

i cannot get the hang of panelsui..... i can't figure out how to add panels or anything, i understand it's far superior to columnsui but columns were so easy, it's seems like now you have to know code in order to customize your foobar. :(

you could always, you know, use columns.

How about share your config? :yes:

Alright....

Panels UI Config:

// Background
$glass(8,8,95,24)

// PerTrack

$panel(Playlist,Single Column Playlist,8,116,$sub(%_width%,16),$sub(%_height%,140),)
$panel(ButtonsControl,Buttons,8,$sub(%_height%,22),144,24,)
$panel(Seekbar,Seekbar,142,$sub(%_height%,22),$sub(%_width%,200),24,)
$panel(Volume,Volume,$sub(%_width%,48),$sub(%_height%,22),40,24,)
$panel(Vis,Spectrum analyser,$sub(%_width%,28),28,20,60,)

$puts(cover,$replace(%path%,%filename_ext%,cover.jpg))
$puts(gloss,C:\Program Files\foobar2000\images\CD Case\gloss.png)
$puts(cd,C:\Program Files\foobar2000\images\CD Case\cd.png)
$puts(case,C:\Program Files\foobar2000\images\CD Case\case.png)

$imageabs2(100,93,,,,,8,0,$get(case),)
$if(%isplaying%,$imageabs2(82,82,,,,,54,6,$get(cd),)
$imageabs2(84,85,,,,,19,4,$get(cover),nokeepaspect)
$imageabs2(100,93,,,,,9,0,$get(gloss),alpha-160),)

$if(%isplaying%,
$font(Corbel,12,,SYSCOL-0)
$alignabs(144,4,$sub(%_width%,168),22,left,top)
[%artist%]
$font(Corbel,9,,SYSCOL-0)
$alignabs(144,72,$sub(%_width%,168),32,left,top)
[%date%]
$alignabs(144,40,$sub(%_width%,168),32,left,middle)
[%album%]
$alignabs(144,16,$sub(%_width%,168),32,left,middle)
[%title%],)

SCPL Group Display (still em3's layout)

Row Height 20, edge: none

$font(Calibri,8,,)
$puts(tracktitle,
	$if($meta_test(artist),%artist%,$substr(%_filename%,1,$sub($strstr(%_filename%, - ),1)))
	$if($or($meta_test(artist,title),$strstr(%_filename%, - )), - )
	$if($or($meta_test(title),$not($strstr(%_filename%, - ))),
	%title%,$substr(%_filename%,$add($strstr(%_filename%, - ),3),$len(%_filename%))))

$puts(li,$calcwidth(%list_index%))
$puts(margins,$sub(%_width%,55,$add($get(li),16)))
$puts(charWidth,$div($calcwidth($get(tracktitle)),$len($get(tracktitle))))

$ifequal($mod(%_itemindex%,2),0,,$drawrect(0,0,0,0,pencolor-0-0-0 alpha-6))
$imageabs2($add($get(li),10),%_height%,0,0,0,0,0,0,images\li1.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\li2.png,)

$if(%_selected%,
$imageabs(0,0,images\sel1.png,)
$imageabs2($add($get(li),9),%_height%,0,0,0,0,2,0,images\sel2.png,nokeepaspect)
$imageabs($add($get(li),9),0,images\sel3.png,)
$imageabs2(%_width%,%_height%,0,0,0,0,$add($get(li),11),0,images\sel4.png,nokeepaspect)
$imageabs($sub(%_width%,2),0,images\sel5.png,))

$padding(4,3)$align(left,top)
$if(%_selected%,$font(,,,0-77-153),$font(,,,0-0-0))
$if(%isplaying%,$imageabs($sub($div($add($get(li),11),2),6),4,images/playing.png,),%list_index%.)

$alignabs($add($get(li),16),3,%_width%,20,left,top)
$ifgreater($calcwidth($get(tracktitle)),$get(margins),
	$left($get(tracktitle),$sub($sub($len($get(tracktitle)),$div($sub($calcwidth($get(tracktitle)),$get(margins)),$get(charWidth))),3))'...'
	,$get(tracktitle))

$align(right,top)%length%

Images (have to be in foobar2000\images\) and Buttons below...

Well, guess that's it :)

images.zip

Foobar_Buttons_Silk.zip

There's a new HA thread for that, if you want to share it there, too:

http://www.hydrogenaudio.org/forums/index....showtopic=52890

Using panels, is there a way to get the playback order drop down? I tried figuring out the control ID, but was clueless.
the Panel name is Playback order
the Panel name is Playback order

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

Thanks. Now I need to figureo ut if it's possible to have the text like the title bar, black with a white glow. Right now, it doesn't seem those font styling in the trackinfo panel work.

That's because the track info panel is using normal GDI+ text drawing as far as I can tell. Terrestrial would need to add support for DrawThemeTextEx in order to draw the text like the title bar text on Vista. If not, he can always use GDI+ to draw text into a GraphicsPath at 1/5th size and then transform it back to normal size to create the blur, then draw the normal text over that. I can provide sample code as used in NeoCleaner.

I've got this problem with my foobar such that whenever i click on a plylist tree item or a foo_browser item, it doesn't display in the colums panel. i have to use the search before it is disaplyed. anyone knows how i should go about solving this? Thanks.

In preferences for each component make sure you've got Automatically activate ticked

(found under where you choose the playlist name).

Just an FYI for anybody who hasn't figured it out, you can't use black text on the glass parts in Panels UI. The closer to black you get the more transparent it gets. It kinda sucks... So I went ahead and I'm building a bit of a different look. I'll post a screenshot when I'm all done.

Also, quick question, is there anyway with cwb_hooks or just regular variables to find out if repeat is turned on?

EDIT: Alright, so I discovered %cwb_playback_order%... Does this only allow for one option at a time? Does foobar not allow for shuffle and repeat playlist at the same time?

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

    • No registered users viewing this page.
  • Posts

    • They keep your data encrypted too. Including the calendar.
    • Microsoft makes billions redirecting people to use Bing in Microsoft Edge and selling OneDrive space. All thanks to Windows.
    • Teams is cancer, ebola and aids combined.
    • Claude on Windows is eating up massive amounts of RAM, with no way to stop it by Usama Jawad Anthropic has been in the headlines a lot lately, primarily due to its latest revenue and valuation figures, along with its release of its state-of-the-art (SOTA) Fable model. While its flagship product, Claude, may be very popular among millions of users, a lot of them are now reporting memory issues when using the tool. Over on Claude Code's GitHub repository, an issue raised in February has been gaining traction once again. Basically, Claude Desktop on Windows spins up a 1.8GB Hyper-V virtual machine if you use Claude Cowork or agent mode even once. This happens on each launch of Claude Code even if you plan to use the tool in chat mode only. Several users have upvoted this bug and stated that it's happening on their machine as well. However, it seemingly affects only Claude desktop users on Windows, not customers of the CLI or any other platform. Once the bug is triggered, it also shows a Vmmem process in Task Manager, indicating CPU usage of 0% and RAM utilization of a whopping ~1.8GB. Claude users complain that this process should only spin up when you explicitly launch agent mode or Cowork in Claude, with session files efficiently cleaned up after use. Additionally, they are calling for Claude to gracefully handle the absence of virtual machine-based infrastructure, without compromising on chat performance. It's unclear when this issue originated or what the root cause behind it is, but people are once again actively engaging in the GitHub thread as well as Hacker News. You can also find other technical details and log events over on GitHub. It's unclear if Anthropic will look into this issue, especially since it's already been reported for a few months. However, the bug is also causing major annoyance for users, with many claiming that it has led them to uninstall Claude Code on desktop, as a concrete workaround is not yet known.
    • "The US innovates, China replicates, Europe regulates" -- let's see who makes the cut
  • 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
      534
    2. 2
      PsYcHoKiLLa
      209
    3. 3
      +Edouard
      154
    4. 4
      Steven P.
      100
    5. 5
      ATLien_0
      84
  • Tell a friend

    Love Neowin? Tell a friend!