Involved People Node v1.3 (2009-09-01) [MM3]

Download and get help for different MediaMonkey for Windows 4 Addons.

Moderators: Peke, Gurus

k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Involved People Node v1. (2009-09-01) [MM3]

Post by k_r_eriksson »

New Version!

v1.3: September 1, 2009
- Added support for filters.
- Fixed: Problem with sql.

/KRE
Mizery_Made
Posts: 2283
Joined: Tue Aug 29, 2006 1:09 pm
Location: Kansas City, Missouri, United States

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by Mizery_Made »

Looking good.
declan
Posts: 85
Joined: Wed Sep 20, 2006 3:55 pm

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by declan »

I'm getting an error on the By Role node -

Subscript out of Range:'[number:0]'

By Person just keeps searching and I have to close MM to stop it.
k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by k_r_eriksson »

declan wrote:I'm getting an error on the By Role node -

Subscript out of Range:'[number:0]'

By Person just keeps searching and I have to close MM to stop it.
I think you have tracks that don't follow the mask "role1:name1;role2:name2" and so on. Can you chekc if you got something strange and post it here so I can edit the script.
declan
Posts: 85
Joined: Wed Sep 20, 2006 3:55 pm

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by declan »

I've nothing that doesn't conform to that mask. (Although some are blank)

Although, a typical mask might look like this -

Code: Select all

Singer: Zach Condon; Ukelele - Other: Zach Condon; Percussion - Other: Nick Petree; Strings - Other: Perrin Cloutier; Guitar: Jason Poranski; Mandolin - Other: Jason Poranski; Bass: Paul Collins; Multi - Other: Jon Natchez; Violin - Strings - Other: Kristin Ferebee; Tuba - Brass - Other: Tracy Pratt; Cello - Strings - Other: Heather Trost
Basically,

Code: Select all

Singer, Guitar, Bass, Drums, Keys ==>> Singer: Joe Bloggs; Guitar: Joe Bloggs     etc
Backing singer, Piano player, organist  ==>> Backing Singer: Joe Bloggs; Piano Keys: Joe Bloggs; Organ Keys: Joe Bloggs  etc
Ukele, Mandolin, Harmonica, D.J. ==> Ukele - Other: Joe Blogs; Harmonica - Other: Joe Bloggs; D.J. - Other: Joe Bloggs
Violin, Cello, Viola ==>> Violin - Strings - Other: Joe Bloggs; Cello - Strings - Other: Joe Bloggs
k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by k_r_eriksson »

One way to trigger the error is to have an Involved people that starts with a ";". Can you look for that? Or you may have two ";" in a row.
declan
Posts: 85
Joined: Wed Sep 20, 2006 3:55 pm

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by declan »

Don't think either of those instances apply.
k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by k_r_eriksson »

Then I don't know. Does anyone else know?
k_r_eriksson
Posts: 185
Joined: Mon Aug 14, 2006 4:26 pm
Location: Gotland, Sweden

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by k_r_eriksson »

I'll no longer update this script. I'll leave the script so you can download it. Use MagicNodes instead. It can do all that this script can and so much more.
MagicNodes

If it is something MagicNode can't do I can edit this script for you. All you have to do is dream, dream dream dream..... or ask!
SimonORorke
Posts: 27
Joined: Tue Dec 29, 2009 10:54 pm
Location: Wellington, New Zealand

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by SimonORorke »

I've tried Magic Nodes, but I found it complex and buggy when it came to handling Involved People. Involved People Node works much better for me. I did get the

Subscript out of Range:'[number:0]'

error with Involved People Node. In my case I found that it had been caused by having a ; at the end of an Involved People tag. I understand your reluctance to update the script. If you do not still do not want to update it, would it be possible for me to have access to the source code so I can have a go myself?
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by Eyal »

I believe k_r_eriksson is no longer active on the forum. Despite that, if you have installed the script you have access to the code:

Program Files\MediaMonkey\Scripts\Auto\InvolvedPeopleNode.vbs
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
SimonORorke
Posts: 27
Joined: Tue Dec 29, 2009 10:54 pm
Location: Wellington, New Zealand

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by SimonORorke »

Ah right, thanks! I've never done any MM script programming before and that was a complete beginner's question. Sorry about that. Well, I can now see that I can make my own corrections to any script I like, at least for my own use. There could be all sorts of possibilities...
Eyal
Posts: 3116
Joined: Sun Jun 26, 2005 9:27 am
Location: Québec

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by Eyal »

The scripts are written in VBScript (VisualBasic Script, or VBS).

Some help: MediaMonkey scripting help: Of course MediaMonkey community will be glad to answer your scripting questions in Addons developer forum.


:~)
Skins for MediaMonkey: Cafe, Carbon, Helium, Spotify, Zekton. [ Wiki Zone ].
SimonORorke
Posts: 27
Joined: Tue Dec 29, 2009 10:54 pm
Location: Wellington, New Zealand

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by SimonORorke »

Thanks for the links. They look like everything I'll need. My programming background is mostly in C# and Visual Basic. So, although I've done very little VBScript, I should be able to get up to speed with it without too much trouble. In fact, if I'm just coding for my own use, I'd have the option of using a proper programming language instead of or in conjunction with a script.
ZvezdanD
Posts: 3257
Joined: Thu Jun 08, 2006 7:40 pm

Re: Involved People Node v1.3 (2009-09-01) [MM3]

Post by ZvezdanD »

SimonORorke wrote:I've tried Magic Nodes, but I found it complex and buggy when it came to handling Involved People.
Why didn't you send a report in the Magic Nodes thread about the bug, if you think that you found it?
Magic Nodes 4.3.3 / 5.2 RegExp Find & Replace 4.4.9 / 5.2  Invert Selection/Select None 1.5.1  Export/Create Playlists for Child Nodes 4.1.1 / 5.4.1  Expand Child Nodes/Expand All 1.1.2  Event Logger 2.7  Filtered Statistics Report 1.6  Track Redirection & Synchronization 3.4.2  Restore/Synchronize Database 3.1.8 / 4.0.1  Find Currently Playing Track 1.3.2  Queue List 1.2.1  Add to Library on Play 1.0.1  Tree Report for Child Nodes 1.1.1  Update Location of Files in Database 1.4.5 / 2.3  Inherit Child Playlists 1.0.3  Add Currently Playing/Selected Track(s) to Playlist 1.2
Locked