2013-12-11, 07:11
While investigating another issue with debug logging enabled, I noticed there is an addon executing the same json request every 2 seconds:
Is there any way to tell the source of these requests (although it's almost certainly localhost), or which addon it is that is going nuts? The full log is here. Surely whatever addon is generating these requests doesn't need to request them every 2 seconds for the entire time a system is up?
Edit: On a hunch, I disabled the WiFi on my Nexus 7 tablet which has Yatse installed... and the requests stopped. Will let the Yatse developer know. I'd have thought they could avoid repeated calls to GetActivePlayers/GetProperties by instead monitoring notifications (OnPlay, OnVolumeChanged etc.)
Code:
18:27:34 T:2799494224 DEBUG: JSONRPC: Incoming request: [{"id":0,"jsonrpc":"2.0","method":"Player.GetActivePlayers"},{"id":1,"jsonrpc":"2.0","method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
18:27:36 T:2871731280 DEBUG: JSONRPC: Incoming request: [{"id":0,"jsonrpc":"2.0","method":"Player.GetActivePlayers"},{"id":1,"jsonrpc":"2.0","method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
18:27:38 T:2799494224 DEBUG: JSONRPC: Incoming request: [{"id":0,"jsonrpc":"2.0","method":"Player.GetActivePlayers"},{"id":1,"jsonrpc":"2.0","method":"Application.GetProperties","params":{"properties":["volume","muted"]}}]
...
Is there any way to tell the source of these requests (although it's almost certainly localhost), or which addon it is that is going nuts? The full log is here. Surely whatever addon is generating these requests doesn't need to request them every 2 seconds for the entire time a system is up?
Edit: On a hunch, I disabled the WiFi on my Nexus 7 tablet which has Yatse installed... and the requests stopped. Will let the Yatse developer know. I'd have thought they could avoid repeated calls to GetActivePlayers/GetProperties by instead monitoring notifications (OnPlay, OnVolumeChanged etc.)