why might Player.OnPlay playerid be out of expected range
#1
Why might every once in a while I see an OnPlay notification with the required playerid out of range??

{
"jsonrpc": "2.0",
"method": "Player.OnPlay",
"params": {
"data": {
"item": {
"album": "Spa Dreams",
"artist": [
"D'rachael"
],
"title": "Lotus Field",
"type": "song"
},
"player": {
"playerid": -1,
"speed": 1
}
},
"sender": "xbmc"
}
}

While default value for playerid is -1, this is a notification of playback presumably from the player itself, cant it be sure to know which player it is and keep it in range?

"default": -1,
"id": "Player.Id",
"maximum": 2,
"minimum": 0,
"type": "integer"
Reply

Logout Mark Read Team Forum Stats Members Help
why might Player.OnPlay playerid be out of expected range0