Page 8 of 18
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Thu Jul 30, 2009 11:44 am
by nynaevelan
ZvezdanD wrote:nynaevelan wrote:I clicked on the Master Track to bring up the dialog to Syncronize the Metadata but it didn't change the Artist.
Why do you want to bring up the dialog to Synchronize the Metadata? Haven't your artist in linked tracks automatically changed after you changed the master track?
No, that's the problem the tracks still have the incorrect data not the updated data. I thought by selecting that, it would update the data.
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Thu Jul 30, 2009 11:54 am
by ZvezdanD
nynaevelan wrote:No, that's the problem the tracks still have the incorrect data not the updated data. I thought by selecting that, it would update the data.
Well, this is some really strange problem. Using that option could not help if your data is not automatically updated, since they share a great part of the code for synchronization. Did you try that option before? Are you using v2.5.1 of the script? Could you try to close the program and to kill all instances with the Task Manager if there is some left?
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Thu Jul 30, 2009 7:27 pm
by nynaevelan
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 12:26 am
by RobertSmith
Hi Z,
This scripts works perfect I'm taken one artist at a time just done with 40 albums with The Cure

I have two questions regarding GUI:
- Is it possible to have an option to turn right mouse actions on/off. No of actions is growing and if I know your right more is to come
For instance I'm not using the .asx options so for me it would be great to remove them to reduce no of options when select using Track Redirection
- I'm using this script to redirect not only duplicates from compilations and remastered versions I use it also to redirect different versions like [live], [demo], [unplugged] etc. Be doing it this way I reduce no of tracks on my iPod without having to use a CustomX filed with a text like (No sync..) Also when playing random tracks I want to avoid demo etc. It 's so easy to turn the redirection option off when I want to listen to an live version.
Is it possible to reduce no of possible albums (and tracks) in the Create Track Redirection to only contains tracks what starts with xxx so you only find tracks like xxx [live], xxx [demo] etc. when creating a redirection for track xxx
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 1:08 am
by ZvezdanD
nynaevelan wrote:I'm using 2.5.1 and I tried restarting and rebooting and it still will not update those tracks. Here are my options and here are the tracks before and after a test:
Sorry, but I really have no more idea what is happening. Are you sure that you are created redirection links to those tracks? Could you check that in the Show and Remove Redirections dialog box? Could you share your database, so I could take a look at it?
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 1:30 am
by ZvezdanD
RobertSmith wrote:Is it possible to have an option to turn right mouse actions on/off.
Maybe I could add a possibility for such thing, but only if you are ready to edit the script file by yourself. For example, I could add a line Const ShowMenuSynchronizeAsxMetadata = True on the begin of the file and you could change that to False. Eventually, I could add such thing to the MediaMonkey.ini file instead of the script file. The Options dialog box is already full and it has no more space to list all menu commands in it with check boxes to un/select them.
RobertSmith wrote:Is it possible to reduce no of possible albums (and tracks) in the Create Track Redirection to only contains tracks what starts with xxx so you only find tracks like xxx [live], xxx [demo] etc. when creating a redirection for track xxx
I am not sure this is a very good idea because someone could want to redirect some master track to some another track which don't have similar Title at all. However, maybe I could add a possibility for tracks with similar Title to be automatically selected from a list of all tracks from some album, if there is none track with exactly same Title.
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 3:02 am
by nynaevelan
ZvezdanD wrote:nynaevelan wrote:I'm using 2.5.1 and I tried restarting and rebooting and it still will not update those tracks. Here are my options and here are the tracks before and after a test:
Sorry, but I really have no more idea what is happening. Are you sure that you are created redirection links to those tracks? Could you check that in the Show and Remove Redirections dialog box? Could you share your database, so I could take a look at it?
Yes I am sure they have redirections. And I do not know anywhere where I can load my db for free, it is almost a gig in size.
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 4:14 am
by nynaevelan
I think my problems may be stemming from script conflicts, if I uncheck the Syncronize metadata.... option does this turn off automatic syncronizing?
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 4:22 am
by RobertSmith
ZvezdanD wrote:For example, I could add a line Const ShowMenuSynchronizeAsxMetadata = True on the begin of the file and you could change that to False. Eventually, I could add such thing to the MediaMonkey.ini file instead of the script file.
Perfect!
ZvezdanD wrote:I am not sure this is a very good idea because someone could want to redirect some master track to some another track which don't have similar Title at all.
I agree!
ZvezdanD wrote:However, maybe I could add a possibility for tracks with similar Title to be automatically selected from a list of all tracks from some album, if there is none track with exactly same Title.
Perfect!
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 4:28 am
by RobertSmith
More GUI stuff.. In the
Create Track Redirection is possible to show master track either in dialogue title or as text just above the drop boxes, My memory is very short and i always has to check wish track I selected to redirect (master).

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 7:27 am
by ZvezdanD
nynaevelan wrote:I do not know anywhere where I can load my db for free, it is almost a gig in size.
Your database is a GB in size? By database, do you mean about audio files? I asked for your c:\Documents and Settings\your_username\Local Settings\Application Data\MediaMonkey\MM.DB - this is a database file, not audio files.
nynaevelan wrote:I think my problems may be stemming from script conflicts,
Did you install some new script this days, before this started to happen? Maybe you could try temporary to remove all scripts from Auto folder except this one, just to check if this is a case. I know there are some nasty scripts, like Advanced Find & Fix/Tagging Inconsistencies, because of their .ini handling I lost my hardly written MN masks and RegExp presets several times. This is not connected with your case, but maybe there is a conflict with some another script.
nynaevelan wrote:if I uncheck the Syncronize metadata.... option does this turn off automatic syncronizing?
Yes, this option from the Options dialog box is only for automatic synchronization, if you turn it off the manual sync would be still available using the Synchronize Metadata of Redirected Tracks option from a menu. However, as I said most probably this option will not work if automatic sync already doesn't work since they both use the same function for synchronization - only the calling functions are different.
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 7:37 am
by ZvezdanD
RobertSmith wrote:In the
Create Track Redirection is possible to show master track either in dialogue title or as text just above the drop boxes, My memory is very short and i always has to check wish track I selected to redirect (master).

