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

No way to delete/clear your queue/up next and track selection #24

Open
buddyrich33 opened this issue Jul 22, 2018 · 5 comments
Open

No way to delete/clear your queue/up next and track selection #24

buddyrich33 opened this issue Jul 22, 2018 · 5 comments
Labels
enhancement New feature or request

Comments

@buddyrich33
Copy link

I can see my up next but there is no way to clear the queue or manipulate it (move songs around in the queue).

This is needed for Apples bad habit of adding all tracks in a playlist/album if its played via double-click vs. using specifically "play next" "play after" that does build a queue one track at a time. Maybe also add an option to defeat that functionality so double click plays just the selected track only.

@zachomedia
Copy link
Owner

zachomedia commented Jul 22, 2018

@buddyrich33 Thanks for the feedback. Unfortunately, there aren't any APIs to manipulate the current queue other than to append to it.

As for the double clicking adding the entire playlist/album, that's something I did in the app to be consistent with Apple's music players. I don't mind adding an option for it though in settings.

@buddyrich33
Copy link
Author

Thats unfortunate about the lack of queue manipulation missing from the API. An option to override the play functionality would be nice, however.

Only 3 other things I would like to see. First is a more generic Apple Music catalog browse (not a Library browse which you have) mode. Duplicate the browse tab functionality of the Apple Music app -> especially by Genres or Artist. Its sorta there if I do a search first but I don't always know what I want to play but I might have a genre in mind and don't mind exploring. Doing a search only finds a song or album or artist with that genre in their name, though it will match some genere-specific playlists under playlists tab (some of which don't have the genre name in the playlist title or description, don't know how its matching them...)

Another feature is a selectable "goto Album/Artist" via a hyperlinked album/artist name from the now playing if possible.

And last is Love/Dislike functionality for Songs and Albums if supported by API. Supposedly using it helps Apple recommend stuff to you so I use it for that reason.

zachomedia added a commit that referenced this issue Jul 29, 2018
@zachomedia
Copy link
Owner

zachomedia commented Jul 29, 2018

@buddyrich33 You can now uncheck the Queue all songs in the current view when double clicking on a song on the settings page to only play the song you double click on and not queue them all.

Thanks for the additional requests:

First is a more generic Apple Music catalog browse (not a Library browse which you have) mode. Duplicate the browse tab functionality of the Apple Music app -> especially by Genres or Artist

A more generic catalog browse is something that's been on my radar for a while (time has been a limitation, unfortunately).

Another feature is a selectable "goto Album/Artist" via a hyperlinked album/artist name from the now playing if possible.

Agreed would be useful. There might be some challenges with this as I've had issues with ID linking not always pointing the same version.

And last is Love/Dislike functionality for Songs and Albums if supported by API. Supposedly using it helps Apple recommend stuff to you so I use it for that reason.

I would like this too, but unfortunately it doesn't look like it's part of the Apple Music API.

@jaehess
Copy link

jaehess commented Sep 14, 2018

@zachomedia There are a few "lower level" API's that might be of use here.

By default, MusicKit JS will automatically play through a queue as long as the user is authenticated and has authorized the application. You can override this behavior by setting the following property on the player:

MusicKit.getInstance().player.continuous = false

For queue manipulation, you can remove an item from the queue at a specific index:

MusicKit.getInstance().player.queue.remove(index)

While the playNext() method on a MusicKit instance will add content (album, playlist, song) after the current position in the queue - you can optionally pass in a flag have it replace the remaining queue items:

MusicKit.getInstance().playNext(descriptor, true)

Hope this helps.

@zachomedia
Copy link
Owner

@jaehess Thanks, this should help. I'll take a look at implementing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants