Page 16 of 46

Posted: Sat Oct 22, 2005 5:42 am
by Philby
Have you read the documentation on Magic Nodes. Plenty of examples.

Posted: Sat Oct 22, 2005 10:41 am
by rovingcowboy
confusing for me a nonprogramer

i have to keep messing with the scripts i use if they don't work it takes me 3 hours to 4 days to find and fix errors / errors for my computer in the scripts where it would only take a programmer 3 to 4 minutes.

i just need something simple that i can grasp hold of what it does so i can start to see what might not work on my system and adapt it. 8)

Posted: Sat Oct 22, 2005 2:30 pm
by Pablo
Well one of the ideas for future versions is to design a graphical interface for the creation of magic nodes, which would make it easier to use for some people. But even now, it's not necessary to know any programming or scripting to use the node. Ralf (don't remember his MM id) has written some nice documentation which will also be included with the next release of the script.

Posted: Sun Oct 23, 2005 12:01 pm
by MagGyver
I'm getting the same error as Sadao did (see below). I've reinstalled MM 2.4.2 and am using MagicNodes 1.3 but reinstall didn't help. Anyone else have any ideas?

WinXP Pro SP2, copied MagicNodes 1.3 into Scripts\Auto folder, no other versions of MagicNodes in there.
sadao wrote:Great work. The additions you have included are definitely what I wanted.

I'm having some issues though. I get the following error message when I launch MM RC-1 (also happened with B5):

Error #457 - Microsoft VBScript Runtime Error
The key is already associated with an element in this collection
File: "C:\Program Files\Mediamonkey\Scripts\Auto\MagicNodes.1.1.vbs", Line: 74, Column: 1

After hitting okay, I get:

Error Happened During Script Execution:
The key is already associated with an element in this collection

After hitting okay again I can get into MM fine but I don't see (not surprisingly), the add magic node option in the edit menu.

Couple of comments:
-I'm running win2k sp4 with MM RC-1
-The first time I launched the script with Magic Nodes 1.1 in the auto folder I forgot to remove 1.0. I have removed 1.0 since.

S.

Posted: Sun Oct 23, 2005 10:44 pm
by Pablo
MagGyver, did you start getting errors just after installing the scripts, or after creating some node? Can you post the exact error message you're getting? (Sadao's error message corresponds to an older version of the script). Thanks!

Posted: Mon Oct 24, 2005 12:20 pm
by MagGyver
Hi Pablo,

The error comes up as soon as I open MediaMonkey. The first part says:

"Error #457 - Microsoft VBScript Runtime Error
The key is already associated with an element in this collection
File: "C:\Program Files\Mediamonkey\Scripts\Auto\MagicNodes.1.3.vbs", Line: 81, Column: 1 "

Then I click OK. Then I see another error window:

"Error Happened During Script Execution:
The key is already associated with an element in this collection."

I click OK again and MediaMonkey loads, but I see no Add Nodes item in Edit menu or any other menu. MM works just fine as before in every other regard.

I uninstalled MM, removing the MagicNodes script, and rebooted, then reinstalled, opened MM a first time, then closed it and copied the script into the Scripts\Auto folder, then reopened MM. This error occurs every time I open it.

Thanks for any suggestions.

Posted: Mon Oct 24, 2005 4:03 pm
by Pablo
This is really odd. Try this: with MM closed, backup the script file, then open it with a text editor (such as notepad). Look for the following three consecutive lines:

Code: Select all

 	.Add "COMPOSER", "Songs.Author"
	.Add "TEMPO", "Lists.TextData"
	.Add "MOOD", "Lists.TextData"
(Lines 80 to 82). Add a ' at the beginning of each of these lines. So you should end up with:

Code: Select all

 	'.Add "COMPOSER", "Songs.Author"
	'.Add "TEMPO", "Lists.TextData"
	'.Add "MOOD", "Lists.TextData"
Save and restart MM. Let me know if you're getting the same error after this (you'll likely still get an error, but hopefully a different one).

Posted: Mon Oct 24, 2005 4:37 pm
by MagGyver
Pablo,

Still getting the same error except the line number has changed. It now reads:

"Error #457 - Microsoft VBScript Runtime Error
The key is already associated with an element in this collection
File: "C:\Program Files\Mediamonkey\Scripts\Auto\MagicNodes.1.3.vbs", Line: 155, Column: 1 "

The second error window pops up again after clicking OK, then if I click OK again MM loads with no Add Nodes menu item.

It looks like we're making progress, at least. Thanks for your attention to this. :)

Posted: Fri Nov 04, 2005 1:30 pm
by MagGyver
*bump*

I'm still encountering the same error every time I open MM with the MagicNode script installed. Might there be any other suggestions of what to try?

Posted: Fri Nov 04, 2005 3:07 pm
by onkel_enno
@MagGyver
Do you have a second version of MagicNodes in your Scripts/Auto-Folder?

Posted: Fri Nov 04, 2005 3:10 pm
by Guest
No, just the one file MagicNodes.1.3.vbs

Posted: Fri Nov 04, 2005 4:08 pm
by Risser
Are you sure? Your first post said the file was 1.1. Maybe do a drive-search for vbs files and see where magic node files might be hiding.

Peter

Posted: Fri Nov 04, 2005 5:17 pm
by Pablo
Hey, thanks for bumping this. Now look for

Code: Select all

	.Add "TEMPO", True
in the script file, should be line 155. And replace it by

Code: Select all

	'.Add "TEMPO", True
You should keep getting the error but with a new line number. If you have a text editor with line numbers, you can just add a ' before each line for which you're getting an error. If not, let us know the error and I'll look up the corresponding line for you.

Feature Request

Posted: Fri Nov 04, 2005 8:35 pm
by SMRGroup
Just started using Magic Nodes and it's a huge help, I wanted to sort all my high-resolution files into one group and found a way to do that by file type (they're all lossless APE).

One feature request - would it be possible to add a parameter for sample rates? I'd really like to sort into groups of 48kHz, 88.2kHz, 96kHz and 192kHz if possible.

Thanks for the great plug-in!

Re: Feature Request

Posted: Fri Nov 04, 2005 9:25 pm
by Pablo
SMRGroup wrote: One feature request - would it be possible to add a parameter for sample rates? I'd really like to sort into groups of 48kHz, 88.2kHz, 96kHz and 192kHz if possible.
Yes, that's definitely possible. It'll be included in the next release.