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

    • Formatting would be awesome if fully customised and then roll out the settings as a company wide standard.
    • I just want to know why the volume control feature in the browser version keeps appearing then disappearing, here today - gone tomorrow. Now it's gone again. Annoying as hell.
    • When you have only lies and blood libels to present, you've lost. And how hard is it for you to look up BBC and AP? You hate Jews, just admit it.
    • This article does not make sense and it’s very evident, the bug wasn’t confirmed to exist, because the application itself runs on editions of Windows which make it impossible to run Hyper-V VMs on, “Basically, Claude Desktop on Windows spins up a 1.8GB Hyper-V virtual machine if you use Claude Cowork or agent mode even once.”, suggests the bug is caused by something else otherwise it would only happen to users with the capability of running Hyper-V VMs and that’s only if Hyper-V was enabled which is by default not enabled. The true issue is that the author who reported the bug used the incorrect terminology, it’s actually a container, not a VM that is being started by the way. There were users on macOS reporting the same issue, Hyper-V, doesn’t exist on that platform obviously. Every single user who confirmed the problem in the last week was either using macOS making this issue impossible to be relevant to them, or was a comment talking about WSL, which the author indicated 3 months ago was disabled.
    • “To prevent hallucination issues and keep the database clean, the platform uses a multi-agent verification loop to check code quality.” - This absolutely isn’t happening. ”Before the massive rise of LLMs, which tanked its traffic by about 50% over the last couple of years, Stack Overflow was the go-to website for millions of programmers seeking coding solutions.” - It still is trusted, because the community of users, blocked other users from submitting false and misleading answers generated by AI agents that can be convinced something it generated is actually incorrect even if it’s actually correct. The company itself doesn’t know what it wants to be so it keeps trying and failing to introduce AI features to the platform. This effort will also fail, already submitted one successful poison pill, look forward to generating more.
  • 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
      524
    2. 2
      PsYcHoKiLLa
      211
    3. 3
      +Edouard
      160
    4. 4
      Steven P.
      98
    5. 5
      ATLien_0
      83
  • Tell a friend

    Love Neowin? Tell a friend!