spotify / web-api

This issue tracker is no longer used. Join us in the Spotify for Developers forum for support with the Spotify Web API ➡️ https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer
983 stars 79 forks source link

Set a user's private_session #913

Open marclundgren opened 6 years ago

marclundgren commented 6 years ago

Endpoint(s):

Use Cases

eveningRitual() {
  spotify set-private-session true
  spotify play playlist {sleeping_playlist} // please, do not suggest more songs like these
}
morningRitual() {
  spotify set-private-session false
  spotify play playlist {weekly_discover_playlist} // yay new music
}
marclundgren commented 6 years ago

alternatively, the eveningRitual script could have the following logic

eveningRitual() {
  spotify set-private-session(true)
  spotify play playlist {sleeping_playlist} // please, do not suggest more songs like these

  // after 8 hours, turn off the private session
  for delay in 28800; do
    spotify stop
    spotify set-private-session false
  done
}
arirawr commented 6 years ago

Thanks for the feature request! We'll post here if there are any updates.

esfahani commented 5 years ago

Any updates on this? I’d also really like to see this happen.

DevFelixDorn commented 5 years ago

+1