Hi there! I have been working on this module for the past few days and I think it's ready to be shared. Find it here.
This provides the following classes,
- MusicQueueViewer
- Provides a viewer to select a song/songs in the queue.
- MQVSong
- A wrapper for MPMediaItem.
- MusicPlayerController
- Provides methods to replace and reorder the queue.
Currently, for MusicPlayerController, those are the only two methods, but contributions are always welcome. And this requires the rubicon module.
The repo also has two examples,
Upnext, allows the user to select multiple songs to be moved up in the queue and to be played next.
MusicStopper, allows the user to select the last song to be played, I find this useful when I am playing music to go to sleep.
Have fun!