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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

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

Postby ZvezdanD » Tue May 05, 2009 4:38 pm

Description:
This add-on is for use with MediaMonkey v3.x or up (3.1.0.1255 and higher is recommended). If you like to store and play whole albums and if you have many albums with same songs (official studio, compilation, soundtrack, ...), especially if they are in some lossless format, then this script is right for you. Instead of having multiple large audio files with same song for every album, you could keep just one file for one album and on another albums you could have small .asx files as redirection files.

With this add-on you could create .asx files and use them instead of original audio files, you could play them and you could modify their metadata using Track Properties dialog box. Beside of the master audio file, the .asx file could also refers to its album cover bitmaps. There is also an option to update the playcount and the last played date of the master (referenced) file whenever you play some .asx file which refers to it. Many software and hardware players could reproduce audio files referenced by .asx files.

This add-on is mainly intended for "one song-many albums" situations, but it could be also used for any kind of redirections, for example if you want to store metadata for some file format which doesn't support tags. Version 1.2 has added an option to create redirections between two (or more) audio files instead of .asx files (e.g. master could be a .flac and redirected file a .mp3), for users who prefer to keep duplicates on disk. Version 2.0 has added an option to synchronize specified metadata between linked tracks and version 3.0 has added an option to copy tags from the one set of tracks to the another one even if they are not previously linked with redirections.

Download:
http://solair.eunet.rs/~zvezdand/TrackRedirection.htm

Image

What is new:
v3.4 - 2012-10-08
* Added: options to find master track in the Library/Location folder or in the current tracklist (Find Referenced Master sub-menu);
* Added: possibility to specify the name of some nested playlist in the Options dialog box without its full path if that name is unique;
* Fixed: remembering of Copy Audio Tracks and Transfer Playstats options in the Create Redirections for Specified Tracks dialog box;
* Fixed: error when some HideMenu options is set to 1 in the .ini file.

v3.3.9 - 2012-06-28
* Fixed: suggested redirection file in Create Redirections for Specified Tracks dialog box with some faulty databases and UNC paths;
* Improved: speed of synchronization of album arts.

v3.3.8 - 2011-06-26
* Fixed: references to cover arts if they are stored in tags of original audio files when creating .asx files;
* Fixed: .asx files for tracks with double qoutes in tags causing some media players to refuse their reproduction;
* Fixed: .asx files containing Comment/Lyrics with more then one line of text;
* Fixed: error with non-numeric Track # and Disc # in Create Redirections for Specified Tracks dialog box;
* Fixed: suggested redirection track in Create Redirections for Specified Tracks when Filtered is unchecked and none filter is applied;
* Fixed: remembering of Filtered option in Create Redirections for Specified Tracks dialog box.

v3.3.7 - 2011-06-10
* Fixed: AV error when turning on the Update playlist option in the Options dialog (and probably in some another occasions) [MM4].

v3.3.6 - 2011-06-03
* Fixed: error with Add/Rescan .asx Files to the Library option [MM4].

v3.3.5 - 2011-04-03
* Fixed: removing of tracks from playlists with "Remove Duplicates / Linked Tracks from the Tracklist / Keep Only Linked Tracks in the Tracklist" options when some playlist node is selected.

v3.3.4 - 2011-01-17
* Fixed: specifying playlist used for updating when add/remove redirections other then "Redirected Tracks".

v3.3.3 - 2011-01-15
* Fixed: suggested redirection file in Create Redirections for Specified Tracks dialog box for some cases;
* Fixed: some bugs introduced with MediaMonkey 4.0, e.g. LastPlayed not updated for the master track when the redirected one finishes with reproduction.

v3.3.2 - 2010-03-21
* Changed: the list of playlists in the Options dialog box is now limited to playlists on the first level because the large number of nested playlists have slowed down its display; if you need to specify some nested playlist, you could still write it using "\" as a separator between nested levels.

v3.3 - 2009-09-14
- Added: Select Unsynchronized Master Tracks option.

v3.2 - 2009-08-26
- Added: Swap button to the Create Redirections/Copy Metadata dialog box which could swap selected masters with redirecting tracks;
- Added: possibility to use the Replace with Duplicate and Replace with Linked Tracks options with multiple selected tracks;
- Fixed: Create Redirections > Folders option.

v3.1.2 - 2009-08-23
- Fixed: error with Create Redirections for Specified Tracks if Filtered is turned off.

