Autoplaylists-for-Google-Music
Autoplaylists-for-Google-Music copied to clipboard
support backup / restore of playlist definitions
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.
It's unclear how sharing would interact with #31, though.
+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
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.
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.
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.
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=
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.
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.