Skip to content

Search Track and Add Track to playlist - getting out the spotify track uri #17

Closed Answered by thlucas1
rosbusterus asked this question in Q&A
Discussion options

You must be logged in to vote

I believe the problem is that “items” is being interpreted as the Jinja “items()” function rather than the property in this line of code:
search_result.result.items[0].uri

Change it to the following and it should work:
search_result.result[“items”][0].uri

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@rosbusterus
Comment options

@thlucas1
Comment options

@rosbusterus
Comment options

Answer selected by rosbusterus
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants