Hi All,
Playing with Eden Beta 2.
When I get a Player.OnPlay notification, I request the currently playing item by sending:
Code:
{"jsonrpc": "2.0", "method": "Player.GetItem", "params": {"playerid": 0, "properties": ["title","artist","year","rating","albumartist","track","duration","file"]}, "id": "Player.GetItem"}
I get back:
Code:
{"id":"Player.GetItem","jsonrpc":"2.0","result":{"item":{"albumartist":"","artist":"Green Day","duration":273,"file":"E:\\music\\Green_Day-Bullet_In_A_Bible-2005-XXL\\01-Green_Day-Bullet_In_A_Bible.mp3","id":408,"label":"11. Green Day - Wake Me Up When September Ends (Live)","rating":48,"title":"American Idiot (Live)","track":1,"type":"song","year":2005}}}
My question is, given track 11 of the album is playing, why does the title indicate the album name, and the file is pointing to the first track of the album (rather than the file that's currently playing)?
How do I obtain the song name (in this case "Wake Me Up When September Ends (Live)") via the JSON v3 api?
Thanks,
Matt.