adamint / spotify-web-api-kotlin

Spotify Web API wrapper for Kotlin, Java, JS, and Native - Targets JVM, Android, JS (browser), Native (Desktop), and Apple tvOS/iOS. Includes a Spotify Web Playback SDK wrapper for Kotlin/JS, and a spotify-auth wrapper for Kotlin/Android.
https://adamint.github.io/spotify-web-api-kotlin-docs/
MIT License
194 stars 21 forks source link

Recently played call uses SimpleTrack instead of Track #302

Closed Nielssg closed 2 years ago

Nielssg commented 2 years ago

Describe the bug The getRecentlyPlayed call returns a PlayHistory object, which contains a SimpleTrack. It appears however that the Spotify API returns a Track rather than a SimpleTrack.

To Reproduce This can be tried out by visiting the Spotify API docs and using the try out option to get some data. This data has tracks which have an album, indicating that it is in fact a Track object.

Expected behavior PlayHistory should contain a Track object, not a SimpleTrack object. This might be a recent change from Spotify which has not been documented