Announcements

Help Wizard

Step 1

NEXT STEP

Who Me Too'd this topic

API - v1/shows/{id}/episodes - resume_point returns incorrect data

Plan

Premium

 

Country

UK

 

Device

Consistent across MacOS 14.6.1, Android 14, and reproducible at https://developer.spotify.com/documentation/web-api/reference/get-a-shows-episodes  

 

Operating System

MacOS 14.6.1, Android 14, and the API

 

My Question or Issue

I have had a nodejs script which, when executed, gets a list of episodes of a podcast, finds the oldest episode I haven't finished listening to yet, and then resumes playback of it on a device.  This has been working perfectly for months, but the last few days it's been playing the same episode every time. 

 

I had a chance to look at the issue today, and found that the API (for example: https://api.spotify.com/v1/shows/4pqW0HTIeZcx7vqHpwzmZj/episodes?market=UK&limit=50&offset=200) does not show the same resume point as the official clients on MacOS nor Android - where those devices see the episode as played, the API sees it "fully_played": false.  This is repeatable at https://developer.spotify.com/documentation/web-api/reference/get-a-shows-episodes, even after marking an episode as unplayed and then marking it as played again.

 

Attached is a screenshot of the MacOS desktop client and the same show in the API reference showing different playback states for episode 350 of No Such Thing As A Fish.

 

Interestingly, open.spotify.com shows a completely different set of played states, also attached.

 

Finally, I have tried this with another podcast (2dXkTgfC5mECruaLFUERe1), which shows the same behavior.  Attached is a screenshot of all 3 (open.spotify.com, MacOS Desktop, and API reference), all showing completely different playback states.  The Android app also shows a different set of playback states to the other three.  

 

Screenshot 2024-09-07 at 20.43.01.png
Screenshot 2024-09-07 at 20.40.06.png
Screenshot 2024-09-07 at 20.45.28.png
Who Me Too'd this topic