Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: WSH Panel Mod script discussion/help (Read 1399863 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

WSH Panel Mod script discussion/help

Reply #1000
a few more bugfixes. not particlularly serious - afterall no one has reported these issues.

simple biography
fixed panel crash if changing the api key/username/language with no file selected
fixed broken artist remapping introduced a few days back (it still worked but not instantly after changing)

similar artists
fixed panel crash if changing the api key/username with no file selected

thumbs custom folder mode now working.

http://dl.dropbox.com/u/22801321/samples.zip

one thing i don't think i have mentioned before but it came up in the EsPlaylist thread yesterday - if you use my thumbs script in last.fm mode and have a collection of artist art built up, you can configure foobar to use it as a source for other components. file>preferences>display>artist here you need to put the full path to your foobar profile folder  (or foobar folder if running portable mode) and append wsh_lastfm\$crc32(%album artist%)\*.* to the end. examples:

Code: [Select]
C:\Users\marc\AppData\Roaming\foobar2000\wsh_lastfm\$crc32(%album artist%)\*.*
D:\applications\foobar2000\wsh_lastfm\$crc32(%album artist%)\*.*


facets and EsPlaylist are 2 components that can make great use of this.

WSH Panel Mod script discussion/help

Reply #1001
samples updated: http://dl.dropbox.com/u/22801321/samples.zip

thumbs restore open/delete image options to context menu. i forgot to enable this on the new all-in-one version. and hopefully fixed the last of the custom folder mode bugs. yes, i'm useless.....

WSH Panel Mod script discussion/help

Reply #1002
as I know nothing about WSH Panel wanted to ask maybe you could do with a seekbar nyan cat like this:


WSH Panel Mod script discussion/help

Reply #1003
i don't normally do requests but i'm in a silly mood.... 



http://dl.dropbox.com/u/22801321/samples.zip

zip contains new images so make sure the marc2003 folder gets extracted again.


WSH Panel Mod script discussion/help

Reply #1005
oh yippee, a nyan cat seekbar update. 

-now shows seek time when dragging
-can change background colour via the context menu
-when dragging, you can move the mouse out of bounds along the bottom of the panel to cancel seeking


WSH Panel Mod script discussion/help

Reply #1006
The Thumbs script has stopped working for me - I can't figure out what has changed in my config to cause this.  I've reinstalled the WSH component, deleted and extracted all WSH script files, and reset the panel to defaults and cleared settings before re-importing.

The symptoms:

- upon starting play of a playlist, it tries to fetch images, but neither finds any to download nor finds what I've already downloaded (and kept in the default location)
- upon track change in the playlist, the panel crashes and the console shows the following:

Error: WSH Panel Mod (Thumbs by marc2003): Microsoft JScript runtime error:
Object expected
Ln: 145, Col: 18

Any suggestions appreciated.

WSH Panel Mod script discussion/help

Reply #1007
that indicates it's looking for a function that doesn't exist and that can only happen if you're using the marc2003 folder from a different zip download to the script itself???

try putting this at the start of the script and check the console output....

Code: [Select]
fb.trace(typeof bl);
fb.trace(typeof my_metadb_changed);


it should say

Code: [Select]
function
function


i suggest clearing your browser cache and trying again just to make sure you're not getting any old version. FWIW the dates of the files inside the zip of the latest version:

marc2003\common.js (last modified 2011-07-21 13:02)
other WSH samples (new)\thumbs.txt (last modified 2011-07-21 15:30)

WSH Panel Mod script discussion/help

Reply #1008
I screwed up the extraction of the Marc2003 folder - instead of extracting it to the roaming/Foobar2000 folder, I extracted it in place in the wrong spot.  Thanks again - everything works great!

 

WSH Panel Mod script discussion/help

Reply #1009
i would have expected the script to fail before that error you posted if the entire folder was in the wrong place??  oh well, at least it's working now....


WSH Panel Mod script discussion/help

Reply #1011
skydrive recently changed making it a complete nightmare to use. you can't post links to files anymore. also, dropbox allows to me work on stuff from all my computers and i don't have to consciously think about duplicating files. i just work on a file and then save it. it's much more convenient for me this way. i'm sorry if the link didn't work - i know the uptime isn't as good as skydrive but it's not usually down for long.

WSH Panel Mod script discussion/help

Reply #1012
samples updated: http://dl.dropbox.com/u/22801321/samples.zip

-high cpu usage bug fix  no scripts need re-importing but i badly bodged a shared function causing 20-30% cpu usage in image heavy scripts like thumbs

existing users just extract the marc2003 folder overwrting older files.


WSH Panel Mod script discussion/help

Reply #1013
samples updated again.

i've decided to implement orchid's idea of having different automatic download options for images from last.fm. this applies to the thumbs and now playing scripts.



just for info, the automatic download is only triggered when playback starts and there are no images on the system already. you can always force a manual download via the context menu.

WSH Panel Mod script discussion/help

Reply #1014
Well, that darn art.exe still isn't working for me.

Do you think you would have the time and inclination to make a version of your artist image downloaded that doesn't rely on it? I remember you commenting a while back that artist images can be downloaded without it.

I really miss being able to automatically fetch pictures of newly added artists

Thanks!

WSH Panel Mod script discussion/help

Reply #1015
can you test this .exe and see if it downloads images.

http://dl.dropbox.com/u/22801321/download.exe

you feed it 2 parameters - an image url and a folder.

Code: [Select]
download.exe http://userserve-ak.last.fm/serve/500/64564809/IVY++in+2011.png c:\test



WSH Panel Mod script discussion/help

Reply #1016
That works for me just fine.


WSH Panel Mod script discussion/help

Reply #1018
I just get [No Image] for everything, even for artists that I already got images for when the art.exe used to work.

Note that the "Open containing folder" option is grayed out...

WSH Panel Mod script discussion/help

Reply #1019
there is absolutely no difference between the way this displays art compared to the original.  the only difference is how it downloads it.

but i've just made a change to the script that will now let you open the containing folder even when it can't find any images. try that.

WSH Panel Mod script discussion/help

Reply #1020
Hmmm I was using one of your older thumbs scripts, back when you had different versions for different configurations (thumbs left, bottom, etc). Has the download location for pictures changed since then? Because if I download the latest "thumbs" script, it doesn't work either...

Anyway I tried the new script (same link as last one, yes?) but nothing changed.

Thank you for taking the time to help me with this!!

WSH Panel Mod script discussion/help

Reply #1021
the folder location has never changed since the first release. so there must be something seriously wrong with your setup. 

the original download not working is one thing but for the new versions not to display the old images is completely un-fathomable.

WSH Panel Mod script discussion/help

Reply #1022
Haha great. Well that's bad news

I use a portable setup if that makes any difference....

Anyway the old scripts display the images just fine. The new ones do not. None download anything, whether using art.exe or download.exe...

Maybe it's time to reformat my machine and see if that helps!

WSH Panel Mod script discussion/help

Reply #1023
can you paste one of the old working scripts on pastebin so i can take a look. i'm certain i haven't changed the location but i suppose i'd better double check.

and are you also saying the new script doesn't work with download.exe even though it works fine from the command line? 

WSH Panel Mod script discussion/help

Reply #1024
The new script does nothing at all. It won't display existing pictures, it won't download new ones... It just sits there saying [No Image]

Here's the script I've been using - this one shows existing pictures just fine.

http://pastebin.com/1y33k4t7