Comments (5)
@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.
from apple-music-webplayer.
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.
from apple-music-webplayer.
@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.
from apple-music-webplayer.
@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.
from apple-music-webplayer.
@jaehess Thanks, this should help. I'll take a look at implementing this.
from apple-music-webplayer.
Related Issues (20)
- Blank Page
- Add album to play next/play later. HOT 3
- skipToNextItem() produces PLAY_ACTIVITY error HOT 3
- Ability to output Song title, artist, album etc of now playing to polybar HOT 2
- Searching Library doesn't allow Album/Artists/Playlists to be selected, only Songs HOT 2
- Wrong copyright year HOT 1
- ITUNES!!!
- Play and pause icon width causes shaky top bar HOT 2
- Light theme HOT 1
- Album View - Show Year & Genre HOT 1
- Audio stops playing playing after some playback, requires refresh HOT 1
- Music stops
- Add a cast functions to Google home devices from iOS Chrome or Edge browsers
- ADMIN
- Add ability to go to an artist page by clicking on their name in the album HOT 1
- [Feature Request] Sort by recently added in songs library HOT 3
- Enhancement: option to disable localization HOT 3
- Music stops after a while in background HOT 10
- Is there any plan to make an electron app for a bit more native experience HOT 1
- Keyboard shortcuts for controlling playback HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-music-webplayer.