v3.1.1 - 2009-08-23
- Fixed: error on program exit if Create Redirections/Copy Metadata or Maintain Redirections are entered.

v3.1 - 2009-08-17
- Added: Filtered tracks option to Create Redirections dialog boxes; if it is turned on, only a set of tracks limited with the active filter are used.

v3.0.2 - 2009-08-15
- Added: LogReport key to the TrackRedirection section in the .ini file, enables logging of some events (sync, transfer) if set to = 1;
- Fixed: synchronization of Original Date tag with month/day information.

v3.0.1 - 2009-08-08
- Fixed: empty table in Create Redirections/Copy Metadata with turned on only selected in main tracklist and empty folder text boxes.

v3.0 - 2009-08-07
- Added: Synchronize and Transfer playstats options to the Create Redirections/Copy Metadata dialog box; it is now possible to copy metadata between duplicates which are not already redirected;
- Added: Synchronize and Transfer playstats options to the Show and Remove Redirections dialog box which is now renamed to Maintain Redirections;
- Added: possibility to turn on/off the transfer of playstats and/or synchronization when creating redirections;
- Added: Select unsync button to mentioned dialog boxes, after click on it you would get selected only redirections which have unsynchronized metadata;
- Added: when you click on some redirections in mentioned dialog boxes which has unsynchronized metadata you would get displayed which metadata are different in the bottom of the dialog;
- Added: option to display all/only selected duplicates in the Create Redirections for Duplicates dialog box;
- Added: Synchronize metadata to match masters only option now works using manual synchronization, i.e. even with turned off the Automatically synchronize metadata option;
- Added: Tag and File options for album art storage during synchronization (until now only same storage as with master was possible);
- Added: selection of tracks with similar titles (e.g. Title (live)) if there is none track with exactly same title in Create Redirection for Specified Tracks dialog box;
- Added: possibility to hide some of menu items from this script by modifying .ini file, e.g. you could hide .asx options if you are using only redirected audio files;
- Fixed: transfer of playstats from redirected audio files to masters (until now only transfer from redirected .asx files worked correctly).

v2.5.1 - 2009-07-26
- Fixed: very serious problem when database is not updating until restart if master track is modified during its reproduction (bug introduced in v2.1.1).

v2.5 - 2009-07-25
- Added: option to synchronize playcounts and last play dates, it is mutually exclusive with the option to transfer playstats on track playback;
- Added: option to specify main criteria for Select Duplicates command, beside of the existing Maximal Bitrate it is now possible to specify list of extensions.

v2.4 - 2009-07-22
- Added: Select Linked Tracks - Master/Redirected/All Linked options (MM 3.1.0.1218 or up required);
- Added: Remove Linked Tracks from the Tracklist/Now Playing List - Master/Redirected/All Linked options (MM 3.1.0.1218 or up required);
- Added: Keep Only Linked Tracks in the Tracklist/Now Playing List - Master/Redirected/All Linked options (MM 3.1.0.1218 or up required);
- Fixed: manual adjusting of columns width in the Create/Remove Redirections table (widths are automatically adjusted only on dialog resize);
- Fixed: error with Transfer Redirected Playstats to Master Tracks option and selected tracks (Yes button).

v2.3 - 2009-07-20
- Added: Update (specified) playlist when add/remove redirection option;
- Added: Synchronize metadata of linked tracks when change master only option;
- Fixed: playstats was not transferred to masters in some cases.

v2.2 - 2009-07-11
- Added: Create Redirections for Folders option; you could specify Master and Copy folders which have tracks with similar path/filename;
- Added: Album Artist field to the Create Redirections for Specified Tracks dialog box.

v2.1.1 - 2009-07-03
- Fixed: error with the Create Redirection for Specified Tracks option;
- Fixed: error with the Add/Rescan .asx Files to the Library option and release date containing Month/Day, also with nested folders;
- Fixed: synchronization in some cases.

v2.1 - 2009-07-02
- Added: synchronization of album arts;
- Fixed: error with the Add/Rescan .asx Files to the Library option;
- Fixed: error with the Find Referenced Master Track option and empty album names;
- Fixed: playstats was not transferred to masters when synchronization is turned on;
- Fixed: deleting of replaced audio files with Create - Unselected option.

v2.0 - 2009-06-27
- Added: conditional synchronization of tags for linked tracks, with settings for individual tags that should be updated in the Option dialog box;
- Added: Synchronize Metadata of Redirected Tracks option;
- Added: Replace redirected audio file with corresponding master on playback or drag & drop to NP option;
- Added: Create Redirections for Duplicates option and dialog box with a table for new redirections (MM 3.1.0.1208 or up required);
- Added: support for tracks in tracklist for the Now Playing node with its context menu.

