Export M3Us/Create Playlists for Child Nodes
- MediaMonkey Add-on -
Version 3.3
by Zvezdan Dimitrijevic
This add-on is for use with MediaMonkey v2.x or v3.x. It has two operation modes, manual and automatic. In the manual mode it allows batch export of .m3u files or creating of playlists for each child node of the node selected in the tree panel. For example, if you select the Playlists node, you would export .m3u files for all playlists in the Library. This works with almost all nodes, even the Magic Nodes. In the automatic mode this add-on periodically saves specified playlist node and/or its sub-nodes from the Playlists branch.
M3U files/playlists could be saved in a hierarchically organized folders within the specified parent folder, using the same structure as sub-nodes of the selected node, or could be saved in single folder using specified string as separator. M3U files could be saved in ANSI, UTF-8 or Unicode, in simple or extended .m3u format. Track paths could be URL encoded and stored absolute or relative to the .m3u file path using Windows "\" or Unix "/" folder separator. If the relative path option is turned off, the paths stored in .m3u files would be same as they are in the Path field of the database, but could be also replaced with the user-defined replacement, e.g. "c:\Documents and Settings\" could be replaced with "e:\My Mysic\".
Paths that you want to replace could be specified using Regular expressions, e.g. "^.+\\(?=[^\\]+\.[^\.\\]+$)" is the expression which represents any full path, excluding the filename and the extension. So, using that expression, if you leave the with: text box empty, all folders would be removed from paths, saving only filenames and extensions into .m3u files. Or you could enter "e:\Playlists\" and all folders would be replaced with that single one.
This add-on also allows copying of audio files and export of selected tracks only. For a discussion about this add-on, you could visit the related MediaMonkey forum thread.
Donation:
These add-ons are donationware. Their development took considerable amount of time, so if you found these add-ons useful and want to help their further development, it would be nice if you send some small donation. You could donate as much as you think that is appropriate using Moneybookers or direct bank wire transfer.
What is new:
- v3.3 - 2010-07-13
- Added: Export As .m3u Playlist command to the main tracklist and Now Playing context menu which allows export of selected tracks only.
- v3.2 - 2010-07-02
- Changed: Unix folder separator option to Unix .m3u file format; a .m3u files would have both the "/" as a folder separator and a new line without a carriage return when this option is turned on.
- v3.1 - 2010-06-21
- Added: Export M3Us & Copy Files for Child Nodes command which allows copying of audio files beside of exported .m3u files.
- v3.0.1 - 2010-05-23
- Fixed: error with URL paths in .m3u files and ANSI/Unicode formats.
- v3.0 - 2010-05-22
- Added: option to export all .m3u files to single folder using specified string as separator between node names in .m3u filenames (e.g. e:\Playlists\Rock - Pink Floyd - Dark Side of the Moon.m3u, using " - " as separator);
- Added: option to store URL encoded paths in .m3u files (e.g. file:///C:/Temp/%D0%97%D0%B2%D0%B5%D0%B7%D0%B4%D0%B0%D0%BD.mp3).
- v2.9.3 - 2010-05-20
- Fixed: automatic export on startup, now with 1 second delay to enable loading of main window.
- v2.9.2 - 2010-04-22
- Fixed: export with First level and Last level of nodes only options for All nodes in Location and My Computer branches.
- v2.9.1 - 2010-04-20
- Fixed: error when the Create playlists for child nodes sub-menu is displayed if the last created playlist doesn't exist, e.g. if you start MM with some another database file.
- v2.9 - 2010-04-05
- Added: option to save .m3u files/create playlists for the last (deepest) level of nodes only;
- Added: option to save paths in .m3u files using Unix separator ("/") instead of Windows ("\");
- Improved: speed of displaying menu with playlists if there are many of them;
- 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.
.
- v2.8 - 2009-08-25
- Added: option to save .m3u files in child folders, i.e. one level more in depth (until now they are saved to parent folders only).
- v2.7.2 - 2009-04-08
- Fixed: RegExp string for replacement of folders.
- v2.7.1 - 2009-04-08
- Fixed: error during installation.
- v2.7 - 2009-07-08
- Added: option to replace folders in .m3u files with specified string;
- Added: option to remove Byte-order mark (BOM) from the begin of UTF-8 files.
- v2.6.1 - 2009-04-21
- Fixed: error with Options sheet and playlists with duplicated names.
- v2.6 - 2009-04-20
- Added: option to create a new dated folder once in a day.
- v2.5 - 2009-04-20
- Added: option for an automatic export on startup;
- Added: option to create a new folder with a date/time in its name for every auto-export.
- v2.4 - 2009-04-19
- Added: option to automatically export specified playlists on shutdown or periodically with customizable time interval.
- v2.3 - 2009-04-17
- Added: option to exclude AutoPlaylists from export.
- v2.2 - 2009-04-16
- Added: option to save .m3u files in simple or extended format;
- Improved: speed when export nodes from Playlists branch.
- v2.1 - 2009-02-25
- Added: option to save .m3u files as ANSI, UTF-8 or Unicode.
- v2.0 - 2009-02-12
- Added: possibility to create playlists in the Playlists node in similar way as export of .m3u files.
- v1.4 - 2009-01-24
- Improved: speed with MM 3.1.0.1218 and up, especially for empty tracklists.
- v1.3 - 2009-01-10
- Added: option to export the playlist for the parent (selected) node (beside of child nodes);
- Added: option to exclude unavailable tracks from export;
- Improved: speed and work with the All nodes from My Computer and Location branch;
- Fixed: relative paths;
- Fixed: playlist filenames for some Magic Nodes, e.g. Album Artist with Album (MN v2.0 or up required).
- v1.2.1 - 2008-11-29
- Fixed: export when turned on the Regular expressions option and turned off the Skip for folders option.
- v1.2 - 2008-11-29
- Added: an option to store track paths relative to the playlist path (default setting);
- Added: an option to skip export of playlists for specified nodes/folders (e.g. DiscXX for multi-CD);
- Added: an option to use Regular expressions for specifying nodes/folders;
- Added: an option to exclude files with specified extensions from export;
- Added: skipping of All node (even for Magic Nodes) and playlist files from My Computer branch from export;
- Fixed: unersponsive program with 100% CPU when trying to export an empty node/folder (e.g. in My Computer node).
- v1.1 - 2008-11-28
- Added: an option to recursively scan all sub-levels of the selected node (default setting), playlists are stored in a hierarchically organized folder structure, same as with the selected node.
- v1.0 - 2008-11-27
Installation:
- For MediaMonkey 3.x - just double-click on the ExportM3UsForSubNodes-xx.mmip file; if you are on Vista or Win7 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.
- For MediaMonkey 2.x - rename a .mmip extension to a .zip, extract the ExportM3UsForSubNodes.vbs file to the MediaMonkey's "Scripts\Auto" folder and restart MM program.
Usage:
Select a node whose child nodes you want to export playlists, then:
- choose Export M3Us for Child Nodes... command from the File menu or the context menu of the tree panel if you want to export .m3u files; after that you should specify the parent destination folder on the disk;
- choose Export M3Us & Copy Files for Child Nodes... command from the File menu or the context menu of the tree panel if you want to export .m3u files and to copy audio files; after that you should specify the parent destination folder on the disk;
- choose Create Playlists for Child Nodes command from the File menu or the context menu of the tree panel if you want to create playlists that would be stored in the Playlists branch; after that you should specify the parent playlist node.
If you want to export just selected tracks, choose Export As .m3u Playlist... from the context menu of the main tracklist or Now Playing panel.
Add-on settings are in the Tools / Options dialog box within Export M3Us/Playlists tab.