I am trying to hook to some events but no success so far.
mopidy.on(console.log.bind(console)) expects 2 arguments (
The "listener" argument must be of type Function. Received type undefined at checkListener), so I cannot use it to list events. I tried:
but nothing was received on playback start or stop. I don’t know if the event name is right, it should be prefixed with something (‘state:’, …), or how to find available valid event names. Can somebody help me?