WebSocket event for addToFavourites / removeFromFavourites


which event should I listen to to get response on addToFavourites / removeFromFavourites?

I tried
socket.emit('addToFavourites ');
socket.on('pushAddToFavourites ', function () {

but it doesn’t seem to work.


I found “pushToastMessage” which works fine.
Too bad Volumio doesn’t have it in their API description.

It gives the following reply:

{“type”:“success”,“title”:“Removed”,“message”:“Beating Around The Bush”}