Autoplaylists-for-Google-Music icon indicating copy to clipboard operation
Autoplaylists-for-Google-Music copied to clipboard

support backup / restore of playlist definitions

Open simon-weber opened this issue 9 years ago • 7 comments

This is mostly useful for me to move my definitions between development and store copies of the extension, but could be nice for other people too (maybe to enable sharing?).

The old import/export code does most of this already. It'd need to be adapted for plaintext input and output rather than drag events, though.

simon-weber avatar Feb 07 '16 18:02 simon-weber

It's unclear how sharing would interact with #31, though.

simon-weber avatar Mar 20 '16 17:03 simon-weber

+1 for ability download/upload of playlist definition, we could use it to:

  • back-up / restore ( I have so many playlists I'll may not be able to re-create them again if I lose them for whatever reason
  • all my definitions follow the same pattern, it's be cool to be able to use an import as a template to creating another playlist, instead of creating a new one from scratch
  • sharing with other users

Thanks

yinka avatar May 14 '16 16:05 yinka

The template use case is interesting. One thing I've considered is adding the ability to copy an existing definition and open it for editing, which I think is along the same lines.

simon-weber avatar May 14 '16 18:05 simon-weber

For folks who are really desperate for this, you could use a plugin like storage area explorer to manually edit the playlist rules for existing playlists. Simply exporting and importing won't work properly, since the remote id will become desynced.

simon-weber avatar Jun 17 '16 20:06 simon-weber

This post notes that editing/viewing playlists as text would be nice for moving rules between playlists, but that it's less important now that playlists can be linked.

simon-weber avatar Aug 11 '16 15:08 simon-weber

I had a neat idea: what if there was a protocol handler for the extension? Then you could just send someone a link like autoplaylists://import=, or just save the link somewhere if you want a backup.

Custom url handlers/procotols aren't available for extensions, but I think I might be able to get it to work by going through the autoplaylists.simon.codes domain. So long as that page can talk to an installed extension (worst case we'd just need another content script for the page), we could have links that show the playlist, and prompt you to either import it or install the extension.

simon-weber avatar Aug 13 '16 23:08 simon-weber

Recently a few people have lost definitions unexpectedly when uninstalling. Manual export could help here, but better would be to automatically turn remote playlists into definitions from their description. Otherwise, you're just risking lost playlists changed from the last export.

simon-weber avatar May 13 '17 19:05 simon-weber