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

Missing record field error - play-track, play-artist, play-album not working #10

Open
radzak opened this issue Sep 14, 2017 · 1 comment

Comments

@radzak
Copy link

radzak commented Sep 14, 2017

➜  spotify-cli play-album "sepultura arise"
spotify-cli: internal error, uncaught exception:
             Ag_oj_run.Error("Line 6:\nMissing record field albums")
             Raised at file "src/core/lwt.ml", line 805, characters 22-23
             Called from file "src/unix/lwt_main.ml", line 34, characters 8-18
             Called from file "src/cmdliner_term.ml", line 27, characters 19-24
             Called from file "src/cmdliner.ml", line 106, characters 32-39

The same output is with play-track and play-artist, 'Missing record field tracks' and 'Missing record field artists' respectively.
Remaining commands working.

@johnelse
Copy link
Owner

Thanks for the report, it turns out spotify have blocked unauthenticated access to the metadata API:

https://developer.spotify.com/news-stories/2017/01/27/removing-unauthenticated-calls-to-the-web-api/

I'll have to add authentication support to the underlying library, and sadly these commands are going to be broken until I've done that.

@johnelse johnelse mentioned this issue Dec 23, 2018
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