Skip to content

Ability to export playlistsΒ #112

Open
@daladim

Description

@daladim

πŸ’¬ 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions