IPB

Welcome Guest ( Log In | Register )

WSH Panel Mod script discussion/help
marc2003
post Jan 15 2010, 13:13
Post #1





Group: Members
Posts: 4873
Joined: 27-January 05
From: England
Member No.: 19379



taken from the main WSH panel mod thread....

QUOTE (Yirkha @ Jan 15 2010, 11:59) *
A semi-offtopic suggestion:
Maybe the script exchange business could take place elsewhere, so this topic would be left for the general component discussion only? By that I mean information about new releases, feature requests, bug reports and other support, while the creations of the users and stories about the others struggling to use them would be kept separate.


definitely a great idea. so here's a new thread for it. smile.gif

to get us started, here's a replacement artwork panel i made. it does a few things the standard CUI/DUI* panels can't do...

http://javascript.pastebin.com/f7aeaaa1b

-if you edit/add artwork for the currently playing track, use the "Refresh" context menu item to see the changes without having to restart playback.
-changes made in the foobar display preferences also take effect immediately if you use the "Refresh" command. currently, the DUI/CUI artwork panels require a foobar restart for those changes to take effect.
-displays artwork for the previously played/selected track on foobar startup.
-you can lock the panel size in pixels. no more messing around locking splitters. both CUI and DUI obey the limits set in the panel.
-tooltip to show if the artwork is embedded or not. it also shows the actual image dimensions plus the currently displayed size.
-it has the usual context menu options you would expect to set front/back/cover/artist/etc

