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

Family plan account doesn't return current track #1361

Closed nessthehero closed 4 years ago

nessthehero commented 5 years ago

Issue found on October 16th, 2019.

Endpoint(s):

Scope(s):

Steps to reproduce:

  1. Go to https://developer.spotify.com/console/get-users-currently-playing-track/
  2. Create OAuth token for a user account that is part of a family plan
  3. Click "Try it"

Expected behaviour:

An object showing the current playing track of the user, or an empty response if no track is currently playing.

Actual behaviour:

204 server response regardless if music is playing or not. Console returns absolutely no response at all. I'm able to see the response is a 204 if I check the last response feature of the following api wrapper: jwilsson/spotify-web-api-php

Additional notes:

  1. Context: the account in question is used as an "office jukebox" and is an account that is part of a family plan of an employee.
  2. I was able to test my code with my personal account which is not part of a family plan and is premium. It worked and I was able to see my currently playing track.
  3. I can see the device the user is playing from via a /v1/me/player/devices request. Currently it's being played off an IPad.
  4. It is not a private session.
  5. The account is set to stream its activity, or have its activity public.
nessthehero commented 4 years ago

Update: The iPad was an iPad 2, which was running an ancient version of the Spotify App. Using a more recent version of the app, everything works fine.