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 1376193 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

WSH Panel Mod script discussion/help

Reply #2425
Quote
"path_to_target_file"


you've put the variable name in quotes so it's getting sent as plain text.

also, you need to consider spaces in your paths/filenames. try this.

Code: [Select]
WshShell.Run("\"" + fb.ProfilePath + "addons\\wsh-enhanced-fb2k-spectrogram\\spek.exe\" \"" + path_to_target_file + "\"");

WSH Panel Mod script discussion/help

Reply #2426
You nailed it marc, thanks  +++++++++++++++++++++++++++++++

WSH Panel Mod script discussion/help

Reply #2427
another 'nice to have' feature would be a script that calculates a fingerprint with chromaprint/fpcalc.exe [1] for the current track, queries the acoustID database to extract the musicbrainz recording-id [2] and then pulls artist-credits via the musicbrainz webservice [3] for display.
eg.:
S'posin'by Frank Sinatra
writer:    Paul Denniker, Andy Razaf
arranger:    John Guarnieri
bass:    Herman Albert
guitar:    Tony Mottola
lead vocals:    Frank Sinatra
piano:    John Guarnieri


sadly i don't know how to do that but maybe someone else who thinks that'd be nice3 

[1] http://acoustid.org/chromaprint
[2] http://acoustid.org/webservice ; e.g.: http://api.acoustid.org/v2/lookup?format=x...oDx1AAhAEFEMEAA
[3] http://musicbrainz.org/doc/Development/XML...rvice/Version_2 ; e.g.: http://musicbrainz.org/ws/2/recording/9c7a...k-rels+url-rels

WSH Panel Mod script discussion/help

Reply #2428
i'd consider making more musicbrainz scripts provided files are tagged with proper MBIDs before hand. i'm not really keen on doing the lookups first when people can easily use picard to tag their files.

WSH Panel Mod script discussion/help

Reply #2429
i'd consider making more musicbrainz scripts provided files are tagged with proper MBIDs before hand. i'm not really keen on doing the lookups first when people can easily use picard to tag their files.


good thing i tag my files with picard
bad thing is that foobar can't read the MUSICBRAINZ_TRACKID field picard is writing to store the MBID[1] for that specific recording as it is using the UFID[2] field for that.
so for specific track-credits you'd have to make two queries, one to get all recordingIDs from the current release and then with help of the tracknumber get the recording/track ID to query the specific credits i guess. dunno if thats easier than using the fingerprinter. maybe i'm just a fan of these open-source/open-data projects that i want to see them used in my favourite mediaplayer^^

[1] http://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping
[2] http://id3.org/id3v2.3.0#sec4.1

WSH Panel Mod script discussion/help

Reply #2430
i had a quick search and you can configure picard to write a TXXX frame in the scripting section of the options.

Code: [Select]
$copy(_id3:TXXX:MUSICBRAINZ TRACK ID,musicbrainz_recordingid)

what's really bugging me at the moment is the inconsistency between the id3 & flac/vorbis tag mapping. why use MUSICBRAINZ ARTIST ID and MUSICBRAINZ_ARTISTID when they could use one OR the other?

WSH Panel Mod script discussion/help

Reply #2431
I don't really know what to do with this component. Every time I try to load it, it crashes. This last time the console gave me this, but I have no idea what it means. Any help?
Code: [Select]
WSH Panel Mod ({ED89F4DA-FDCC-4CBC-8DDB-58D202FD6BF3}): initialized in 28 ms
Error: WSH Panel Mod ({1F73EB63-C052-4E32-8A7A-BF4FBF6C1430}): Microsoft JScript runtime error:
Invalid procedure call or argument
File: <main>
Ln: 88, Col: 5
<source text only available at compile time>
Error: WSH Panel Mod ({82E26BE2-93C2-497A-BFE4-C40892B2AFDD}): Microsoft JScript runtime error:
Invalid procedure call or argument
File: <main>
Ln: 25, Col: 5
<source text only available at compile time>
Error: WSH Panel Mod ({ED89F4DA-FDCC-4CBC-8DDB-58D202FD6BF3}): Microsoft JScript runtime error:
Invalid procedure call or argument
File: <main>
Ln: 46, Col: 5
<source text only available at compile time>

WSH Panel Mod script discussion/help

Reply #2432
the console is telling you that 3 scripts have crashed and it tells you where to look for the errant code in each one.

i'm guessing you didn't create these scripts but are using someone else's configuration (or theme)?? if it's from deviantart, your best bet would be to ask the author there.

WSH Panel Mod script discussion/help

Reply #2433
Hi marc2003, thank you so much for your scripts, i'm having some fun lately with the spectrogram seekbar, really clever
I know it's probably too hard, but i was wondering if it's possible to add the possibility to change the spectrogram colours like in the native fb2k spectrogram.
It would be perfect to integrate it in some skins!!

WSH Panel Mod script discussion/help

Reply #2434
samples updated: artreader and cd jewel case now have options to launch Album Art Downloader from the right click menu, sending the current artist/album as search terms.



existing users: right click>Update script
full download: https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip
changelog: https://dl.dropboxusercontent.com/u/2280132...h/changelog.txt

