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

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Export/Create Playlists 4 Child Nodes 4.0 (2013-07-10)[MM2+]

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

by JohnMBrooks » Fri Nov 22, 2019 12:46 pm

Thanks for the quick response, @vezdanD! I appreciate it. I'll look into that then.

Update: I just checked, and the v4.1.1 update of the basic plugin took care of my issue perfectly and now does everything I need it to. Even better than I expected. I'm still surprised you took care of the issue so quickly since I wasn't really expecting a solution. I just sent a small donation your way as a token of gratitude. Thanks again!

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

by ZvezdanD » Fri Nov 22, 2019 7:07 am

JohnMBrooks wrote:
Thu Nov 21, 2019 4:28 pm
So, is there any way to get the plugin to export the playlists you tell it to export, regarless of if they're empty or not?
There is no way to get empty playlist files using the free version of the add-on. The enhanced version of the add-on has that ability when the option "Skip export/import of - Empty playlists" is turned off. It has also the option "Delete all playlist files in target folder(s) before each export" that could be used to remove all playlist files from the specified target folder and/or its sub-folders recursively (depending of the other settings in the Options dialog box).

You are right, all previous versions of the add-on left intact "the old populated but obsolete" playlist files on export. Thanks for your explanation why such behavior is wrong. There is a new 4.1.1 version of the add-on that has fixed removal of the old playlist files on export of the corresponding empty playlists.

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

by JohnMBrooks » Thu Nov 21, 2019 4:28 pm

Hey, guys! I've been trying to find a solution to my issue (I think it was alluded to here: http://www.mediamonkey.com/forum/viewto ... ty#p392709, but not answered), but haven't found any fix. Hopefully someone can tell me at least whether it's possible within this plugin or not.

Apparently if a playlist is empty (regardless if 'Playlist' or 'Auto-Playlist'), it won't export anything at all. I can perfectly see how this is a feature for some, but on the other hand it is an issue for people like me. The issue is if I actively export a playlist with no files inside, I'd expect to see an actual playlist file with no files inside - however the result is no playlist at all gets exported.

As far as my use scenario, I have several playlists of tracks pending the assignment of a rating which I routinely export to my smartphone. If I go through the playlist and rate the tracks, and thus the playlist is empty, the plugin won't export it, leaving the old populated but obsolete playlist in place among my files. If I try to export the playlist, it gives the error: "The filelist is empty". In other words it won't update the "old" .m3u file on my phone. It would depend on me to know that that file is old and irrelevant, which kinda defeats the purpose of the convenience of playlists auto-exporting.

So, is there any way to get the plugin to export the playlists you tell it to export, regarless of if they're empty or not? I'd hope so, but lets see.

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

by ZvezdanD » Mon Apr 15, 2019 10:44 am

djmt99 wrote:
Sun Apr 14, 2019 7:54 pm
Hopefully this makes better sense.
Sorry, but I still don't understand what you are doing. You didn't answer to almost any of my questions. You talk about copying of "the files within each playlist", but you didn't answer what files you are copying. There are some other add-ons that could export M3U playlist files but, as far as I know, there are no such add-on which allows copying of the media files together with the playlist files, excluding this one.

So, here are the questions again, please answer to each one:
1. What do you mean by "I was able to export a playlist and have the files copied to the same folder structure as it's source"?
2. Which files have you copied, media files or playlist files?
3. Did you use the Export option from the menu that contains " & Copy Media Files" in its name?
4. What the same folder structure you are talking about when you already said that you want to export files to the single folder?

Here is a simple example of the structure of nodes from the Media Tree that I want to export to the single folder with the option "Export - Selected node" disabled:
-Playlists
--Available Tracks
--Imported Playlists
--Favorites

If I right-click on the Playlists node and chose the menu Export/Create Playlists / Export Child Nodes for Playlist Files, I will get the dialog box asking for destination folder. After specifying it, e.g. c:\Temp\, I will get the c:\Temp\Available Tracks.m3u, c:\Temp\Imported Playlists.m3u and c:\Temp\Favorites.m3u files, i.e. all playlist files will be inside the c:\Temp folder. I will not get c:\Temp\Available Tracks\Available Tracks.m3u or anything like that. If I had the option "Export - Selected node" enabled, I would get c:\Temp\Playlists - Available Tracks.m3u, c:\Temp\Playlists - Imported Playlists.m3u and c:\Temp\Playlists - Favorites.m3u files, but all the exported files would be inside the single folder as well.

I expect from you to give me a similar example:
a) list of a few nodes that you want to export,
b) command from the menu that you are using,
c) list of exported playlist files,
d) list of wanted playlist files.

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

by djmt99 » Sun Apr 14, 2019 7:54 pm

Alright, let me explain what I'm doing, and how it has been done.

I host a musical game night every week. I have a series of games/themes. I have organized them into hundreds of playists. The parent playlist has all of the songs for the theme and can range anywhere from 30-200 songs . The child playlist has all of the answers, which are 30 songs that exist in the parent. When I dump these playists into my dj software, it's smart enough and won't duplicate the songs in the parent playlist (since the same songs in the child are in the parent, and they are stored in the *same* location), but it allows me to quickly glance at the correct answers.

What's happening with the file/folder structure system right now with your script, is that the songs *are* being duplicated because they are being copied to seperate folders (a folder for each playlist).

That other plug in that I referenced, would copy JUST the files within each playlist, and it would copy them to the same folder structure system as it did on the drive that they came from. And it would create a playlist pointing to said new, copied location. Example:

Drive A has my entire library. Drive B is what I'm using just for the music on the playists I'm exporting.

Drive A
-Folder Blue
--Song 1 (in playlist)
--Song 2 (in playlist)
--Song 3 (not in playlist)
Folder Red
--Song 4 (in playlist)
--Song 5 (in playlist)
--Song 6 (not in playlist)

Drive B
-Folder Blue
--Song 1 (in playlist)
--Song 2 (in playlist)
Folder Red
--Song 4 (in playlist)
--Song 5 (in playlist)


Drive B only has the songs that were exported thru the playlist, and follows the same folder structure are Drive A. A playlist gets copied to drive b for each playlist copied from the mm library on drive a.

Hopefully this makes better sense.

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

by ZvezdanD » Sun Apr 14, 2019 1:36 pm

djmt99 wrote:
Sun Apr 14, 2019 12:07 pm
Yes, right now I have it set to single-folder but it's still copying files to
/playlistA/
/playlistB/
/playlistC/

However, in the past I know that I was able to export a playlist and have the files copied to the same folder structure as it's source.
djmt99 wrote:
Sun Apr 14, 2019 12:16 pm
I'd also like to work with you to get the single-folder option fixed!
"To single folder" option works fine, I just tried it and it exported all M3U playlist files to the single specified folder, having the filenames as the corresponding playlist nodes from the Playlists branch.

What do you mean by "I was able to export a playlist and have the files copied to the same folder structure as it's source"? Which files have you copied, media files or playlist files? Did you use the Export option from the menu that contains " & Copy Media Files" in its name? What the same folder structure you are talking about when you already said that you want to export files to the single folder? Could you give more specific examples of your structure of nodes that you want to export and the structure of folders and filenames of playlists that you want to get?

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

by djmt99 » Sun Apr 14, 2019 12:16 pm

Digging back into some OLD bookmarks, I found that it might've been Modified Export Playlists, which is no longer supported. Bummer.

Could this be something you would consider adding to the premium add-on?

I'd also like to work with you to get the single-folder option fixed!

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

by djmt99 » Sun Apr 14, 2019 12:07 pm

Yes, right now I have it set to single-folder but it's still copying files to
/playlistA/
/playlistB/
/playlistC/


However, in the past I know that I was able to export a playlist and have the files copied to the same folder structure as it's source. Perhaps your add-on isn't what I used, but I'm wondering which one is was? I don't think I've uninstalled any. Any ideas?

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

by ZvezdanD » Tue Apr 09, 2019 3:21 am

djmt99 wrote:
Mon Apr 08, 2019 6:55 pm
I've tried all 3 options: To parent, to child, to single. All the files end up in a separate folder named after the playlist.
The first two options (to parent / child folders) create the same hierarchical structure of folders as the nodes in the Media Tree that are exported. The third option (To single folder) exports all nodes to playlist files into the same specified folder.

Did you read the Usage section of the add-on's Web page? If you did, do you report that the add-on is behaving differently than it is described in that section?

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

by djmt99 » Mon Apr 08, 2019 6:55 pm

ZvezdanD wrote:
Mon Apr 08, 2019 10:50 am
What do you mean by "home location"? Do you have "To parent (or child) folders" turned on in the Options dialog box?
I've tried all 3 options: To parent, to child, to single. All the files end up in a separate folder named after the playlist.

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

by djmt99 » Mon Apr 08, 2019 5:34 pm

[quote=ZvezdanD post_id=457469
What do you mean by "home location"? Do you have "To parent (or child) folders" turned on in the Options dialog box?
[/quote]

Yes. It still creates a new folder for every playlist.

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

by ZvezdanD » Mon Apr 08, 2019 10:50 am

djmt99 wrote:
Mon Apr 08, 2019 8:23 am
Where are the settings for exporting folders and files to the same hierarchy as they exist at their home location?
What do you mean by "home location"? Do you have "To parent (or child) folders" turned on in the Options dialog box?

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

by djmt99 » Mon Apr 08, 2019 8:23 am

I know I did it before, but can't figure it out now. Where are the settings for exporting folders and files to the same hierarchy as they exist at their home location? Right now, everything is saving into folders named after their playlists.

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

by JOOP » Tue Mar 19, 2019 10:42 am

Finally, it is working now :D .

This is a summary with regard to the export of m3u-playlists created within Mediamonkey (V4.x) to a Synology Diskstation (D218+) with the Create/Export Playlist Tool Version 4.1..

After many tests the playlists are being recognized and read by Synology Media Server with the following configuration:

[x] M3U
[x] ANSI
[_] #Ext
[x] Unavailable
[x] Relative
[x] Unix („/“,LF)
[_] Replace
[_] Use regular expressions....

Paths on Synology:

[x]:/music/Musik (=> music files)
[x]:/music/playlists (=> playlists)

„music“ is the default drive of Disk Station for music files.

The playlists should be exported into the folder „playlists“ (they may also be stored in „Musik“).

After export, it is important to run the „Indexation“ function for the respective folders that are to be accessed by Synology Media Server. This is true also if music files or playlists respectively have changed.

In order that playlists and their contents are streamed via Synology Media Server, please note that Audio Station has to run. In my tests the Playlists have not been recognised after switching-off Audio Station. Only Synology knows why... .

Playlists in that format are also recognized by MinimServer (after a rescan by MinimWatch).

This configuration runs with Hifi-Cast (Android) as well as with SONOS.

I would like to thank Zvezdan for his patience, support and fast reactions.

Although the export may be effected with V4.1. of the tool, I recommend everybody to update to V 5.4, and by this way supporting Zvezdan for his work to create and enhance this invaluable tool which makes all our lives a lot easier.

Top