Recommended Posts

Removing black line:

Change (Preferences > Display > PanelsUI > Edit layout and this line in the beginning of code):

$drawrect(0,02,%_width%,%_height%,brushcolor-240-240-240 pencolor-null)

to

$drawrect(0,00,%_width%,%_height%,brushcolor-240-240-240 pencolor-null)

:)

Edited by mBunio
Question for those using this config, anyone know how to resize the right sidebar by several pixels? It's just a tad too small to fit all the text.

bdsjj6.png

Rightclick the captionbar and select Settings. Now, somewhere in the beginning there should be a sidebar value. By default it's set to 200. I'm not sure though if everything will dynamicly adapt to new vaule. But hopefully.... :/

Ah so that's what it was! Awesome. I got the volume, seekbar, and spectrum analyzer now. Now time to edit in a search button :)

Just noticed something. When you double click a song to start it playing the track number moves up about a pixel. I know it's just a small detail, but just an idea for another fix in the next version.

It's easy: change in item display

$alignabs(5,-1,%_width%,%_height%,,middle)

to:

$alignabs(5,0,%_width%,%_height%,,middle)

One more thing:

When you don't know year,genre or album name you have:

30913498hh9.jpg

so I've used e.g.

[%genre%]

instead of

%genre%

In albums without name, year, etc. it looks like this:

57706045pg0.jpg

Great mod moglenstar. Smart and efficient. I like it :)

okay, lets see if i can get this right first time..

mogfuu0.2 is done!

mogfuu0.2.png

thanks for all of the feedback, and patience with the previous version.. heh

changes:

- cleaned up the code, pui is now 4kb smaller

- squashed as many bugs as i could

- added ability to toggle wsh panel on/off for volume and seekbar, independently

- added toggle to align playback buttons left, center, right

- added artist/album overlay on album art

known bugs:

- for some reason when starting foo, the bottom panel background isn't rendered - resize window to make it show!

this is an upgrade to the previous release, so you will need that first (for the images) - i'm only providing the pui for this

download

SWEEET!!!!

I have the foobar wsh crash so I'm not using those bars but I did notice that when I toggled them by changing botht he values that only the volume bar showed.

thanks for that, i'll fix the seekbar - i think i forgot to put the js code in for it :x

edit:

js code for seekbar added now :)

Edited by moglenstar

Use

	$panel(wsh seek,WSH panel,1,$sub(%_height%,39),$sub(%_width%,80),5,),

for seekbar.

Then, click RMB on white area instead of seekbar, configure, choose JScript and paste this code:

var weight_normal =400;
var weight_bold   =800;
var italic_no =0;
var italic	=1;
var uline_no  =0;
var uline	 =1;
//--------
var align_top   =0;
var align_middle=1;
var align_bottom=2;

var align_left  =0;
var align_center=1;
var align_right =2;

var trim_no	 =0;
var trim_chara  =1;
var trim_word   =2;
var trim_elips_chara =3;
var trim_elips_word  =4;
var trim_elips_path  =5;

var flag_rtl		=0x0001;
var flag_vert	   =0x0002;
var flag_nofit	  =0x0004;
var flag_dispctrl   =0x0020;
var flag_nofallback =0x0400;
var flag_trailspace =0x0800;
var flag_nowrap	 =0x1000;
var flag_linelimit  =0x2000;
var flag_noclip	 =0x4000;

function StrFmt(alignH,alignV,trim,flag){ return ((alignH<<28)|(alignV<<24)|(trim<<20)|flag); }
//--------
function RGB(r,g,b){ return (0xff000000|(r<<16)|(g<<8)|(b)); }
function RGBA(r,g,b,a){ return ((a<<24)|(r<<16)|(g<<8)|(b)); }
//--------
function TimeFmt(t){
	var zpad = function(n){
		var str = n.toString();
		return (str.length<2) ? "0"+str : str;
	}
	var h = Math.floor(t/3600); t-=h*3600;
	var m = Math.floor(t/60); t-=m*60;
	var s = Math.floor(t);
	if(h>0) return h.toString()+":"+zpad(m)+":"+zpad(s);
	return m.toString()+":"+zpad(s);
}
//----------------------------------------------------------------------------

