Skip to content

Conversation

achechulin
Copy link

In my setup favourites icon does not work.

After some debugging I see that CoreStateMachine.checkFavourites never called because CoreCommandRouter.volumioPushState resolves with error "callback.apply is not a function".

Next, I see that error comes from InterfaceWebUI.pushState, where libQ.fcall called with function result instead of a function itself.

See:
https://github.com/volumio/volumio3-backend/blob/master/app/plugins/user_interface/websocket/index.js#L2137

Missed bind call or wrapped function in that line:
return libQ.fcall(self.libSocketIO.sockets.emit('pushState', state));

Also, same problem exists in InterfaceWebUI.pushQueue.

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

Successfully merging this pull request may close these issues.

1 participant