2011-10-05, 22:16
Probably the last real change to the jsonrpc API for Eden:
Wednesday, October 5th 2011:
Commit: 288f4967d954769282fc
This should make it easier for 3rd party apps to easily retrieve the currently playing item. You still need the "playerid" though but you don't have to call Player.GetProperties and Playlist.GetItems as well to retrieve all the information about the currently playing item.
Furthermore this does also work for items being played without them being part of any playlist (like it currently is when you start an item with Player.Open or if you start a movie from recently added in XBMC GUI). So for now Player.GetItem is the most fool-proof way to retrieve information about the currently playing item.
Wednesday, October 5th 2011:
Commit: 288f4967d954769282fc
- Added GetItem to the Player namespace to retrieve the currently playing item (also works for items played with Player.Open or from recently added script)
This should make it easier for 3rd party apps to easily retrieve the currently playing item. You still need the "playerid" though but you don't have to call Player.GetProperties and Playlist.GetItems as well to retrieve all the information about the currently playing item.
Furthermore this does also work for items being played without them being part of any playlist (like it currently is when you start an item with Player.Open or if you start a movie from recently added in XBMC GUI). So for now Player.GetItem is the most fool-proof way to retrieve information about the currently playing item.