witnessmenow / spotify-api-arduino

Arduino library for integrating with the Spotify Web-API (Does not play music)
MIT License
184 stars 33 forks source link

Get currently-playing needs to be extended to have support for Podcasts #54

Open witnessmenow opened 1 year ago

witnessmenow commented 1 year ago

The current implementation of get currently playing does not support podcasts

Changes required:

  1. And additional param needs to be added to the URL https://api.spotify.com/v1/me/player/currently-playing?additional_types=episode

  2. The JSON response is different for podcasts, so both the JSON filter and what is parsed needs to be adapted.

  3. The data needs to be presented back to the user somehow. Its possible to maybe shoehorn the podcast details into the currentPlaying if we take some liberties with the naming :)

witnessmenow commented 1 year ago

Still needs to be documented