Skip to content
This repository has been archived by the owner on Aug 7, 2020. It is now read-only.

Playlist Support #17

Open
JPDSousa opened this issue Sep 23, 2017 · 1 comment
Open

Playlist Support #17

JPDSousa opened this issue Sep 23, 2017 · 1 comment
Assignees

Comments

@JPDSousa
Copy link
Owner

JPDSousa commented Sep 23, 2017

Static playlists

Basic list of tracks.

Options

  • create
  • list
  • delete
  • intersect with playlist: e.g. get all tracks present both in playlists A & B in one (temporary) playlist
    • provide the additional option to output the result to a new playlist
  • unite with playlist: e.g. get all tracks present from playlists A & B in one (temporary) playlist
    • provide the additional option to output the result to a new playlist
@JPDSousa
Copy link
Owner Author

JPDSousa commented Sep 24, 2017

Dynamic Playlists

Dynamic Playlists (a.k.a. Smart Playlists) are playlists that update themselves automatically.

At implementation level, Dynamic Playlists are in fact database views, so that might be a good way to start.

Options

  • create: a dynamic playlists is created through a query;
    • store a mapping from the name of the playlist to the correspondent query;
  • freeze: freezing a playlist disables automatic updates
    • at implementation level this means that the dynamic playlist becomes a static playlist, such that its content is stored as a regular playlist;
  • unfreeze: undo freeze by deleting the static playlist and return back to playlistsName -> query
  • list: executes the correspondent query and returns the result

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant