2014-05-08, 23:35
Hi,
when starting a video addon using Player.Open (specifying plugin://<addon-id>... as the corresponding file), a Player.OnPlay event is sent back via the web socket connection. So far so good. Unfortunately, this event specifies 0 as params.data.player.playerid instead of 1 (it's a video!) But requesting Player.GetItem with playerid = 0 then results in an error-object while Player.GetItem with playerid = 1 succeeds. (Gotham, Final Release)
Thanks in advance
Dieter
when starting a video addon using Player.Open (specifying plugin://<addon-id>... as the corresponding file), a Player.OnPlay event is sent back via the web socket connection. So far so good. Unfortunately, this event specifies 0 as params.data.player.playerid instead of 1 (it's a video!) But requesting Player.GetItem with playerid = 0 then results in an error-object while Player.GetItem with playerid = 1 succeeds. (Gotham, Final Release)
Thanks in advance
Dieter