Export/Create Playlists 4 Child Nodes 4.0 (2013-07-10)[MM2+]

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Export M3U/Playlists for Child Nodes 2.8 (2009-08-25)[MM2+3]

Post by Blutarsky » Thu Mar 04, 2010 2:42 pm

Hi mate,

assuming my phone (Nokia N96) uses the following folder structure:

Code: Select all

\music\<artist name>\<album name>\
I need to output the playlist in a way it follows the structure above.... how can I achieve this?

Thanks

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.8 (2009-08-25)[MM2+3]

Post by ZvezdanD » Sun Apr 04, 2010 6:28 pm

Blutarsky wrote:assuming my phone (Nokia N96) uses the following folder structure:

Code: Select all

\music\<artist name>\<album name>\
I need to output the playlist in a way it follows the structure above.... how can I achieve this?
I am wondering why don't you use MM options for synchronization with your device. You cannot specify folder structure with this add-on, but it is created as it is already in your tree panel under the selected node. So, if you want to export playlist with your structure, it could be best to click on the Artist node and choose Export M3Us for child nodes, but previously you should modify setting in the Options dialog box for the Replace folders in .m3u files: option to replace your drive letter and/or part of the path with the "\music\". It all depends in which folders you have audio files, so I cannot tell you exactly what you should type.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.8 (2009-08-25)[MM2+3]

Post by ZvezdanD » Sun Apr 04, 2010 6:32 pm

markstuartwalker wrote:If the sub-nodes can be made to work properly then the 'playlist' can become part of my auto-sync list.
If you are still interested, the new version of Magic Nodes (4.0) could create playlists with the nested levels of sub-nodes.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-05)[MM2+3]

Post by ZvezdanD » Sun Apr 04, 2010 6:33 pm

There is new update of this add-on: 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. .
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-20)[MM2+3]

Post by ZvezdanD » Mon Apr 19, 2010 8:58 pm

There is new release: 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.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Export M3U/Playlists for Child Nodes 2.8 (2009-08-25)[MM2+3]

Post by Blutarsky » Thu Apr 22, 2010 9:56 am

ZvezdanD wrote: I am wondering why don't you use MM options for synchronization with your device.
It doesn't work! The only way to sync successfully music with my Nokia N96 is to set the phone in mass storage mode and then sync. This way, playlists are NOT synchronized, anyhow if it did, it would contain wrong paths to the tracks and the phone would ignore them.
ZvezdanD wrote: You cannot specify folder structure with this add-on, but it is created as it is already in your tree panel under the selected node.
Could I use regular expressions to change the path?

Original folder

Code: Select all

C:\Users\Rix\Music\iTunes\iTunes Music\
Phone folder

Code: Select all

E:\Music\
So

Code: Select all

C:\Users\Rix\Music\iTunes\iTunes Music\Various Artists\The One and Only Love Album (disc 1)\I'm Not in Love.m4a
should change into

Code: Select all

E:\Music\Various Artists\The One and Only Love Album (disc 1)\I'm Not in Love.m4a

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.8 (2009-08-25)[MM2+3]

Post by ZvezdanD » Thu Apr 22, 2010 10:59 am

Blutarsky wrote:Could I use regular expressions to change the path?
Of course you could use Regular expressions to change paths, but from your example I cannot see a need for that - I think it is enough to enter Replace folders in .m3u files: C:\Users\Rix\Music\iTunes\iTunes Music\ with: E:\Music\ and to turn off the Regular expressions option. Let me know if your audio files are stored in several different places (e.g. if you also have files stored somewhere else than C:\Users\Rix\Music\iTunes\iTunes Music\) because in that case you need to use Regular expressions. However, are you sure that you have the correct drive letter? Is "E:" the drive letter which you get on your PC when you attach your device or is this the drive letter which your device has internally with those audio files stored on? Those two drive letters could (most likely) differ, and you need to enter the drive letter which is in use within your device with its Symbian OS.

By the way, I have two suggestions in such cases:
1. try to use the relative paths, it is the best if your device and its media player support such paths;
2. export .m3u files after you already transferred audio tracks to the device, so you could select the root node on your device (or its \Music\ sub-folder) in the My Computer branch of the tree panel and then choose the Export option.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-20)[MM2+3]

Post by Blutarsky » Thu Apr 22, 2010 11:23 am

- Music on the PC is kept only under

Code: Select all

C:\Users\Rix\Music\iTunes\iTunes Music\
- I have discovered that the drivename prefix like

Code: Select all

E:\
is required; I have imported a custom playlist built on the phone onto the PC to understand what the phone can "digest";

- I have tried with relative paths, like

Code: Select all

\Music\
but it didn't work.

Now, as you suggest, I have just tried the option to replace without regular expressions, and the replacement works, but there's a last little problem:
- on the PC, music tracks hold a numbered prefix in the filename, something like

Code: Select all

C:\Users\Rix\Music\iTunes\iTunes Music\Bruce Springsteen\Tunnel Of Love\01 Ain't Got You.m4a
But when the songs are copied to the phone, the numbered prefix, is removed, so the filename has changed....

Guess what: in the sync options I have instructed MM to sync to:

Code: Select all

\Music\<Album Artist>\<Album>\<Title>
Maybe I should change

Code: Select all

<Title>
to

Code: Select all

<Filename>
???

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-20)[MM2+3]

Post by ZvezdanD » Thu Apr 22, 2010 11:44 am

Blutarsky wrote:But when the songs are copied to the phone, the numbered prefix, is removed, so the filename has changed....

Guess what: in the sync options I have instructed MM to sync to:

Code: Select all

\Music\<Album Artist>\<Album>\<Title>
Maybe I should change

Code: Select all

<Title>
to

Code: Select all

<Filename>
???
Yes, you could try to change that, but I think that you don't need to change anything. Did you try to follow my second suggestion? Just transfer all your audio files to the device first, then select your device in the My Computer branch and choose Export M3Us for child nodes. Eventually, if your drive letters are different, you should use the option to replace folders first, but in this case you only need to specify drive letter as it is in PC and the one in the device itself ("E:"), instead of specifying root folders for source and destination. For example, if your device has the drive letter "G:" when you connect it to the PC, you should specify Replace folders in .m3u files: G: with: E:.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by ZvezdanD » Thu Apr 22, 2010 4:25 pm

OK, I just tried playlists with the Nokia smart-phone. CorePlayer for Symbian accepts relative paths, altogether with the ".." for the previous folder. This means that you could have .m3u files in "e:\Music\Playlists\", audio file could be "e:\Music\Rock\BlahBlah.mp3", so you could have path in a .m3u file like "..\Rock\BlahBlah.mp3", and CorePlayer will play it without any problem.

Unfortunately, the built-in media player doesn't accept paths with "..", but it still supports relative paths. For example, if I have .m3u file in "e:\Music\" with the mentioned audio file I would have path in a .m3u file as "Rock\BlahBlah.mp3" and built-in player will accept that playlist and play its tracks. Even in this case you don't need to have the drive letter in the paths.

So, here is my updated suggestion for all Nokia owners:
1. transfer your audio files to the device;
2. turn off the Export selected node as well option;
3. turn on the Relative paths in .m3u files option;
4. if you want to export .m3u files for the deepest folders only (e.g. if you have Music\Artist\Album\ structure and want to export only .m3u files for albums), then you select the Last level of nodes only option;
5. select the My Computer\device_drive_letter\Music\ folder and choose Export M3Us for child nodes command from the menu;
6. when you are asked for folder where you want to store playlists, choose the same folder, i.e. My Computer\device_drive_letter\Music\.

By the way, the Last level of nodes only option had a bug. There is new release of this add-on: 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.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by Blutarsky » Thu Apr 22, 2010 4:52 pm

Your suggestion brings to one m3u playlist per each folder (album)... I don't need this, I need only to export my selected playlists!

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by ZvezdanD » Thu Apr 22, 2010 5:30 pm

Blutarsky wrote:Your suggestion brings to one m3u playlist per each folder (album)... I don't need this, I need only to export my selected playlists!
Of course it brings one .m3u file per each folder. The name of this add-on clearly says that it is intended for exporting nodes to .m3u files/playlists. You already asked for the Artist\Album\ structure and I assumed that you want the same structure of .m3u files. Now, I am not sure what you really want. Maybe you could try to select specific playlist from the Playlists branch and choose the Export M3Us for child nodes option.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Blutarsky
Posts: 194
Joined: Wed Mar 03, 2010 12:53 pm
Contact:

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by Blutarsky » Fri Apr 23, 2010 5:39 am

Ok!!!!!!!!
I have resync completely the music storage using the same notation as the PC, replacing drive & root name, and it works!!!!

Thanks for helping! :D

markstuartwalker
Posts: 931
Joined: Fri Jul 10, 2009 8:10 am

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by markstuartwalker » Tue May 18, 2010 5:44 am

I want to export my playlists into Subsonic. Subsonic is hosted on a Linux server and requires a single folder of playlists.

I have a hierarchy of playlist folders that I want to flatten into a single folder, with unix file separators, replacing the 'k:' drive letter with a /k for the linux mount point and full file paths.

Amazingly I've managed to do all of this except the flattening of the folder structure. The export replicates the playlist folders from MM and I want single folder containing all of the playlists with the playlist names prefixed by the the folder path.

To illustrate ...

Code: Select all

+->A
    +->1
    +->2
+->B
    +->3
    +->4

Ideally to become 
A1.m3u
A2.m3u
B3.m3u
B4.m3u
Windows 7,8 / Ubuntu 13.10 / Mavericks 10.9 / iOS 7.1 / iTunes 11.1
iTunes plugin (d_itunes & itunes4) http://www.mediamonkey.com/forum/viewto ... =2&t=45713
Running MM under Mac OS X with Wine http://www.mediamonkey.com/forum/viewto ... =4&t=58507

ZvezdanD
Posts: 3094
Joined: Thu Jun 08, 2006 7:40 pm

Re: Export M3U/Playlists for Child Nodes 2.9 (2010-04-22)[MM2+3]

Post by ZvezdanD » Tue May 18, 2010 8:57 am

markstuartwalker wrote:I have a hierarchy of playlist folders that I want to flatten into a single folder
I am pretty sure that this is possible with this add-on, but I not sure that I understand what is your exact requirement. If you want to put all .m3u files into the root, you could try with the next settings:
Replace folders: ([^\\]+)\\([^\\]+)\.([^\.\\]+)$
with: /k/$1-$2.$3

If you want to put all .m3u files into, let say, Playlists folder which is in the root, then you should use:
with: /k/Playlists/$1-$2.$3

Unix separator and Regular expressions options should be turned on. $1 is a token for the last folder, $2 is a token for the file name and $3 is a token for the extension. I wrote "-" as a separator between the folder and the file name, but you could use whatever character(s) as a separator that you want.
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  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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

Post Reply