2012-05-13, 20:41
(2012-05-13, 16:47)Mizaki Wrote: I get VideoLibrary.OnUpdate notifications when using next or prev as well as the expected.That's probably because XBMC updates the "playcount" property in the database so you'll get the VideoLibrary.OnUpdate notification.
That's pressing previous twice. OnSeek goes to the beginning and looks fine and then when moving to play the previous video the OnUpdate as well.Code:{"jsonrpc":"2.0","method":"Player.OnSeek","params":{"data":{"item":{"id":1874,"type":"episode"},"player":{"playerid":1,"seekoffset":{"hours":0,"milliseconds":-727,"minutes":0,"seconds":-17},"speed":1,"time":{"hours":0,"milliseconds":0,"minutes":0,"seconds":0}}},"sender":"xbmc"}}
{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"item":{"id":2213,"type":"episode"},"player":{"playerid":1,"speed":1}},"sender":"xbmc"}}
{"jsonrpc":"2.0","method":"VideoLibrary.OnUpdate","params":{"data":{"item":{"id":1874,"type":"episode"}},"sender":"xbmc"}}
(2012-05-13, 16:47)Mizaki Wrote: I'd like to request notification of subtitles on/off and audio stream changes. Shall I do them separate or as one FR?Please create seperate feature requests on trac. There's also subtitle changes not only on/off.
(2012-05-13, 16:47)Mizaki Wrote: Also, what are your thoughts on passing the current statuses when first opening a websocket? I can of course just request the current state manually but I was thinking it would be "nice" if on opening you received OnPlay if XBMC is playing.You can create a feature request for it but it will probably be very far down on my todo list.
(2012-05-13, 16:47)Mizaki Wrote: And I guess the reason the vfs thumbnail etc. path is now wrong/not showing images is the work on the cache? Should I just ignore it for now?Yup, they should be fixed as soon as we merge PR958. There will also be a new way to retrieve images through the webserver because we plan to get rid of the access through /vfs/.... to get more control over what can be accessed through the webserver. But for a while both the "old" /vfs/... and the new /image/... access will work.