2012-04-11, 19:39
On another topic, regarding the JSON-RPC announcements.
Is there any way to find out what file was started when Player.OnPlay is sent? From what I've seen (in Eden Final), it does not give any indication about the file being played.
Sample announcement:
\
Edit:
I am using Player.GetItem to get the file for the currently playing item,which works well enough.
However, if I am playing a .strm (a playlist), is there any way to get the name of the strm/playlist instead of the currently playing file?
I couldn't seem to find a way to get the name of the currently playing playlist
Is there any way to find out what file was started when Player.OnPlay is sent? From what I've seen (in Eden Final), it does not give any indication about the file being played.
Sample announcement:
Code:
{"method":"Player.OnPlay","params":{"sender":"xbmc","data":{"title":"","player":{"speed":1,"playerid":1},"item":{"type":"movie"}}},"jsonrpc":"2.0"}
Edit:
I am using Player.GetItem to get the file for the currently playing item,which works well enough.
However, if I am playing a .strm (a playlist), is there any way to get the name of the strm/playlist instead of the currently playing file?
I couldn't seem to find a way to get the name of the currently playing playlist