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

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by wquatan » Sat Nov 19, 2011 5:13 pm

Very very usefull script !! Like it very much.

Maybe it's just me being ignorant about the right utilisation, but I seem to miss the option to create the playlists in the mp3 containing directory without any further questions.
I know, it's possible to locate the destination when asked for, but this can be tedious when everything is stored on a NAS, and mistakes can be made.

Again, maybe I missed something.

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

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by ZvezdanD » Sat Nov 19, 2011 5:41 pm

wquatan wrote:I seem to miss the option to create the playlists in the mp3 containing directory without any further questions.
What if I have a node to export which contains tracks from several folders, in which folder should be saved such .m3u 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.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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by wquatan » Sat Nov 19, 2011 6:17 pm

Depends what I should understand from "node"

If it's a directory / folder of a higher level, I would say in that directory / folder
If it's something "virtual", then it's correct, my statement "without question" doesn't work at all.

But anyway, I've been playing with the script today, comes very handy, except the need to go down in the network neighborough every time. I know I could make a network connection to a drive-letter, but that's something I don't want todo, I stick only to UNC's.

I would already be of great help, when the destination is asked, it would already be preset at best guess, but again doesn't solve the problem with "virtual" nodes.

Something I forgot in the first post : the script seems to be optimised and only creates the missing playslists. No way to force creation of all playlists (even existing) ? Important when the settings have changed (ex ANSI-->UTF8)

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

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by ZvezdanD » Sat Nov 19, 2011 6:50 pm

wquatan wrote:Depends what I should understand from "node"
For example, I would want to save .m3u file for Recently Played Tracks auto-playlist with tracks from different folders. Or I would want to export .m3u file for tracks with 5 stars ratings. Or...
I've been playing with the script today, comes very handy, except the need to go down in the network neighborough every time. I know I could make a network connection to a drive-letter, but that's something I don't want todo, I stick only to UNC's.
That is the bug of the program, already reported: http://www.ventismedia.com/mantis/view.php?id=6368
the script seems to be optimised and only creates the missing playslists. No way to force creation of all playlists (even existing) ?
You are wrong. The script doesn't create only the missing playlists, but also overwrite the existing ones.
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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by wquatan » Sat Nov 19, 2011 7:05 pm

ZvezdanD wrote:
wquatan wrote:the script seems to be optimised and only creates the missing playslists. No way to force creation of all playlists (even existing) ?
You are wrong. The script doesn't create only the missing playlists, but also overwrite the existing ones.
You're completely right. I tested it again and they have been overwritten.
I must have done something wrong (maybe I selected the wrong destination :-) )
Sorry

cmatte
Posts: 18
Joined: Sat Nov 05, 2011 6:07 am

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by cmatte » Sun Nov 20, 2011 6:59 pm

...just another WONDERFUL script from you, thank you so much, again :D

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

Re: Export M3Us/Playlists for Child Nodes 3.5 (2011-10-26)[M

Post by ZvezdanD » Mon Nov 21, 2011 5:18 pm

wquatan wrote:I seem to miss the option to create the playlists in the mp3 containing directory without any further questions.
There is the new update which has that option implemented, but only for nodes within Location and My Computer branches: v3.6 - 2011-11-21
* Added: Export As .m3u Playlist to Selected Folder and Export M3Us for Child Nodes to Same Folders commands to the File menu and the tree's context menu which allows export of the selected node (and its sub-nodes) to the same folder(s) with media files (only enabled for nodes within 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.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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by wquatan » Mon Nov 21, 2011 6:28 pm

Thank you very much. Great to see it has been implemented. Great support !
I wanted to install it, but get the error
#error 424 VBS runtime error
Object required SBD Objects

Should I do something special if the old version is already installed ? Or is there another problem I'm not aware of ?
In the list of changes, of your website, there is a typo : 2011-11-11 instead of 2011-11-21

BTW : How do people insert images in their posts on this forum ? I've seen the IMG button, but doesn't seem to help any further

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

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by ZvezdanD » Mon Nov 21, 2011 6:59 pm

wquatan wrote:I wanted to install it, but get the error
Thanks for the report, the install package was not updated properly. You could take the updated version from the download page now.

I am using http://www.imageshack.us/ to upload images, which I have posted here, e.g. in the first post of this thread.
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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by wquatan » Tue Nov 22, 2011 10:21 am

Hi ZvezdanD,

Works great !

For me, a positive side-effect of the new option is that MP3's are not repeated in playlists of folders higher in the hierarchy.
If one needs those, the other options allow it. For me, this is great and fulfilling exactly what I need.

If just MM would
- at a rescan offer for removal (out of imported playlists) the no longer existing playlists
- allow selecting multiple playslist (for manual removal)
then everything would super :-)

Thank you very very much for having added this ! Greatly appreciated

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

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by ZvezdanD » Tue Nov 22, 2011 11:16 am

wquatan wrote:For me, a positive side-effect of the new option is that MP3's are not repeated in playlists of folders higher in the hierarchy.
Glad you like it, but I am not sure that understand your comment about repeated files. Maybe you could try to disable "All" nodes in Location/My Computer branches to avoid the mentioned problem, as I have described in the Important section of the first post.
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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

wquatan
Posts: 32
Joined: Sun Nov 06, 2011 7:53 am

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by wquatan » Tue Nov 22, 2011 12:27 pm

ZvezdanD wrote:as I have described in the Important section of the first post.
Indeed, I hadn't seen that. It's exactly what I was talking about.
But, with the new option, I'll leave it as it is, so I have both possibilities depending which option I use

Thanks

rerickson
Posts: 6
Joined: Sun Aug 15, 2010 11:16 am

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by rerickson » Fri Jan 06, 2012 9:09 am

Hey ZvezdanD,

Awesome script! I am having a tough time getting Repalce to work on anything at all though. With/without "Use regular expressions"; Unix on/off; URL on/off, ANSI/Unicode... No switch cobinations seem to help. Even just a simple single-character replace does not seem to do anything. I'm on v3.6 using MM 3.2.4.1304 on Win 7 64 bit.

Basically, all I'm trying to do is replace windows paths with "apple path/URL" format because apparently since MM can't sync to iOS5 so I have to export to iTunes, but iTunes 10.5 apparently cannot read windows UNC paths anymore (see near the end of this post - https://discussions.apple.com/message/16058851#16058851), I'm just trying to adjust the path so that iTunes on a different machine with a mapped drive can import the M3U's...

\\RLE-WHS01\Music\Van Halen\Best of Van Halen, Vol. 1\13 Right Now.mp3
or using URL switch...
file://///RLE-WHS01/Music/Van%20Halen/Best%20of%20Van%20Halen%2C%20Vol.%201/13%20Right%20Now.mp3

actually needs to be...
file://localhost/Y:/Van%20Halen/Best%20of%20Van%20Halen%2C%20Vol.%201/13%20Right%20Now.mp3

Anyway, just cant anything to replace at all. Any ideas you can offer would be greatly appreciated. And thanks again for all your awesome work here!

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

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by ZvezdanD » Fri Jan 06, 2012 9:54 am

rerickson wrote:I'm just trying to adjust the path so that iTunes on a different machine with a mapped drive can import the M3U's...
\\RLE-WHS01\Music\Van Halen\Best of Van Halen, Vol. 1\13 Right Now.mp3
actually needs to be...
file://localhost/Y:/Van%20Halen/Best%20of%20Van%20Halen%2C%20Vol.%201/13%20Right%20Now.mp3
You could try this:
Relative paths: unchecked
URL paths: checked
Replace paths: \\RLE-WHS01\Music\
with: localhost/Y:/
Use Regular expressions: unchecked

However, the URL format should have file:/// (with 3 slashes) instead of file:// (with 2 slashes) as you wrote. When I hover a mouse over the link of your file there is not displayed localhost, but one more slash, so maybe you should write with: string as: Y:/

Let me know if my suggestion works as 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.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.2  Add Currently Playing/Selected Track(s) to Playlist 1.1.2

rerickson
Posts: 6
Joined: Sun Aug 15, 2010 11:16 am

Re: Export M3Us/Playlists for Child Nodes 3.6 (2011-11-21)[M

Post by rerickson » Fri Jan 06, 2012 10:52 am

THanks for the quick response! I tried what you said, and got a little closer. (Interesting because I did just a simple replace: R with: L earlier this morning just as a test, same setting you have (i.e. no regex) and nothing was replaced, looked like an application issue instead of a syntax issue). Anyway, rebooted since then, and a little closer now. I did get file:///localhost/Y:/<restOfThePath>. Now my problem is that 3-slash versus 2-slash thing. I got the 2-slash syntax from the posting from an Apple guy on the link above, who had the 2-slash syntax. I tried it by manually changing the M3U and iTunes imported that one row. As as test I modified 1 out of 4 file paths in a test file, and only the one I modified to 2-slash works in iTunes on import (Mötley Crüe)...

Code: Select all

[i]#EXTM3U
#EXTINF:114, Alan Parsons Project - Sirus (Instrumental)
file:///localhost/Y:/Alan%20Parsons%20Project/Eye%20in%20the%20Sky/01%20Sirus%20%28Instrumental%29.mp3
#EXTINF:321, Van Halen - Right Now
file:///localhost/Y:/Van%20Halen/Best%20of%20Van%20Halen%2C%20Vol.%201/13%20Right%20Now.mp3
#EXTINF:285, Mötley Crüe - Primal Scream [#]
file://localhost/Y:/M%C3%B6tley%20Cr%C3%BCe/Decade%20of%20Decadence/13%20Primal%20Scream%20%5B#%5D.mp3
#EXTINF:250, AC/DC - Are You Ready
file:///localhost/Y:/AC-DC/The%20Razor%27s%20Edge/07%20Are%20You%20Ready.mp3[/i]
Based on the tests earlier, it looks like I cannot replace the parts of the "file:///" prefix, is that right? All I need now is to be able to remove one slash.

Thanks again!

Post Reply