2013-09-26, 10:41
first i add some videos to playlist and call Player.Open, it works fine.
and i try to get the playing video's info through Player.GetProperties , and i got this
{"id":"1","jsonrpc":"2.0","result":{"percentage":54.45432281494140625,"playlistid":1,"position":-1,"repeat":"off","time":{"hours":0,"milliseconds":66,"minutes":2,"seconds":14},"totaltime":{"hours":0,"milliseconds":199,"minutes":4,"seconds":6},"type":"video"}}
everything looks fine except position, it gives me -1
and i play next video,it still gives me -1
don't know how to figure it out
and i try to get the playing video's info through Player.GetProperties , and i got this
{"id":"1","jsonrpc":"2.0","result":{"percentage":54.45432281494140625,"playlistid":1,"position":-1,"repeat":"off","time":{"hours":0,"milliseconds":66,"minutes":2,"seconds":14},"totaltime":{"hours":0,"milliseconds":199,"minutes":4,"seconds":6},"type":"video"}}
everything looks fine except position, it gives me -1
and i play next video,it still gives me -1
don't know how to figure it out