xbmc.Monitor onNotification callback for JSONRPC.NotifyAll?
#1
Is the xbmc.Monitor onNotification callback supposed to be called when a different script sends a JSONRPC.NotifyAll?  I'm trying to capture that from plugin.video.youtube but I don't seem to get it.  When I turn on json-rpc logging I see
Code:
JSONRPC: Incoming request: {"method": "JSONRPC.NotifyAll", "params": {"sender": "plugin.video.youtube", "message": "PlaybackStarted", "data": {"video_id": "ncFSKnYs5Px", "channel_id": "UCIpafUHTlO8Lp1ItnKbpYmx", "status": {"unlisted": false, "private": false, "crawlable": true, "family_safe": false, "live": false}}}, "jsonrpc": "2.0"}
so I assume Kodi is getting it from youtube addon.

scott s.
.
Reply
#2
The callback would normally have something to respond to, except the request was sent without an id, and so was being handled as a notification without any response being generated.

It was a bug that was fixed in https://github.com/anxdpanic/plugin.vide...446b8f848a
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc.Monitor onNotification callback for JSONRPC.NotifyAll?0