[SOLVED] Export and Import Autoplaylist by command line

Any ideas about how to improve MediaMonkey? Let us know!

Moderator: Gurus

MusicLover1965
Posts: 2
Joined: Wed Jul 03, 2019 4:47 pm

[SOLVED] Export and Import Autoplaylist by command line

Post by MusicLover1965 » Wed Jul 03, 2019 5:07 pm

Hi there,
Apologies if this has already been asked but I can't see it anywhere. Is there currently (if not are there any plans to be able to) any way to Export or Import (Create) auto playlists by command line?
I'm a Gold MM user and make extensive use of Auto playlists using various fields. Often if I create a new category for my playlists I have to create several new auto playlists to cover all the options. This would be a lot easier if nesting a playlist under another auto inherited it's features but I can also see the opposing view as to why it's better just to group them that way.
So for example, if I create a new auto playlist with songs of a certain Genre by year, I would have to create a new auto playlist for each year. If it where possible to Export one to file, it would be very easy to create a set of commands to create all these via script.
Love the product though
Cheers

Peke
Posts: 12306
Joined: Tue Jun 10, 2003 7:21 pm
Location: Serbia
Contact:

Re: Export and Import Autoplaylist by command line

Post by Peke » Thu Jul 04, 2019 10:13 am

Hi,
You can simply right click on Playlist and use Copy/Paste to create identical one, that you can edit to your needs.

Hint: If you paste Playlist on existing Playlist it will create sub Playlist so basically you can Create Static Playlist (or even AutoPlaylist) Named "Genre by Year" and then Paste Number of Auto Playlists as subplaylists to mat things more organized.
Best regards,
Pavle
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
How to add SCREENSHOTS to forum

MusicLover1965
Posts: 2
Joined: Wed Jul 03, 2019 4:47 pm

Re: Export and Import Autoplaylist by command line

Post by MusicLover1965 » Thu Jul 04, 2019 5:03 pm

Hi Pavle,

Thanks for the response, yes was aware of the copy an paste (as well as Ctrl + Drag and drop) and that this can do some of the work by creating an exact copy but in every case the copy needs to be amended.

I've done most of the auto playlists I need now but even using the techniques above it's taken far longer than a scripted process plus I hope the MMDB never crashes and I have to do it all again.

I can understand why you wouldn't want people to edit the MMDB directly though :D

Cheers
Rob

Lowlander
Posts: 46003
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

Re: [SOLVED] Export and Import Autoplaylist by command line

Post by Lowlander » Mon Jul 15, 2019 10:59 am

AutoPlaylists don't use values in the database, instead it uses the ID for those values. This would be different ID's in a different database which is why import/export of AutoPlaylists hasn't been done.

You should backup the database once in a while (MM5 can do this automatically): https://www.mediamonkey.com/support/ind ... ey-library

You can take the database with you: https://www.mediamonkey.com/wiki/index. ... w_computer

You can edit the database file directly, it's an SQLite database: https://www.mediamonkey.com/forum/viewt ... .db+sqlite
Lowlander (MediaMonkey user since 2003)

Post Reply