(*for those that aren't aware - WSH panel mod can now run in DUI natively without dockable panels)

for people who are new to WSH panel mod, remember to download the samples as there's lots of good stuff to get you going.

This post has been edited by marc2003: Jan 15 2010, 13:45
Go to the top of the page
+Quote Post
 
Start new topic
Replies
Bollerkopp
post Jan 15 2010, 19:42
Post #2





Group: Members
Posts: 205
Joined: 8-September 07
From: Hamburg, GER
Member No.: 46899



Wow... great work, marc! Thank you very much for this. smile.gif

Just an idea: Might it be possible to open the art-containing folder by doubleclick? I mean, like in the default album art-panel (DUI).
Go to the top of the page
+Quote Post

Posts in this topic
- marc2003   WSH Panel Mod script discussion/help   Jan 15 2010, 13:13
- - NullString   nice G!   Jan 15 2010, 13:52
- - marc2003   here's another script. this is for DUI only. i...   Jan 15 2010, 17:01
|- - MB.   QUOTE (marc2003 @ Jan 15 2010, 17:01) her...   Jan 16 2010, 13:02
|- - Andre69   QUOTE (marc2003 @ Jan 15 2010, 17:01) her...   Jan 18 2010, 18:12
- - anishbenji   Hi marc, The custom WSH panel based album art view...   Jan 15 2010, 18:27
- - marc2003   you mean what i put in the very first 2 lines of t...   Jan 15 2010, 19:32
|- - anishbenji   QUOTE (marc2003 @ Jan 15 2010, 13:32) //e...   Jan 15 2010, 22:25
|- - anishbenji   QUOTE (anishbenji @ Jan 15 2010, 16:25) Q...   Jan 16 2010, 06:58
- - Bollerkopp   Wow... great work, marc! Thank you very much f...   Jan 15 2010, 19:42
- - marc2003   sorry but i don't think that is possible with ...   Jan 15 2010, 20:25
- - Bollerkopp   Ok, thanks for your answer.   Jan 15 2010, 20:27
- - marc2003   here's another script for DUI. it's a rati...   Jan 15 2010, 21:17
- - Fractal_Mortality   I recall some poster somewhere talking about a WSH...   Jan 16 2010, 00:06
|- - cartman(2vd)   QUOTE (Fractal_Mortality @ Jan 16 2010, 00...   Jan 16 2010, 10:40
- - marc2003   interesting idea. getting the text from last.fm fe...   Jan 16 2010, 00:40
- - marc2003   i have absolutely no idea what you're talking ...   Jan 16 2010, 10:20
- - carmenm   Here my new mod of the album art panel. There is n...   Jan 16 2010, 11:52
|- - Hitchhiker427   QUOTE (carmenm @ Jan 16 2010, 04:52) Here...   Jan 16 2010, 12:30
- - marc2003   work in progress of text only bio panel for DUI. ...   Jan 16 2010, 11:58
- - carmenm   Sorry but i dont see what script. May be i can do ...   Jan 16 2010, 12:33
|- - Hitchhiker427   QUOTE (carmenm @ Jan 16 2010, 05:33) Sorr...   Jan 16 2010, 12:37
|- - carmenm   QUOTE (Hitchhiker427 @ Jan 16 2010, 13:37...   Jan 16 2010, 12:40
- - marc2003   here's my text only biography display. you...   Jan 16 2010, 14:00
|- - Hitchhiker427   QUOTE (marc2003 @ Jan 16 2010, 07:00) her...   Jan 16 2010, 14:24
- - carmenm   Great job marc2003. Just one thing. You know that ...   Jan 16 2010, 14:24
|- - Hitchhiker427   QUOTE (carmenm @ Jan 16 2010, 07:24) Grea...   Jan 16 2010, 14:33
||- - carmenm   QUOTE (Hitchhiker427 @ Jan 16 2010, 15:33...   Jan 16 2010, 14:35
|- - marc2003   QUOTE (carmenm @ Jan 16 2010, 13:24) You ...   Jan 16 2010, 16:02
|- - carmenm   QUOTE (marc2003 @ Jan 16 2010, 17:02) QUO...   Jan 16 2010, 16:33
- - Hitchhiker427   It might not be the case for CUI, but I can notice...   Jan 16 2010, 14:40
- - marc2003   an update on my bio panel. just a little bug fix. ...   Jan 16 2010, 16:51
- - Fractal_Mortality   carmenm, be sure to post your similar artists scri...   Jan 16 2010, 18:19
|- - carmenm   QUOTE (Fractal_Mortality @ Jan 16 2010, 19...   Jan 16 2010, 18:26
- - TomBarlow   I have a script to share, it's an album art/ly...   Jan 16 2010, 18:39
- - marc2003   thanks for those tom. can't believe i didn...   Jan 16 2010, 19:17
|- - TomBarlow   QUOTE (marc2003 @ Jan 16 2010, 18:17) @to...   Jan 16 2010, 21:30
- - Fractal_Mortality   Hey Marc, I don't want to discourage your effo...   Jan 16 2010, 20:20
- - marc2003   oh well.... i hope ssenna ports over his other c...   Jan 16 2010, 20:40
- - carmenm   Wow that s a great news. I wanted to show what i ...   Jan 16 2010, 20:42
- - marc2003   my menu is better than yours.... T.P has provi...   Jan 16 2010, 21:00
- - marc2003   you can add add this to your script..... CODEvar ...   Jan 18 2010, 18:28
- - T.P Wang   This is a simple demo that using GdiDrawText() wit...   Jan 20 2010, 08:28
|- - Falstaff   QUOTE (T.P Wang @ Jan 20 2010, 08:28) Thi...   Jan 23 2010, 19:29
- - carmenm   It s faster than with the other method. I like it ...   Jan 20 2010, 09:39
- - saivert   MediaInfo panel Grab script: http://pastie.org/78...   Jan 20 2010, 23:50
- - tedgo   I create a simple lyrics panel and have one questi...   Jan 21 2010, 21:47
- - fbuser   Try replace(/\[.*\]/g,"")   Jan 21 2010, 22:04
- - marc2003   CODEreplace(/\[.+\]/g,"...   Jan 21 2010, 22:05
- - tedgo   Thanks I knew it must be something easy... Seems...   Jan 21 2010, 22:09
|- - Yirkha   QUOTE (tedgo @ Jan 21 2010, 22:09) Where ...   Jan 21 2010, 22:15
|- - fbuser   QUOTE (tedgo @ Jan 21 2010, 22:09) Thanks...   Jan 21 2010, 22:15
- - TomBarlow   Hi guys, I am currently trying to make some button...   Jan 21 2010, 22:10
|- - saivert   QUOTE (TomBarlow @ Jan 21 2010, 22:10) Hi...   Jan 21 2010, 23:24
|- - TomBarlow   QUOTE (saivert @ Jan 21 2010, 22:24) Try ...   Jan 22 2010, 00:25
- - tedgo   Thanks Yirkha (and of course thanks to fbuser and...   Jan 21 2010, 22:25
- - saivert   The last.fm bios panel annoyed me with always star...   Jan 21 2010, 23:06
- - marc2003   oh yuck. you shouldn't be loading the text fil...   Jan 21 2010, 23:12
- - TomBarlow   @tedgo: You might also want to delete the blank li...   Jan 21 2010, 23:13
- - saivert   QUOTE (marc2003 @ Jan 21 2010, 23:12) fro...   Jan 21 2010, 23:38
- - marc2003   er yes. it was me who started the thread on the ad...   Jan 21 2010, 23:48
- - tedgo   @TomBarlow You mean like this? CODElyrics.replace...   Jan 21 2010, 23:54
- - tedgo   Yes, it does. Thanks again   Jan 22 2010, 00:28
- - carmenm   Hi everyone, I wanted to show you guys what i am ...   Jan 22 2010, 09:39
|- - Hitchhiker427   That sounds great. I'm really looking forward...   Jan 22 2010, 09:50
- - allerlei   @carmenm: Absolutely great, that's what I...   Jan 22 2010, 10:51
|- - carmenm   QUOTE (allerlei @ Jan 22 2010, 10:51) @ca...   Jan 22 2010, 11:01
- - allerlei   @carmenm: Good luck! I'm really looking fo...   Jan 22 2010, 11:59
|- - nifferl7   wow carmenm, can't wait to try it out!   Jan 23 2010, 09:50
- - Shaun1   (sorry, I originally posted this in the WSH Panel ...   Jan 23 2010, 10:48
- - marc2003   CODEg_img = gdi.Image(fb.FoobarPath + "pat...   Jan 23 2010, 12:19
|- - Shaun1   Thanks marc2003! I pasted it into the window ...   Jan 24 2010, 02:13
- - marc2003   the script would error if the image wasn't fou...   Jan 24 2010, 02:44
|- - Shaun1   QUOTE (marc2003 @ Jan 23 2010, 17:44) the...   Jan 24 2010, 05:44
- - saivert   Updates the Bios panel: http://gist.github.com/28...   Jan 24 2010, 18:25
|- - marc2003   QUOTE (saivert @ Jan 24 2010, 17:25) It i...   Jan 24 2010, 19:18
|- - Hitchhiker427   QUOTE (marc2003 @ Jan 24 2010, 12:18) edi...   Jan 25 2010, 02:24
- - saivert   Excellent code marc2003! You have simplified a...   Jan 25 2010, 02:11
|- - marc2003   QUOTE (saivert @ Jan 25 2010, 01:11) But ...   Jan 25 2010, 03:52
- - T.P Wang   QUOTE Excellent code marc2003! You have simpli...   Jan 25 2010, 03:05
- - saivert   doesn't hurt to use var everywhere. but the sc...   Jan 25 2010, 03:11
- - Hitchhiker427   Last.fm records the number of times I play a track...   Jan 25 2010, 07:28
- - Hitchhiker427   In case anyone's interested, I modified marc20...   Jan 25 2010, 09:00
- - marc2003   that needs some serious reworking. you're maki...   Jan 25 2010, 09:20
- - Hitchhiker427   Ok, this should make fewer calls to Last.fm. Hope...   Jan 25 2010, 09:44
|- - marc2003   you should be making one call. it's the same f...   Jan 25 2010, 09:58
- - Hitchhiker427   Ok, so I'm (obviously) new at this. What I wa...   Jan 25 2010, 10:50
- - marc2003   @carmenm, how did you parse the feeds to get image...   Jan 25 2010, 11:23
|- - carmenm   QUOTE (marc2003 @ Jan 25 2010, 11:23) @ca...   Jan 25 2010, 11:54
- - marc2003   i'm only interested in downloading 1 image per...   Jan 25 2010, 11:59
|- - carmenm   QUOTE (marc2003 @ Jan 25 2010, 11:59) i...   Jan 25 2010, 12:08
- - marc2003   thanks.   Jan 25 2010, 12:23
|- - carmenm   I finally released my suite. Enjoy   Jan 25 2010, 17:21
- - saivert   where is the updated Bios panel without multi last...   Jan 25 2010, 19:10
- - marc2003   updated biography panel which caches the whole xml...   Jan 25 2010, 20:16
- - Scidd0w   marc2003; Thank you for the above script. I can...   Jan 25 2010, 23:50
- - marc2003   file>preferences>tools>wsh panel mod>u...   Jan 26 2010, 00:11
- - Scidd0w   Great... Works now!   Jan 26 2010, 00:17
- - icedtea   Can some kind soul convert the playback section of...   Jan 26 2010, 10:03
- - Scidd0w   With some bio's it fetches I see   co...   Jan 26 2010, 10:31
36 Pages V   1 2 3 > » 


Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th December 2014 - 16:58