v1.3.2 - 2009-06-20
- Fixed: error with MM versions older than 3.1.0.1218;
- Fixed: occasional error with display of Replace with Duplicate from Album/Linked Track sub-menus.

v1.3.1 - 2009-06-19
- Fixed: removing of redirections when redirected file is not in the Library;
- Fixed: error with the Create Redirection option and paths containing "'" (single apostrophe).

v1.3 - 2009-06-13
- Added: support for tracks in the Now Playing panel with its context menu;
- Added: option Remove Duplicates from the Tracklist/Now Playing List (MM 3.1.0.1218 or up required);
- Added: option Replace with Duplicate from Album (MM 3.1.0.1218 or up required);
- Added: option Replace with Linked Track (MM 3.1.0.1218 or up required).

v1.2.1 - 2009-05-30
- Fixed: redirected audio files (not .asx) was played/moved to Now Playing panel instead of master tracks (MM 3.1.0.1217 or up required).

v1.2 - 2009-05-26
- Added: option to create redirections between two audio files instead of .asx files (e.g. a .mp3 file which redirect to a .flac file);
- Added: option to copy master tracks to the specified album/folder (used only with previous option);
- Added: Show and Remove Redirections option and dialog box with a table of redirections (MM 3.1.0.1208 or up required);
- Fixed: error with paths containing "'".

v1.1 - 2009-05-12
- Improved: automatic conversion of all duplicates to corresponding .asx files using several new options;
- Added: Find Duplicate Titles and Select Maximal Bitrate option (MM 3.1.0.1218 or up required);
- Added: Select Tracks with Maximal Bitrate option (MM 3.1.0.1218 or up required);
- Added: Replace with .asx files - Unselected tracks in tracklist option;
- Added: option to save .asx files with references using relative paths;
- Added: Synchronize .asx References option;
- Added: support for MM filters;
- Fixed: error with Create .asx File(s) option.

v1.0.1 - 2009-05-09
- Fixed: error with Create .asx File(s) when turned off Update playstats....

v1.0 - 2009-05-05
- First public version.

Installation:
Just double click on the TrackRedirection.mmip file; if you are on Vista make sure you have MM3 set to "Run as Administrator"; if you downloaded the installation package with IE7 and it changed its extension to a .zip, you should first change it back to a .mmip.

Usage:
When you choose the Track Redirection from the context or Tools menu, you have several options available:
  • Find Referenced Master Track
    You could choose this option if you want to find the master track referenced by the selected .asx or audio file in: 1) the Library/Album folder, 2) the Library/Location folder or 3) the current tracklist (MM 3.1.0.1218 or up required).
  • Find Duplicate Titles and Select Max. Bitrate/Ext. (MM 3.1.0.1218 or up required)
    When you choose this option, the Library/Files To Edit/Duplicate Tracks node will be activated and tracks with maximal bitrate will be selected in the main tracklist since in most cases you want such tracks to keep as masters; alternatively, you could choose extensions which you prefer to keep as masters. This option could be used before creating of redirections for all duplicates in the library. However, this option could return tracks which you don't want to keep as masters, so it could be better if you create one playlist with masters and their duplicates which you want to replace and choose the next option. In both cases you should check the result of selection and manually adjust selected tracks with Ctrl+click, since sometimes you could want to replace tracks with higher bitrate or maybe you want to keep some specific version of track.
  • Select Duplicates Using Specified Criteria (MM 3.1.0.1218 or up required)
    This option selects tracks from the current tracklist/NP list using a criteria specified in the Options dialog box (it could be a maximal Bitrate or a list of extensions); you could use this option before creating of redirection for some duplicates.
  • Select Linked Tracks - Master/Redirected/All Linked (MM 3.1.0.1218 or up required)
    You could use those options if you want to select only masters, redirected tracks or both masters and redirected tracks.
  • Select Unsynchronized Master Tracks (MM 3.1.0.1218 or up required)
    This option selects master tracks with metadata different from redirected ones.
  • Remove Duplicates from the Tracklist/Now Playing List (MM 3.1.0.1218 or up required)
    You could choose this option if you want to remove all duplicate tracks from the main tracklist or Now Playing list, i.e. tracks with same Artist and Title, leaving only duplicates with maximal bitrate or master tracks which are already referenced.
  • Remove Linked Tracks from the Tracklist/Now Playing List - Master/Redirected/All Linked (MM 3.1.0.1218 or up required)
    You could use those options if you want to remove masters, redirected tracks or both masters and redirected tracks from the main tracklist or Now Playing list.
  • Keep Only Linked Tracks in the Tracklist/Now Playing List - Master/Redirected/All Linked (MM 3.1.0.1218 or up required)
    Those options are complement to previous. You could use those options if you want to keep only masters, redirected tracks or both masters and redirected tracks in the main tracklist or Now Playing list - other tracks would be removed.
  • Replace with Duplicate from Album (MM 3.1.0.1218 or up required)
    If you choose this option you would get sub-menu with a list of all tracks with same Artist and Title as the currently selected one. After you select some of those tracks, it will replace the track selected in the main tracklist/Now Playing list.
  • Replace with Linked Track (MM 3.1.0.1218 or up required)
    If you choose this option you would get sub-menu with a list of all tracks linked to the currently selected one (master or redirected). After you select some of those tracks, it will replace the track selected in the main tracklist/Now Playing list.
  • Create Redirections for Specified Tracks
    This is the most important step which you should take when you want to replace your duplicated audio files with .asx files or to create links between two audio tracks. First, you should select track(s) which you want to keep as masters and after you choose this option you will get the new dialog box. In this dialog you should specify what you want to do with duplicates: to replace them with .asx files or to keep them and just to create links to master tracks. If you choose the Tracks from specified Album option you should specify some existing album which contains same tracks as selected ones; if you choose the Unselected tracks in tracklist option, the script will create redirections for all unselected tracks that have same Artist and Title as selected ones (it could be for all duplicates in the library); this script in both cases automatically determine which tracks should be replaced considering their Artist and Title. Audio track(s) replaced with .asx file(s) could be deleted from the disk if you choose the Delete audio file(s) option in case that you choose the option Replace with .asx metafile). If you choose the Create redirection link option instead, you could turn on/off the Copy master (selected) track to the Album folder if it doesn't contain duplicate file option.
    Image
  • Create Redirections/Copy Metadata for Duplicates/Folders (MM 3.1.0.1208 or up required)
    You could use this option to create redirections instead of the previous one. As with the previous option, you should first select master tracks and after choosing this option you will get a new dialog box with the table of all possible redirections. If you select Duplicates option you would get the list of all duplicates of selected tracks which have same Artist and Title if they are not already redirected. If you select Folders option you could specify Master folder (e.g. Z:\My Music\) where you have stored master tracks (e.g. Artist\Album\Song.flac) and you could specify Copy folder (e.g. Z:\My Music Compressed\) where you have stored linked tracks (e.g. Artist\Album\Song.mp3) and script would create redirections for all tracks which have similar path/filename. Check boxes next to the each redirection allow specifying which redirections you actually want to create. There are also options to choose if you want to replace duplicates with .asx files or to keep them and just to create links to master tracks. This dialog box is more descriptive and somewhat easier to use then the previous one, but it is also less flexible.
  • Add/Rescan .asx Files to the Library
    Scan for existing .asx files and add or update them in the library, similar as the built-in Add/Rescan Tracks to the Library option, but for .asx files (only one folder with its child folders could be specified).
  • Synchronize Metadata of .asx Files
    Update metadata of selected .asx files to match the library, similar as the built-in Synchronize Tags option, but for .asx files (it could be useful if you have turned off the Update tags when editing properties option).
  • Synchronize References in .asx Files
    Update paths for tracks referenced in .asx files to match the library; it could be applied for selected tracks or for all .asx files in the library and could be used after changing of the Save references with relative paths option.
  • Edit .asx File with Notepad
    Well, you could use the Track Properties dialog box to modify metadata for specified .asx file(s), but you could choose this option instead if want to change some property which cannot be modified within Properties dialog box, e.g. a bitrate or track length, although it is not so much useful.
  • Assign Redirection to the .asx Files
    You could use this option if you have audio file in the Library that you want to replace with corresponding .asx file which is already created before (the Path information would be changed).
  • Remove Redirection from the Track
    This option is opposite to the previous, i.e. If you still have original audio file which is replaced by corresponding .asx file (but not deleted) and if it is still in the same folder with the same filename, then you could choose this option if you have changed your mind and want to return back that file to the Library (the Path information would be changed).
  • Transfer Redirected Playstats to Master Tracks
    You could use this command if you want to transfer play counts and play dates manually from redirected tracks (selected or all) to the masters. If you want those data to be updated automatically whenever you play some redirected .asx or audio file, you should turn on the Update playcount & play dates for master track on playback option in the Options dialog box. This command would be disabled if you choose the Placount/lastdate option for synchronization in the Options dialog box.
  • Synchronize Metadata of Redirected Tracks
    You could use this option if you want to synchronize tags manually, i.e. to update metadata of linked tracks to match the selected ones or to update all redirected tracks to match their corresponding masters. If you want those data to be updated automatically whenever you modify some linked track, you should turn on the Automatically synchronize metadata option in the Options dialog box.
    Image
  • Maintain Redirections (MM 3.1.0.1208 or up required)
    When you choose this option you will get a new dialog box with a table of all redirections. Check boxes next to the each redirection allow specifying which redirections you want to remove. However, this dialog box could be used to see which tracks are redirected, even if you don't want to remove any redirection.

Image

When you choose the Options option from the context or Tools menu, you will get a new dialog box with following options:
  • Save .asx files in ANSI / UTF-8 format
    You could choose a format for .asx files, depending of the player support and used character code page for tags.
  • Save references with absolute / relative paths
    You could choose if you want to save .asx files will references to master tracks using absolute or relative paths. Absolute paths are supported with all players, but relative paths could be used even after copying to another drive. You need MediaMonkey 3.1.0.1255 or up if you want to play .asx files with relative paths, but they are recommended if you want to copy tracks to some portable player or external drive. If you change your mind, you could convert relative paths in .asx files to the absolute paths or vice versa using the Synchronize .asx References option.
  • Update (specified) playlist when add/remove redirection
    This option allows you to have one static playlist with redirected tracks automatically updated whenever you add or remove some redirection; such playlist could be used to create an auto-playlist without redireceted ones, i.e. without duplicates, using criteria Playlist is not specified_playlist.
  • Update playcount & play dates for master track on playback of redirected .asx/audio file
    This option is very valuable if you want to have single playstats for same tracks, without a regard on which album they reside (official, compilation, ...); if you turn on this option, the playcount and play dates of the master (referenced) tracks will be updated whenever you play some .asx or audio file that redirects to them. This option is mutually exclusive with the option for synchronization of playcount/lastdate.
  • Synchronize metadata for all linked tracks
    This option should be turned on if you want to synchronize any linked tracks whichever track you select or choose to modify. For example, if you change the Title in one track, all linked track would be updated with same Title.
  • Synchronize metadata of redirected to match masters only
    Similar as previous, but synchronization is done only if you change some master track; if you change some redirected track, other tracks linked to it will be keept unchanged.
  • You could specify which tags should be updated during synchronization: Title, Artist, Album, ... Specified metadata could be synchronized automatically when some track is changed (if you turn on some of two previous options) or manually using the Synchronize Metadata of Redirected Tracks command. The option Playcount/lastdate is mutually exclusive with the option Update playcount & play dates for master track on playback.
  • Automatically synchronize metadata on modification of linked/master track
    You should turn on this option if you want metadata to be updated automatically whenever you modify some linked track (master or both master and redirected, depending on the previous Synchronize metadata options) e.g. using Properties dialog box.
  • Select Duplicates' main criteria: Maximal bitrate / Extensions (MM 3.1.0.1218 or up required)
    You could choose which criteria should have a priority when selecting tracks using the Select Duplicates Using Specified Criteria command. It could be a maximal Bitrate or a list of extensions separated with the vertical line "|", e.g. if you specify mp4|ogg, such files would be selected even if you have .mp3's with a larger bitrate.
  • Replace redirected audio file with corresponding master on playback or drag & drop to NP (MM 3.1.0.1218 or up required)
    If you turn on this option, redirected audio files will be replaced with corresponding masters whenever you start playback or drag & drop them to Now Playing panel. This option has an effect only on linked audio files, not on .asx files (when you start "playing" of some .asx file, MM will play master track anyway).
Advantages:
  • drastically reduced space for duplicated files; instead of 10-100 MB for some audio file you could have just 1-2 KB with .asx file;
  • every .asx file could contain their own metadata (track number, album name, ...) taken from the audio file that it replaces; those metadata are different from metadata of the master (referenced) track which is on another album;
  • play stats could be updated for referenced tracks whenever you play some .asx file;
  • .asx files could be played with many software and hardware players without a regard on used OS or its file system.

List of tested software players that support .asx files:
- BS.Player
- CorePlayer for Symbian
- GOM Player
- The KMPlayer
- VLC
- Winamp
- Windows Media Player

Limitations:
  • direct playback of .asx files in MediaMonkey using this script is possible only with v3.1 or up;
  • .asx files could be played with older MediaMonkey versions if you choose Winamp player in the Options dialog box, but in such case the playcount and play dates are not updated after reproduction;
  • .asx files cannot contain bitmap files for covers inside of them; if you want to replace some audio file which contains covers stored in tags, when you choose the Create .asx Files(s) option, those covers would be saved in the same folder as .asx file and will be referenced to it;
  • although MM from 3.1.0.1250 has a possibility to add .asx fies to the Library using the Add/Rescan Tracks to the Library option, this option doesn't create redirection links between tracks; you should use the Add/Rescan .asx Files to the Library option instead;
  • the Synchronize Tags option doesn't work with .asx files; you should use the Synchronize .asx Metadata option instead;
  • if you update track info using Add/Rescan .asx files to the Library or Edit .asx File with Notepad, the cover art is not automatically updated in the Album Art panel; however, you could switch to the another track or node and return back to the same track to see changes.
  • reference paths inside of the .asx files cannot be automatically updated if you copy masters tracks and/or .asx files themselves (however, if you rename or move tracks, the paths will be updated automatically); because of that it is recommended to turn on the Save references with relative paths option and to update all .asx files to relative paths using the Synchronize .asx References option before copyng to some portable player; you could resume the previous action and convert paths to absolute form after you copied files by turning off the Save references with relative paths option and updating .asx files using the Synchronize .asx References option again.

Warning:
This script could be very dangerous! If you choose the "Delete audio files from the specified album" option in the Create .asx File(s) dialog box, all files with the same album and title names as selected file(s) will be removed! Well, the main purpose of this script is to replace some large audio files with much smaller redirectional files, so you should be aware of such behavior. However, it is highly recommended to turn off the mentioned option, at least until you get comfortable using this script. Also, playing stats of referenced files and ones which refers to them could be messed up if something goes wrong. Because of that it would be the best if you try this script with some small test database and backup copies of audio files.

Disclaimer:
This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software.
Last edited by ZvezdanD on Mon Oct 08, 2012 3:30 pm, edited 34 times in total.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.0 (2009-05-05) [MM3]

Postby Psyker7 » Tue May 05, 2009 6:22 pm

This looks very interesting, but I'm not quite sure if I can be bothered with the effort of finding and manually redirecting all my duplicate songs >.<
Psyker7
 
Posts: 254
Joined: Sat Mar 03, 2007 8:00 am

Re: Track Redirection 1.0 (2009-05-05) [MM3]

Postby ZvezdanD » Wed May 06, 2009 12:49 am

Yes, I have a plan to add more automated way for batch creating of .asx files, but there is always a need to select which tracks you want to keep as masters and which ones you want to replace with .asx files. There is already some kind of automation - when you select some track and choose the Create .asx File(s) option, this script will automatically detect and suggest a track for replacement which have same Artist and Title, but different Album. Anyway, with the manual mode of this script you could create .asx files even for tracks that don't have entered Artist and Title tags.

Well, I know that creating of .asx files could be tedious, especially for a large database with many duplicated tracks, but this is something which you need to do just once. The main advantage of this script comes after that step, when you already have created those files.

By the way, it is not a great problem to find duplicated tracks, i.e. track with same Artist and Title. For example, you could use the Magic Nodes script and its predefined mask "Tracks with same Title from same Artists".
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.0 (2009-05-05) [MM3]

Postby Psyker7 » Wed May 06, 2009 12:55 am

Without trying it yet, what would happen with explorer integration?
ie. would opening an asx file from windows open up mediamonkey and play it correctly, if you assign the file type?
Psyker7
 
Posts: 254
Joined: Sat Mar 03, 2007 8:00 am

Re: Track Redirection 1.0 (2009-05-05) [MM3]

Postby ZvezdanD » Wed May 06, 2009 1:15 am

No, the playback of the .asx files could not be started with MediaMonkey when you double click on those files in the Explorer. However, you could start the playback in such way with players that have direct support for them, i.e. Winamp, WMP, KMP... I think you should post such request to MM developers as I did many time before. Anyway, when you have MediaMonkey already opened, you could play those files without a problem.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.1 (2009-05-12) [MM3]

Postby ZvezdanD » Tue May 12, 2009 5:40 pm

There is a new update (1.1) which has finding duplicates and improved batch conversion to .asx files.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.2 (2009-05-26) [MM3]

Postby ZvezdanD » Tue May 26, 2009 6:06 pm

There is a new update: v1.2 - 2009-05-26
- Added: option to create redirections between two audio files instead of .asx files;
- Added: option to copy master tracks to the specified album/folder (used with previous option);
- Added: Show and Remove Redirections dialog box with a table of redirections (MM 3.1.0.1208 or up required);
- Fixed: error with paths containing "'".
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.2 (2009-05-26) [MM3]

Postby booblers » Fri May 29, 2009 7:03 pm

deleting my posts since forum moderators see fit to delete honest posts. just helping to make their job easier. nothing to see here.
Last edited by booblers on Mon Jan 09, 2012 11:12 pm, edited 1 time in total.
booblers
 
Posts: 97
Joined: Sat Sep 27, 2008 6:57 pm

Re: Track Redirection 1.2 (2009-05-26) [MM3]

Postby ZvezdanD » Sat May 30, 2009 11:14 am

booblers wrote:Essentially everything looks right, but so far as I can tell, nothing is happening. Did I do something wrong?

You are right, this was intentional behavior, since there could be situations when someone wants to have playlists with redirected files instead of masters. However, you are wrong about playstats - they are updated correctly for masters tracks when you play redirected files, not matter if they are .asx or some audio format. Anyway, I updated script (1.2.1) and now it plays master tracks whenever you start playing some redirected audio file (.asx files already worked correctly). Also, when you drop some redirected audio file to the Now Playing panel, it is replaced with the corresponding master track. I hope this is what you want.

booblers wrote:do the redirects only exist for Now Playing? Or will they work in playlists if I add a track to a playlist and then, say, burn it to a CD without ever sending anything to Now Playing? Does it handle ratings and other track functions as well? Or just playback?

I am sorry, but I don't understand what you want to ask. Could you be more specific, please? By the way, my script has nothing with playlists, except the list of tracks contained in the Now Playing panel. And no, it is not changing ratings and other metadata, except the playing stats. I want different metadata between masters and redirected files, like album, album artist, track number, covers... Maybe the script should change rating of the master when user change rating for its redirected track, but I don't know which other "track functions" you want to be handled.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.2.1 (2009-05-30) [MM3]

Postby booblers » Sat May 30, 2009 7:38 pm

deleting my posts since forum moderators see fit to delete honest posts. just helping to make their job easier. nothing to see here.
Last edited by booblers on Mon Jan 09, 2012 11:12 pm, edited 1 time in total.
booblers
 
Posts: 97
Joined: Sat Sep 27, 2008 6:57 pm

Re: Track Redirection 1.2.1 (2009-05-30) [MM3]

Postby robojock » Thu Jun 04, 2009 2:40 am

OMG!!! :D ZvezdanD you are my HERO!!! :D I have been waiting for a script like this for a long long time!
robojock
 
Posts: 311
Joined: Sun Sep 26, 2004 12:01 pm
Location: Windhoek,Namibia

Re: Track Redirection 1.2.1 (2009-05-30) [MM3]

Postby ZvezdanD » Thu Jun 04, 2009 5:08 am

Glad you like it. :)
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.0 (2009-05-05) [MM3]

Postby ZvezdanD » Sat Jun 13, 2009 5:59 pm

Psyker7 wrote:what would happen with explorer integration?
ie. would opening an asx file from windows open up mediamonkey and play it correctly, if you assign the file type?

MediaMonkey from 3.1.0.1250 has added such possibility - you could associate .asx extension with it and it will start playback if you double click some .asx file in the Windows Explorer. MM 3.1.0.1252 has added a playback of .asx files with relative references, but versions from 3.1.0.1250 till 3.1.0.1255 have broken playback of .asx files stored in the Library using this script, so MM 3.1.0.1255 or up is recommended.

There is also a new update of this script: v1.3 - 2009-06-13
- Added: support for tracks in the Now Playing panel with its context menu;
- Added: option Remove Duplicates from the Tracklist/Now Playing List (MM 3.1.0.1218 or up required);
- Added: option Replace with Duplicate from Album (MM 3.1.0.1218 or up required);
- Added: option Replace with Linked Track (MM 3.1.0.1218 or up required).
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Re: Track Redirection 1.3 (2009-06-13) [MM3]

