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

Feature request: Spotify song playback/sync support? #854

Open
Avamander opened this issue Mar 31, 2020 · 3 comments
Open

Feature request: Spotify song playback/sync support? #854

Avamander opened this issue Mar 31, 2020 · 3 comments

Comments

@Avamander
Copy link

It would be nice if Cytube supported playing Spotify song links, I've seen other sites embed Spotify so it should be doable to some extent. I'm not sure about syncing however.

@Xaekai
Copy link
Collaborator

Xaekai commented Mar 31, 2020

Their Widget:

Premium or Free
For users who are not logged in on their Spotify account, the Spotify Play button plays a 30-second long audio preview, and then the users are prompted to either login or to sign up.

Their APIs:
This already looks like a mine field of pain.

@Avamander
Copy link
Author

I guess login makes sense, they are forced to protect the songs with DRM and stuff.

Not sure about the minefield of pain though, if I remember correctly the open-source ListenBrainz did it and it wasn't too hard.

@calzoneman
Copy link
Owner

It looks like their playback in-browser requires EME (encrypted media extensions; a form of DRM). My web browser is compiled without support for EME, so this wouldn't be something I could develop/test myself.

If someone wants to do it and submit a pull request, I'm willing to consider it if appropriate messaging/warnings are added to make the limitations and login requirements clear for users who opt-in.

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

No branches or pull requests

3 participants