Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.6.0 - Calling api.Play() with a context_uri causes an error: #6

Closed
Threpio opened this issue Jul 18, 2021 · 2 comments
Closed

V0.6.0 - Calling api.Play() with a context_uri causes an error: #6

Threpio opened this issue Jul 18, 2021 · 2 comments

Comments

@Threpio
Copy link
Contributor

Threpio commented Jul 18, 2021

With the following code (In an attempt to fix issue with Spotify-Cli #27:
Screenshot 2021-07-18 at 19 42 30

The error is returned as this - It seems that even when passing no query my logic is off?
Screenshot 2021-07-18 at 19 42 35

@brianstrauch
Copy link
Owner

@Threpio The issue is that the last two calls to Play() are passing "" as the URI. Instead, remove that argument. For variadic arguments, you can pass 0 arguments!

@Threpio
Copy link
Contributor Author

Threpio commented Jul 19, 2021

Yup - Didn't notice that untill I passed 0 arguments and it was fine.

@Threpio Threpio closed this as completed Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants