Re:How to rickroll Spotify for Android
by jessedhillon on Tuesday April 04, 2017 @05:05PM
(#14037201)
Couldn't the preview always end after N seconds, and the licensed stream always begin at the very next frame? Then it's just a matter of appending the licensed stream to the playback buffer after exhausting the preview stream.
Re:How to rickroll Spotify for Android
by deeth_starr on Tuesday April 04, 2017 @05:21PM
(#14037331)
Exactly. This is how you do it. But you'd be surprised how complicated this is.
Re:How to rickroll Spotify for Android
by michaelmior on Tuesday April 04, 2017 @04:13PM
(#14036736)
They could still serve the first few seconds from a CDN at the edge via TLS.
Re:How to rickroll Spotify for Android
by deeth_starr on Tuesday April 04, 2017 @05:28PM
(#14037383)
My guess because it will save them a few $$$. Millions at stake here. Why would someone do a MITM attack against 5 secs of intro audio?
Obviously the NSA would.
Edit: exclusives. https://qz.com/949942/spotifys-new-deal-with-universal-gives...
Re:How to rickroll Spotify for Android
by michaelmior on Wednesday April 05, 2017 @07:24AM
(#14041256)
Forget MITM, it also leaks information about your listening history which some may be uncomfortable with.
I do have some experience in music, and this is likely for uncompressed or hidef playback. Some labels force encryption for hidef (but in general most of the music services stream straight progressive unencrypted even though their contracts require encryption in all cases).
Edit: but doing this is really tough. You're going to need to stitch together those two stream without a gap. This takes a lot of engineering. I've done this in flash and pure js. So this is not an arbitrary decision.