var g_font = gdi.Font(-8, 0, 0, 0, "DS-Digital");
var g_titlefmt = fb.TitleFormat("");
var g_fileinfo = null;

var g_drag = 0;
var g_drag_seek = 0;

function on_paint(gr){
	var ww = window.Width;
	var wh = window.Height;
	var pos = 0;
	var length = fb.PlaybackLength;
	var txt;

	if(length > 0){
		if(g_drag){
			pos = window.Width * g_drag_seek;
			txt = "Seek " + TimeFmt(g_drag_seek * length) + " / " + TimeFmt(length);
		}
		else{
			pos = window.Width * (fb.PlaybackTime / length);
			txt = g_titlefmt.Eval();
		}
	}

	gr.FillGradRect(  0, 0,	pos, wh, 90, RGB(190,190,190), RGB(110,110,110));
	gr.FillGradRect(pos, 0, ww-pos, wh, 90, RGB(200,200,200), RGB(180,180,180));

	gr.DrawString(txt, g_font, RGB(0,0,0), 0, 0, ww, wh,
		StrFmt(align_center, align_middle, trim_no, flag_nowrap | flag_noclip));

	gr.DrawRect(0,0, ww-1, wh-1, 1.0, RGB(255,255,255));
}
function on_size(){
}
function on_focus(focused){
	//fb.trace("focus " + focused);
}
function on_key_down(key){
	//fb.trace("key " + key);
}
function on_mouse_lbtn_down(x,y){
	g_drag = 1;
}
function on_mouse_lbtn_up(x,y){
	if(g_drag){
		g_drag = 0;
		g_drag_seek = x / window.Width;
		g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ? g_drag_seek : 1;
		fb.PlaybackTime = fb.PlaybackLength * g_drag_seek;
	}
}
function on_mouse_move(x,y){
	if(g_drag){
		g_drag_seek = x / window.Width;
		g_drag_seek = (g_drag_seek<0) ? 0 : (g_drag_seek<1) ? g_drag_seek : 1;
		window.Repaint();
	}
}
function on_mouse_wheel(delta){
	//fb.trace("wheel " + delta);
}
//--------
function on_playback_starting(cmd, paused){
}
function on_playback_new_track(info){
	window.Repaint();
}
function on_playback_stop(){
	window.Repaint();
}
function on_playback_seek(time){
	window.Repaint();
}
function on_playback_pause(state){
}
function on_playback_edited(){
}
function on_playback_dynamic_info(){
}
function on_playback_dynamic_info_track(){
}
function on_playback_time(time){
	window.Repaint();
}
function on_volume_change(val){
}

//EOF

Looks and works so great, you both do great work.

The default seekbar and volume bar look fine as is so I'm not that fussed about the crash errors, I'm sure the problem will be found out eventually.

Now I can finally ditch iTunes and start using foobar, works with my VS perfectly.

Edited by ReLapse

I changed mine a little, nothing major but just to suit me.

I removed the the genre display, moved the date across to where the genre used to be and I reshacked a new icon to suit my shell replacement.

post-40433-1180095400_thumb.jpg

Thanks again to Molgen and Dawxxx666.

Well done moglenstar, very smart. But I think the only defect of dawxxx666's config and its mods is the navigation in the playlist (scroll and scroll and scroll again, so I think I'll stick with toolej's fb2k for that), otherwise that's a great setup. Thanks again.

themogfuuinactiontg4.png

Well seeing that I'm rather new and hopeless at foobar how hard would it be to implement that type of playlist into the current config I'm using?

Would be nice to have 2 panels above (instead of the 3 in that sample shot) one for artist and the other for album.

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

    • No registered users viewing this page.
  • Posts

    • Dragon's Dogma 2: Dark Arisen expansion to bring snowy region, new updates also coming by Pulasthi Ariyasinghe Capcom had a surprise waiting for Dragon's Dogma fans today in the Nintendo Direct presentation. The company revealed an expansion for the second installment with a name that should be familiar to series veterans. Coming later this year, Dragon's Dogma 2: Dark Arisen is promising a massive new region to explore, new monsters, fresh skills to learn, and more. The studio says players will be heading to the Northern region of the world, named Norgan, to find new secrets about an undying "Fallen Dragon." There will be forgotten relics that the protagonist can find to unlock fresh weapons and skills the expansion is introducing. Players will also be able to find mysterious equipment from a previous Arisen as a part of the expansion, all part of 12 Lost Rites Dungeon Challenges they must complete to gain access. In Neowin's own review, I found Dragon's Dogma 2 to be an impressive RPG when it launched back in 2024, giving the title an 8.5/10 for its class variants, companion system, and immersive exploration. "Once a prosperous region of the kingdom of Vermund, it was abandoned many years ago for reasons unknown," says Capcom about the new region. "Long has it been since any soul traveled its paths. Blanketed in heavy snow, these frigid lands are home to savage hordes and creatures of unbelievable power. Those who are capable of vanquishing such fearsome foes, or those who possess a keen eye for exploration, will find themselves rewarded with powerful relics." Dragon’s Dogma 2: Dark Arisen expansion launches on October 9, 2026, with a $29.99 price tag. Ahead of the expansion release, Capcom is also planning to release two free updates to the base game. The first will land tomorrow, June 10, bringing more accessible fast travel with an Eternal Ferrystone and other quality-of-life adjustments. The second update will land sometime in August, aiming to improve frame rates, add more save slots, and bring even more community-requested adjustments. This expanded Dark Arisen edition is also launching on the Nintendo Switch 2 on the same day the content comes to PC, Xbox Series X|S, and PlayStation 5.
    • Classic themes are just the colors on the bar like the olden days, if you use the image themes, it does fancy transparent backgrounds and it makes the elements of the app look like they are transparent bubbles. This sample image shows what it looks like.  
    • Good point, unfortunately. NextDNS has far more filters and workarounds than uBlock, and it's easy to implement.
    • Windows 10 KB5094127 Patch Tuesday improves File Explorer search and more by Taras Buria The June 2026 Patch Tuesday updates are here, bringing mandatory patches to users with PCs enrolled in the Extended Security Update program for Windows 10. Microsoft is rolling out KB5094127, with build numbers 19045.7417 and 19044.7417. Changelog includes the following: [File Explorer] This update improves File Explorer search, including support for Chinese text, and UTF 8–encoded files without a byte order mark (BOM). Text now displays more clearly and consistently across search results, Content view, and tooltips. [Secure Boot] This update enables dynamic status reporting for Secure Boot states in Windows Security App. This update adds a new policy setting, LimitSecureBootRequiredServiceData, under Computer Configuration > Administrative Templates > Windows Components > Secure Boot. When this setting is enabled, Windows limits the Secure Boot service data it sends by suppressing the event normally sent to Microsoft. This policy is also included in the Windows Restricted Traffic Limited Functionality Baseline package. For information about the policy, see Manage connections from Windows 10 and Windows 11 operating system components to Microsoft services. With this update, Windows quality updates include additional high confidence device targeting data, increasing coverage of devices eligible to automatically receive new Secure Boot certificates. Devices receive the new certificates only after demonstrating sufficient successful update signals, maintaining a controlled and phased rollout. As for known bugs, Microsoft has the following to say: A workaround is available in the official documentation. Today's updates are available for PCs enrolled in the Extended Security Updates program only. If your PC is eligible, you can download the update from Settings > Windows Update or from the Microsoft Update Catalog here.
    • Then the solution is to not let children have easy access to smart phones or internet until they are older, not mass surveillance. Only this would require parents to do actual parenting, most likely, as with any good solution to the problem.
  • Recent Achievements

    • Week One Done
      rubentuben8 earned a badge
      Week One Done
    • Week One Done
      ARaclen earned a badge
      Week One Done
    • One Year In
      jojodbn earned a badge
      One Year In
    • One Month Later
      jojodbn earned a badge
      One Month Later
    • Week One Done
      jojodbn earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      522
    2. 2
      PsYcHoKiLLa
      231
    3. 3
      +Edouard
      124
    4. 4
      ATLien_0
      87
    5. 5
      Steven P.
      83
  • Tell a friend

    Love Neowin? Tell a friend!