[SOLVED] Export and Import Autoplaylist by command line

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

Moderator: Gurus

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

[SOLVED] Export and Import Autoplaylist by command line

Post by MusicLover1965 »

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: 17486
Joined: Tue Jun 10, 2003 7:21 pm
Location: Earth
Contact:

Re: Export and Import Autoplaylist by command line

Post by Peke »

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,
Peke
MediaMonkey Team lead QA/Tech Support guru
Admin of Free MediaMonkey addon Site HappyMonkeying
Image
Image
Image
How to attach PICTURE/SCREENSHOTS to forum posts
MusicLover1965
Posts: 4
Joined: Wed Jul 03, 2019 4:47 pm

Re: Export and Import Autoplaylist by command line

Post by MusicLover1965 »

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: 56589
Joined: Sat Sep 06, 2003 5:53 pm
Location: MediaMonkey 5

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

Post by Lowlander »

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
Post Reply