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

No mopidy.history methods #6

Closed
morgoth opened this issue Apr 22, 2015 · 2 comments
Closed

No mopidy.history methods #6

morgoth opened this issue Apr 22, 2015 · 2 comments
Assignees
Labels

Comments

@morgoth
Copy link

morgoth commented Apr 22, 2015

I'm running Mopidy 1.0.0 and using latest mopidy.js build.

m = new Mopidy();
m.history
Object {getLength: function, getHistory: function}
m.history.getLength()
Server returned error: Object {message: "Method not found", code: -32601, data: "Object mounted at "core.history" has no member "get_length""}

The same error is returned for history.getHistory()

@jodal
Copy link
Member

jodal commented Apr 22, 2015

I can't immediately see why this doesn't work. Everything seems to be in place for the history controller in Mopidy's HTTP frontend. There's no change needed in Mopidy.js to support this.

@jodal
Copy link
Member

jodal commented Apr 22, 2015

I had a sudden insight and found a grave bug, making the history part of the API unavailable. I've pushed a fix to the v1.0.x and develop branches of mopidy/mopidy.

@jodal jodal self-assigned this Apr 22, 2015
@jodal jodal added the bug label Apr 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants