Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playlists #6

Open
7 of 9 tasks
toroidal-code opened this issue Jun 4, 2014 · 0 comments
Open
7 of 9 tasks

Playlists #6

toroidal-code opened this issue Jun 4, 2014 · 0 comments

Comments

@toroidal-code
Copy link
Member

We're going to need some way of queuing music for playing, and possibly saving these queues.

This would involve:

  • Writing a Playlists model (id, name, has_many tracks, etc.)
  • Writing the model validations and validation specs
  • Guaranteeing the existence of the Queue playlist and always being at id = 1
  • Creating add methods Playlist
  • Creating shuffle method for Album, Artist, and Playlist that will add them to the queue out of order, but not modify the existing order of the queue.
  • Creating basic CRUD API methods for Playlists, with a special path for the queue
  • A PlaylistTrack model to keep order
  • Add the queue_tracks.
  • Add validations that only the Queue (id=1) can have queue_tracks.
@kristenmills kristenmills self-assigned this Jun 28, 2014
@kristenmills kristenmills removed their assignment Dec 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants