eCustom V2-2 - for editing Custom fields

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: eCustom V2-0 - for editing Custom fields

Postby justin_f » Sat Jan 31, 2009 3:37 pm

Would it be possible to add the Grouping and Comment fields? I use those to store data for some of my MagicNodes, and it would be very convenient if I could add the info from eCustom.

Edit: I figured it out. That makes my life alot easier. Thanks for a great script. I don't think I'll be able to live without this one now.
Justin
justin_f
 
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN

Re: eCustom V2-0 - for editing Custom fields

Postby raybeau528 » Sat Jan 31, 2009 5:20 pm

Justin,

Did you edit the script to add the additional fields? I can go ahead and add them and update the install package so it has the latest edits.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-0 - for editing Custom fields

Postby justin_f » Sat Jan 31, 2009 5:24 pm

Yep. I figured you had to have the fields somewhere in the .vbs file, so I started digging through and found it. I don't know much about scripting, but I know just enough to be dangerous. :D I don't see any problems with the way I've done it at the moment, so don't go out of your way to add them, but I certainly wouldn't complain if you added them next time you update the script.

Justin
justin_f
 
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN

Re: eCustom V2-0 - for editing Custom fields

Postby raybeau528 » Sat Jan 31, 2009 5:39 pm

Justin,

No problem at all. Just testing the install package now. Anything else you can think of while I'm making edits?

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-0 - for editing Custom fields

Postby justin_f » Sat Jan 31, 2009 5:46 pm

Nothing I can think of now. It's pretty much exactly how I like it at the moment.

Justin
justin_f
 
Posts: 92
Joined: Thu Nov 22, 2007 11:41 am
Location: Valpo, IN

Re: eCustom V2-1 - for editing Custom fields

Postby gcat » Fri Feb 06, 2009 5:42 am

Hi -- this script looks awesome!
I happen to get an error when I want to create my first eCustom, in the lines of "MS VBScript error - object does not handle SDB.Inifile.flush in line 828"
Any idea?
Many thanks!
gcat
 

Re: eCustom V2-1 - for editing Custom fields

Postby raybeau528 » Fri Feb 06, 2009 9:35 am

gcat,

That error is due to this version uses a feature of the beta version of mm. If you're up to editing the script, I could explain what to change to fix it. If not, I could look into providing a backward compatible version. Let me know.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-1 - for editing Custom fields

Postby gcat » Mon Feb 09, 2009 8:27 am

Thanks for that raybeau. I feel fit to edit the script, so you can shoot away!
Many thanks!
gcat
 

Re: eCustom V2-1 - for editing Custom fields

Postby raybeau528 » Mon Feb 09, 2009 9:50 am

gcat,

Locate where you installed MediaMonkey (usually c:\program files\mediamonkey ) then in \scripts\auto you should find
eCustom.vbs. Edit that file and locate every occurrence of :

Call SDB.IniFile.flush()

You can either delete that line or comment it out by placing a single quote ' anywhere before the test, ie :

' Call SDB.IniFile.Flush()

Should be 5 lines like that.

Let me know if that works for you.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-1 - for editing Custom fields

Postby gcat » Mon Feb 09, 2009 3:10 pm

well... It does work now -- at least it "technically" does: I no longer get the error; I can create eCustom categories; when I right-click on a track I can run the thingee and it does work. But:
- I don't see any panel appearing anywhere (tried several skins, tried to relaunch MM...)
- when I close MM and reopen it, the category I had created is gone from eCustom.

Am I using an irrelevant version of MM? (it is the last available: 3.07.1191)
gcat
 

Re: eCustom V2-1 - for editing Custom fields

Postby raybeau528 » Mon Feb 09, 2009 3:41 pm

gcat, I'm not sure why it disappeared on you. Let me test it against the same version you're running and go from there. I may need to post a new version. Should be able to do that by this evening.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-1 - for editing Custom fields

Postby raybeau528 » Mon Feb 09, 2009 6:19 pm

gcat,

I used 3.07.1191 to test and couldn't get it to fail as you described. Can you edit the MediaMonkey.ini file ? These are
the locations depending on your O/S.


Windows XP: C:\Documents and Settings\<USERNAME>\Local Settings\Application Data\MediaMonkey\MediaMonkey.ini
Windows Vista: C:\Users\<USERNAME>\AppData\Local\MediaMonkey\MediaMonkey.ini

Search for [eCustomRecords] and post everything from there to the next bracketed text [???]. That will help me
troubleshoot the problem. Should only be one or two lines, depending what you defined for categories.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

Re: eCustom V2-1 - for editing Custom fields

Postby gcat » Tue Feb 10, 2009 4:09 pm

Here it is...
I recognize the several trials I made. eCustom does not seem to be able to access them any longer...

[eCustomRecords]
=7,1,5,Female Vocal Soft Relaxed TripHop HardRock Rock Funk Country Guitar Piano
taggs=7,1,5,Female Soft
ccc=0,1,0,rock,pop,rap
aa=1,0,0,
ee=0,0,0,ee,ii,oo
BPh Comments=7,1,5,Female Male Soft Relaxed Guitar Piano Funk Rock
aaa=7,1,5,Female,Soft,Relaxed
gcat
 

Re: eCustom V2-1 - for editing Custom fields

Postby gcat » Tue Feb 10, 2009 4:13 pm

ah, a bit better: I've taken all these lines out except the last one :

aaa=7,1,5,Female,Soft,Relaxed

Now eCustom remembers it! It appears in the right-click menu when I click on a track.
But I still don't have an eCustom panel...
gcat
 

Re: eCustom V2-1 - for editing Custom fields

Postby raybeau528 » Tue Feb 10, 2009 4:50 pm

gcat,

There is no panel with eCustom 2.x. With your example, aaa=7,1,5,Female,Soft,Relaxed, when you right click on a track (or a multiple tracks) and select eCustom, you should see aaa as a menu choice. Select that and you should get a sub-menu with Female, Soft, and Relaxed choices. Select one of those and it should be written to the comment field.

Here's an image of my own. When i follow the menu tree from Wind Instruments to Jazz Harp, you'll notice that Jazz Harp is written to the custom2 field.


[img][IMG]http://www.mediafire.com/imgbnc.php/908f3ccc5224c71bfb1a3a9589f22ea92g.jpg[/img][/img]


Let me know if you have any more issues or questions.

Ray
raybeau528
 
Posts: 401
Joined: Thu Sep 27, 2007 4:19 pm
Location: Connecticut

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 13 guests