files changed:
Code: [Select]
marc2003\common7.js


@foomark, right click>SoX options. then look at page 33 of the sox.pdf file. play with the -h, -m and -p options. you can't easily choose colours but you might find something better suited than the default.

remember that playing with these options will render all previous images obsolete so you might want to clear them using the right click menu.

WSH Panel Mod script discussion/help

Reply #2435
Fantastic cover art update, works like a charm.

 

WSH Panel Mod script discussion/help

Reply #2436
it's possible that recent updates over the last day or so have broken the Update script feature causing all my scripts to crash on a restart.

if this has happened to you, save this file in your foobar profile\marc2003 folder and restart foobar.

https://dl.dropboxusercontent.com/u/2280132...2003/common7.js

apologies for the inconvenience. 

WSH Panel Mod script discussion/help

Reply #2437
Hey Guys. I'm using one of marc2003's configs he posted a few years ago.

I reinstalled Windows 7 on my PC and reinstalled foo 1.1, and set everything back up. Now I'm getting these errors on Startup.

A couple of errors;

Scripting Engine Initialization Failed (GUID: E71AC80A-2F79-4BCB-8A51-3508849A40A2, CODE: 0x80020101)
Check the console for more detailed information (Always caused by unexcepted script error).

Scripting Engine Initialization Failed (GUID: FFE1F23C-1D2D-40CF-B721-B83160A9DCC4, CODE: 0x80020101)
Check the console for more detailed information (Always caused by unexcepted script error).

and here's a dump from the console;
http://pastebin.com/q0CShRDm

Any help would be awesome.

WSH Panel Mod script discussion/help

Reply #2438
the very first line should be easy enough to interpret:

Quote
WSH Panel Mod (GUID: E71AC80A-2F79-4BCB-8A51-3508849A40A2): Parsing file "C:\Program Files (x86)\foobar2000\scripts\marc2003\v2\common.js": Failed to load


quite simply you haven't extracted the files in the zip to the right place.

that looks to be a very old script though. it's been a very long time since i've placed files in main foobar progam folder. these days the folder should be placed in the foobar profile folder. my latest scripts are available here:

https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip

or if you're using my last.fm playcount sync script: https://dl.dropboxusercontent.com/u/2280132...ount%20sync.zip

further questions should go in this thread: http://www.hydrogenaudio.org/forums/index....showtopic=77883

WSH Panel Mod script discussion/help

Reply #2439
Thanks Marc.

Quick question, how do I embed Esplaylist with Playlist View?


WSH Panel Mod script discussion/help

Reply #2441
@foomark, right click>SoX options. then look at page 33 of the sox.pdf file. play with the -h, -m and -p options. you can't easily choose colours but you might find something better suited than the default.

remember that playing with these options will render all previous images obsolete so you might want to clear them using the right click menu.


Thank you , i didn't know about these parameters, really nice to have them.
The customization's not "total" but it can fit a lot of configurations, great work, thank you again marc2003.

WSH Panel Mod script discussion/help

Reply #2442
marc would it be possible to create a script that shows the top tracks for the currently playing artist?

WSH Panel Mod script discussion/help

Reply #2443
it might not be obvious from the name, but my last.fm similar artists script already does this. it is mentioned in the readme though.

you can switch to it on the right click menu.

you can use foo_facets for that. you can create an artist pane to select an artist. then add a track pane with 2 columns - the title and playcount. reverse sort the playcount by clicking on the header.

WSH Panel Mod script discussion/help

Reply #2444
And you can use the sort function too in preferences / advanced / display / standard sort patterns
Then use the sort menu command from Edit / Sort

Quote
play count=$sub(999,%play_count%)

WSH Panel Mod script discussion/help

Reply #2445
it might not be obvious from the name, but my last.fm similar artists script already does this. it is mentioned in the readme though.

you can switch to it on the right click menu.

you can use foo_facets for that. you can create an artist pane to select an artist. then add a track pane with 2 columns - the title and playcount. reverse sort the playcount by clicking on the header.


awesome, thanks!

WSH Panel Mod script discussion/help

Reply #2446
Marc I want to share a layout on Deviant Art using your scripts, wanted to check if it's okay with you? They are all updated to the latest version and I'll include the readme and what not.

These are the scripts:

now playing
last fm and wiki bio
musicbrainz


WSH Panel Mod script discussion/help

Reply #2447
yeah, that's fine. it makes a change for someone to ask. plenty of people have used them before without checking.

WSH Panel Mod script discussion/help

Reply #2448
Awesome thanks I'll be sure to credit you of course, you've done amazing work.

WSH Panel Mod script discussion/help

Reply #2449
bugfix for my musicbrainz script.

Code: [Select]
7.2013-05-20.01

"musicbrainz". In "releases" mode, a recent change prevented
all links being clickable. This should now be fixed.


existing users: right click>Update script
full download: https://dl.dropboxusercontent.com/u/22801321/wsh/samples.zip
changelog: https://dl.dropboxusercontent.com/u/2280132...h/changelog.txt

files changed:
Code: [Select]
marc2003\common7.js