IPB

Welcome Guest ( Log In | Register )

142 Pages V  « < 96 97 98 99 100 > »   
Reply to this topicStart new topic
WSH Panel Mod script discussion/help
marc2003
post May 14 2013, 15:55
Post #2426





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



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
WshShell.Run("\"" + fb.ProfilePath + "addons\\wsh-enhanced-fb2k-spectrogram\\spek.exe\" \"" + path_to_target_file + "\"");
Go to the top of the page
+Quote Post
derty2
post May 14 2013, 16:45
Post #2427





Group: Members
Posts: 585
Joined: 5-June 11
Member No.: 91257



You nailed it marc, thanks +++++++++++++++++++++++++++++++
Go to the top of the page
+Quote Post
ehrgeiz
post May 15 2013, 00:14
Post #2428





Group: Members
Posts: 12
Joined: 21-November 09
Member No.: 75150



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 rolleyes.gif

[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
Go to the top of the page
+Quote Post
marc2003
post May 15 2013, 15:30
Post #2429





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



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.
Go to the top of the page
+Quote Post
ehrgeiz
post May 15 2013, 16:51
Post #2430





Group: Members
Posts: 12
Joined: 21-November 09
Member No.: 75150



QUOTE (marc2003 @ May 15 2013, 16:30) *
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 smile.gif
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
Go to the top of the page
+Quote Post
marc2003
post May 15 2013, 17:27
Post #2431





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



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

CODE
$copy(_id3:TXXX:MUSICBRAINZ TRACKID,musicbrainz_trackid)


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?
Go to the top of the page
+Quote Post
Black Bear
post May 16 2013, 04:20
Post #2432





Group: Members
Posts: 2
Joined: 23-August 11
Member No.: 93208



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
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>
Go to the top of the page
+Quote Post
marc2003
post May 16 2013, 05:56
Post #2433





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



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.
Go to the top of the page
+Quote Post
foomark
post May 17 2013, 23:21
Post #2434





Group: Members
Posts: 87
Joined: 12-July 11
Member No.: 92213



Hi marc2003, thank you so much for your scripts, i'm having some fun lately with the spectrogram seekbar, really clever smile.gif
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!!
Go to the top of the page
+Quote Post
marc2003
post May 17 2013, 23:39
Post #2435





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



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
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.

This post has been edited by marc2003: May 17 2013, 23:44
Go to the top of the page
+Quote Post
kareha
post May 18 2013, 00:38
Post #2436





Group: Members
Posts: 53
Joined: 1-September 11
Member No.: 93415



Fantastic cover art update, works like a charm.
Go to the top of the page
+Quote Post
marc2003
post May 18 2013, 05:39
Post #2437





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



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. sad.gif
Go to the top of the page
+Quote Post
jaredpaik
post May 18 2013, 05:43
Post #2438





Group: Members
Posts: 8
Joined: 3-December 09
Member No.: 75561



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.
Go to the top of the page
+Quote Post
marc2003
post May 18 2013, 05:54
Post #2439





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



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

This post has been edited by marc2003: May 18 2013, 05:59
Go to the top of the page
+Quote Post
jaredpaik
post May 18 2013, 07:48
Post #2440





Group: Members
Posts: 8
Joined: 3-December 09
Member No.: 75561



Thanks Marc.

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

This post has been edited by jaredpaik: May 18 2013, 08:26
Go to the top of the page
+Quote Post
jaredpaik
post May 18 2013, 09:18
Post #2441





Group: Members
Posts: 8
Joined: 3-December 09
Member No.: 75561



QUOTE (jaredpaik @ May 18 2013, 14:48) *
Thanks Marc.

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


Nevermind, figured it out.
Go to the top of the page
+Quote Post
foomark
post May 18 2013, 09:59
Post #2442





Group: Members
Posts: 87
Joined: 12-July 11
Member No.: 92213



QUOTE (marc2003 @ May 18 2013, 00:39) *
@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.
Go to the top of the page
+Quote Post
icedtea
post May 19 2013, 09:14
Post #2443





Group: Members
Posts: 88
Joined: 26-January 10
Member No.: 77538



marc would it be possible to create a script that shows the top tracks for the currently playing artist?
Go to the top of the page
+Quote Post
marc2003
post May 19 2013, 09:58
Post #2444





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



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.



if you mean your own top tracks based on playcount then no. tongue.gif 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.

This post has been edited by marc2003: May 19 2013, 10:01
Go to the top of the page
+Quote Post
Bratman
post May 19 2013, 12:55
Post #2445





Group: Members
Posts: 99
Joined: 30-June 12
From: England
Member No.: 101088



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%)


This post has been edited by Bratman: May 19 2013, 12:56
Go to the top of the page
+Quote Post
icedtea
post May 19 2013, 13:26
Post #2446





Group: Members
Posts: 88
Joined: 26-January 10
Member No.: 77538



QUOTE (marc2003 @ May 19 2013, 10:58) *
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.



if you mean your own top tracks based on playcount then no. tongue.gif 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!
Go to the top of the page
+Quote Post
Bratman
post May 19 2013, 16:49
Post #2447





Group: Members
Posts: 99
Joined: 30-June 12
From: England
Member No.: 101088



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

Go to the top of the page
+Quote Post
marc2003
post May 19 2013, 19:24
Post #2448





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



yeah, that's fine. it makes a change for someone to ask. plenty of people have used them before without checking.
Go to the top of the page
+Quote Post
Bratman
post May 19 2013, 19:59
Post #2449





Group: Members
Posts: 99
Joined: 30-June 12
From: England
Member No.: 101088



Awesome thanks I'll be sure to credit you of course, you've done amazing work. happy.gif
Go to the top of the page
+Quote Post
marc2003
post May 20 2013, 05:49
Post #2450





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



bugfix for my musicbrainz script.

CODE
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
marc2003\common7.js


This post has been edited by marc2003: May 20 2013, 05:49
Go to the top of the page
+Quote Post

142 Pages V  « < 96 97 98 99 100 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st December 2014 - 23:16