Open
Description
π¬ User story
I am a user who edits playlists.
I'd like to export these modified playlists
π Notes
- Importing playlists is only supported with S2 Media Provider, not with Android Media Store.
π©βπ§ Technical Design Notes
Exporting as m3u file format sounds sensible
The following playlists should be considered:
- Local playlists, originally imported by the S2 Media Provider (no playlists are (currently) imported from Android Media Store)
Instead of adding a new button/menu (and a dialog to choose where the playlist files should be exported), we may want to overwrite the original m3u file as soon as the playlists is changed. Does this require new Android permissions from the user? Is it fine to consider no other app will be competing for these files, and that it is safe to overwrite them without checking no one else has modified it?
Or should we rather not do anything with the original file, and only accept writing new files somewhere else? - Remote playlists (Plex, Emby, Jellyfin)
Is there an API to edit these remote playlists on the server? Maybe these APIs should be called as soon as the playlists are modified, so that they are always in sync with the server. What about the case where an error happens when trying to update the remote playlists (error or no connection available)? Should we store them and try again later? - Playlists the user has created himself
Where should we store them? Is there a sensible place we could do this, so that the export is done automatically as soon as the user creates/modifies these playlists? Or should it be on-demand, with a dialog asking where to export it?
Not sure there is one sensible location, because I already can think of two of them: in /Music on the device, and in /Music in the SD card (if any)
π€ Relationships
- In case it is fine to automatically overwrite local files, this will (probably) be helpful for Sync with iTunes/Apple Music, and support for playlists and ratingsΒ #107 and I could make a PR myself (at least for the "local playlists imported by S2 Media Provider" part)
- The Jellyfin part already has its own issue Sync S2 playlist actions with Jellyfin serverΒ #102
Metadata
Metadata
Assignees
Labels
No labels