Thanks for suggestions

What should I display if there are more than one track selected? And what should I display anyway - Artist, Title, Filename...? I am not so sure about this one...
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 7:59 am
by Bex
ZvezdanD wrote:I know there are some nasty scripts, like Advanced Find & Fix/Tagging Inconsistencies, because of their .ini handling I lost my hardly written MN masks and RegExp presets several times.
Nasty? .ini handling? What do you mean?
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 8:22 am
by ZvezdanD
Bex wrote:Nasty? .ini handling? What do you mean?
Yes, they are nasty because I lost my hardly written MN masks/RegExp presets and their settings (move up/down into their lists, changing grouping...) several times until I found what is a cause. Well, the main reason for such behavior is not your scripts, but MM devs strange decision to change handling of MediaMonkey.ini file.
I had installed your scripts just to see how they look and during that period I had entered some MN masks and RegExp presets. Normally, without installed your scripts, my scripts write MN masks and RegExp presets immediately into MediaMonkey.ini file after I click on the Save button. With your installed scripts this happens only on the regular program exit. During my scripts development I have program's crush very often and because of that I had a loss of MN masks/RegExp presets since they are not saved into .ini file. I didn't know what is a reason until recently when I decided to experiment with installed scripts. After that I looked at a source code of your scripts and I saw that ADFF and TI are using global variable for SDB.INI object which is a reason for such behavior. Your Playing History is not using global variable for it and I have not a problems with it, only with ADFF and TI.
Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]
Posted: Fri Jul 31, 2009 9:02 am
by Bex
ZvezdanD wrote:Bex wrote:Nasty? .ini handling? What do you mean?
Yes, they are nasty because I lost my hardly written MN masks/RegExp presets and their settings (move up/down into their lists, changing grouping...) several times until I found what is a cause. Well, the main reason for such behavior is not your scripts, but MM devs strange decision to change handling of MediaMonkey.ini file.
I had installed your scripts just to see how they look and during that period I had entered some MN masks and RegExp presets. Normally, without installed your scripts, my scripts write MN masks and RegExp presets immediately into MediaMonkey.ini file after I click on the Save button. With your installed scripts this happens only on the regular program exit. During my scripts development I have program's crush very often and because of that I had a loss of MN masks/RegExp presets since they are not saved into .ini file. I didn't know what is a reason until recently when I decided to experiment with installed scripts. After that I looked at a source code of your scripts and I saw that ADFF and TI are using global variable for SDB.INI object which is a reason for such behavior. Your Playing History is not using global variable for it and I have not a problems with it, only with ADFF and TI.
I have not encountered these problems you are describing. What version of MM do you use?
http://mediamonkey.com/forum/viewtopic. ... le#p187562
jiri wrote:To clarify some issues described here: Everything should work fine in 1217 (as confirmed above), even without explicitely using Flush method. In several previous builds, there were some problems that caused sometimes (depending on configuration, like other scripts, etc.) loss of data written to ini file.
Btw, currently the best (fastest) way to access inifiles is:
Code: Select all
Set inif = SDB.IniFile
inif.StringValue("x","y")="z"
inif.StringValue("x2","y2")="z2"
Set inif = Nothing
This way every access (read or write) to the file doesn't require parsing the whole file and so it's very fast.
Jiri
Jiri wrote:Note that ini file incompatibility introduced by MM 3.1 will be fixed in the next release. So, it will be no longer necessary to fix scripts, actually, from performance point of view, it's better to reuse ini file variable for multiple operations, it requires less disk access.
Jiri