Track Redirection & Synchronization 3.4 (2012-10-08) [MM3+]

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

Moderators: Peke, Gurus

nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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?
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
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post by nynaevelan »

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:

Image

Image

Image
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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:
  1. 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
  2. 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
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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?
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
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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.
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
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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.
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
nynaevelan
Posts: 5559
Joined: Wed Feb 07, 2007 11:07 pm
Location: New Jersey, USA
Contact:

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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?
3.2x - Win7 Ultimate (Zen Touch 2 16 GB/Zen 8GB)
Link to Favorite Scripts/Skins

Join Dropbox, the online site to share your files
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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!
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
RobertSmith
Posts: 157
Joined: Wed Jun 24, 2009 1:05 am
Location: Stockholm, The home of Icebears

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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). :lol:
Boys Don't Cry
3.1.0.1256 - M$ Vista Business sp1, DELL laptop, WD USB HDD 1TB (iPhone 3GS 32GB, iPod 30GB, Archos AV500 60GB)
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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.
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
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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). :lol:
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...
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
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
ZvezdanD
Posts: 3270
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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.
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
Bex
Posts: 6316
Joined: Fri May 21, 2004 5:44 am
Location: Sweden

Re: Track Redirection & Synchronization 2.5.1 (2009-07-26) [MM3]

Post 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
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Post Reply