Postby SenseiKnight » Thu Jun 18, 2009 1:29 pm

I love the idea of this script and it should solve a problem I've had for ages (duplicate tracks from compilation albums) but I have so many problems with it that it's driving me crazy at the moment. I've nearly thrown my computer out the window a couple of times trying to get this to work.

First of all when I try to redirect tracks I get a bunch of SQL errors:
Image

Secondly, it seems to not replace the MP3 reference with the asx reference "sometimes" in the MM database, and when I click on the compilation album sometimes it adds the asx file and sometimes it adds the redirected file:

(all the tracks here from the Anthology should be asx):
Image

(adding them all to Now Playing produces this - some of the tracks have been replaced with the originals)
Image

And finally, for now, when I try to look in the list of redirected tracks I've got completely redundant entries that the Remove Redirections doesn't fix.
Image

I really hope you can help as I would love to get this working properly. Of course I realise that if the SQL error can be fixed then probably everything else will fall into place.
SenseiKnight
 

Re: Track Redirection 1.3 (2009-06-13) [MM3]

Postby ZvezdanD » Thu Jun 18, 2009 3:12 pm

I am really sorry if my script produces such wrong results. I am trying to resolve all its issues, but it works fine for me and I could not know for its bugs if nobody report them. So, I am very grateful for your report.

SenseiKnight wrote:First of all when I try to redirect tracks I get a bunch of SQL errors:

As far I can see from the first screenshot, your Path has a single apostrophe in it. I though that I removed bug with that character but you discovered that this bug still exists. It will be resolved in the next version.

SenseiKnight wrote:Secondly, it seems to not replace the MP3 reference with the asx reference "sometimes" in the MM database, and when I click on the compilation album sometimes it adds the asx file and sometimes it adds the redirected file:

When you say "not replace the MP3 reference with the asx reference", do you mean on Create Redirection or Assign Redirection option? Did you try to change nodes to see if the Path is updated? Previous versions of MM (before the current one) had a bug with refresh of the tracklist, but my script has some workaround for it, so such bug should not happen, i.e. path should be always updated when you replace some audio file with .asx file. After you choose Create Redirection did you get the dialog box saying "There are xx tracks that are not replaced." (if you have many selecetd tracks) or "The specified track is not replaced" (if you have only one selected track)?

When you add redirected tracks to the Now Playing panel, they are replaced with masters only if you have created links between two audio files, e.g. master is .flac and redirected track is .mp3, which is introduced in v.1.2.1 on user request. However, this should not happens with .asx files, i.e. if you add .asx files to the Now Playing panel they should not be replaced with their masters. Note also that MediaMonkey versions from 3.1.0.1250 till 3.1.0.1252 have broken playback of .asx files stored in the Library using this script, so MM 3.1.0.1255 or up is recommended.

SenseiKnight wrote:And finally, for now, when I try to look in the list of redirected tracks I've got completely redundant entries that the Remove Redirections doesn't fix.

I already added some code to fix removing redirections from the list of redirected tracks, but it is more important if I find when those redundant entries appear. If you could help me to reproduce such behavior, I would be really grateful.

Thanks for the report and sorry again for such inconvenience with my script.
Magic Nodes 4.2 (2011-07-01) RegExp Find & Replace 4.3 (2011-07-06)  Invert Selection/Select None 1.5 (2012-02-04)  Export/Create Playlists for Child Nodes 4.0.4 (2013-08-03)  Expand Child Nodes/Expand All 1.1.1 (2012-02-13)  Event Logger 2.4.1 (2012-02-06)  Filtered Statistics Report 1.5.1 (2009-10-09)  Track Redirection & Synchronization 3.4 (2012-10-08)  Restore/Synchronize Database 3.1.2 (2013-08-31)  Find Currently Playing Track 1.3 (2013-11-09)  Queue List 1.2 (2012-02-06)  Add to Library on Play 1.0 (2010-10-20)  Tree Report for Child Nodes 1.1 (2010-11-04)  Update Location of Files in Database 1.3.3 (2012-06-12)  Inherit Child Playlists 1.0.1 (2013-07-10)  Add Currently Playing/Selected Track(s) to Playlist 1.1.1 (2012-02-06)
ZvezdanD
 
Posts: 2757
Joined: Thu Jun 08, 2006 7:40 pm

Next

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 9 guests