Bunio Posted May 25, 2007 Share Posted May 25, 2007 (edited) 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 May 25, 2007 by mBunio Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 You sir are a champion. :) Link to comment Share on other sites More sharing options...
em3 Posted May 25, 2007 Share Posted May 25, 2007 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. 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.... :/ Link to comment Share on other sites More sharing options...
dawxxx666 Posted May 25, 2007 Share Posted May 25, 2007 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: so I've used e.g. [%genre%] instead of %genre% In albums without name, year, etc. it looks like this: Great mod moglenstar. Smart and efficient. I like it :) Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 Thanks Dawxxx666, changed that and now there is no more ?. Link to comment Share on other sites More sharing options...
dawxxx666 Posted May 25, 2007 Share Posted May 25, 2007 I've inserted smart rating system by vigge and made buttons for it: I've made some new versions too: Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 Dawxxx666, You wouldn't happen to know how to resolve the crash problem that molgen was talking about with foo_uie_wsh_panel would you? Link to comment Share on other sites More sharing options...
moglenstar Posted May 25, 2007 Share Posted May 25, 2007 okay, lets see if i can get this right first time.. mogfuu0.2 is done! 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 Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 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. Link to comment Share on other sites More sharing options...
moglenstar Posted May 25, 2007 Share Posted May 25, 2007 (edited) 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 May 25, 2007 by moglenstar Link to comment Share on other sites More sharing options...
dawxxx666 Posted May 25, 2007 Share Posted May 25, 2007 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 Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 (edited) 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 May 25, 2007 by ReLapse Link to comment Share on other sites More sharing options...
mara_cz Posted May 25, 2007 Share Posted May 25, 2007 to moglenstar: U ROX DUDE ;) the best config EVER :) thank you edit: i just changed font to calibri :p Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 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. Thanks again to Molgen and Dawxxx666. Link to comment Share on other sites More sharing options...
cyrl Posted May 25, 2007 Share Posted May 25, 2007 I've inserted smart rating system by vigge and made buttons for it:I've made some new versions too: skin pls n nice wrk Link to comment Share on other sites More sharing options...
apul Posted May 25, 2007 Share Posted May 25, 2007 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. Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 I really don't mind the scrolling. Link to comment Share on other sites More sharing options...
apul Posted May 25, 2007 Share Posted May 25, 2007 That's a problem if you have a big collection. Just in that case. Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 (edited) I have over 16000 mp3's and I don't find it to much of a problem, what does toolej's config offer in regards to a playlist and could you should me an example? Edited May 25, 2007 by ReLapse Link to comment Share on other sites More sharing options...
apul Posted May 25, 2007 Share Posted May 25, 2007 That's a feeling. A browser like in this setup (or itunes) is a pretty way to find a track. Neither more nor less. But of course that's a completely different foobar... Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 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. Link to comment Share on other sites More sharing options...
apul Posted May 25, 2007 Share Posted May 25, 2007 I never succeeded to integrate a browser in a dawxxx666's setup... :unsure: I mean, it's possible but complicated for me at this level. The 2 panels idea is nice, and lucky you, dawxxx666 is precisely making a mod of moglenstar's. Link to comment Share on other sites More sharing options...
mauseum Posted May 25, 2007 Share Posted May 25, 2007 Hmmm... Link to comment Share on other sites More sharing options...
Rossi46 Posted May 25, 2007 Share Posted May 25, 2007 some awesome configs here, as a noob any sites i could get complete config file? Link to comment Share on other sites More sharing options...
moglenstar Posted May 25, 2007 Share Posted May 25, 2007 some awesome configs here, as a noob any sites i could get complete config file? http://www.fooblog2000.com/ is pretty good :) Link to comment Share on other sites More sharing options...
Recommended Posts