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

public playlist? #31

Closed
diannall opened this issue Mar 21, 2014 · 3 comments
Closed

public playlist? #31

diannall opened this issue Mar 21, 2014 · 3 comments

Comments

@diannall
Copy link

hi, how can i create a playlist as public? it seems that when i create it from the server it is "secret" and i don't see a way to change that.

@liesen
Copy link
Owner

liesen commented Mar 22, 2014

I couldn't find anything in the API documentation regarding this. I tried adding the playlist to the published playlist container (from sp_session_publishedcontainer_for_user_create), but that didn't work (added playlist was NULL) :-(

@diannall
Copy link
Author

I eventually realized that there is a setting in your profile to make it default to public or not. I'm guessing that is the only way...

@liesen
Copy link
Owner

liesen commented Apr 5, 2014

My guess is that there's a public and a private playlist container. To create public playlists one must get a hold of the public container, using sp_session_publishedcontainer_for_user_create, and add playlists to it. I could not get it to work, but I didn't try very hard. Check out https://github.com/liesen/spotify-api-server/blob/master/server.c#L442 and see if you can get it to work.

@liesen liesen closed this as completed Apr 5, 2014
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

2 participants