ramsayleung / rspotify

Spotify Web API SDK implemented on Rust
MIT License
632 stars 121 forks source link

JSON parsing error when fetching a playlist with user's own local track #477

Open matous-volf opened 4 months ago

matous-volf commented 4 months ago

Describe the bug When a playlist contains a track that has been added from local files and I try to fetch it using rspotify's playlist method, it returns

ParseJson(
    Error("data did not match any variant of untagged enum PlayableItem", line: 1, column: 94835),
)

To Reproduce Steps to reproduce the behavior:

  1. Add a local file to your Spotify account.
  2. Add the track into a playlist.
  3. Fetch the playlist using the playlist method.