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

Preload Up Next Songs #55

Open
mrnoisytiger opened this issue Dec 18, 2018 · 3 comments
Open

Preload Up Next Songs #55

mrnoisytiger opened this issue Dec 18, 2018 · 3 comments
Labels

Comments

@mrnoisytiger
Copy link

It would be great if there was the ability to preload up-next songs when the current song is ending. That way, it would transition smoother and not have a few second gap between the songs.

@naveedgol
Copy link
Owner

While I observe this myself, I can't do much to address at MusicKit doesn't expose preload functionality.

@SASFMONTOYA
Copy link

SASFMONTOYA commented Dec 20, 2018

Yes, Apple Music for Android works similar. The only difference that I see is in Music (iOS), I think that it use the cache, to cache the songs, to avoid this delay at change the songs or simply, dowloading them in the memory of device, I really don't know but they can be possibilities.

@Vertana
Copy link
Contributor

Vertana commented Dec 23, 2018

@naveedgol Is this possible by looking at what is the next audio URL in the queue and then begin downloading that audio stream to localstorage and when the next song goes to play, check to see if it exists in localstorage first?

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

No branches or pull requests

4 participants