mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #29] search_track fails when called with market set #12
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dbr on GitHub (Dec 17, 2018).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/29
Using the
search_trackmethod and specifying a market is currently giving an error - such as in theexamples/search_track.rs:github.com/samrayleung/rspotify@f8463a302f/examples/search_track.rs (L35)Error is:
..although that error isn't too helpful - the error from
serde_json::from_strismissing field 'available_markets'I think this is intended behavior of the API, at least based on this page
https://developer.spotify.com/documentation/general/guides/track-relinking-guide/
In my case workaround is easy, just don;t specify
marketas I don't need this functionalityOccurring with version 0.2.5 and master as of
f8463a302f@marioortizmanero commented on GitHub (Sep 25, 2021):
Just cleaning up issues. This is fixed in
masternow;available_marketshas#[serde(default)]andis_playableis anOption<T>