2011-06-17, 09:39
Hi All,
Appologies if this has already been answered, but search wouldn't narrow anything down other than somewhere in these 100+ pages!
I have some of the basic JSON interface working and get an unsolicited notification when a new song starts playing:
Once I receive this i'm able to request the current position and track length, but what i'm struggling with is how to obtain the track title, artist, album and coverart?
If figured "AudioLibrary.GetSongDetails" might help, but it needs a songid that I don't have.
I'm using the bleeding edge build from last night of PRE-11.0.
Thanks,
Matt.
Appologies if this has already been answered, but search wouldn't narrow anything down other than somewhere in these 100+ pages!
I have some of the basic JSON interface working and get an unsolicited notification when a new song starts playing:
Code:
{"jsonrpc":"2.0","method":"Player.OnPlay","params":{"data":{"speed":1,"type":"song"},"sender":"xbmc"}}
Once I receive this i'm able to request the current position and track length, but what i'm struggling with is how to obtain the track title, artist, album and coverart?
If figured "AudioLibrary.GetSongDetails" might help, but it needs a songid that I don't have.
I'm using the bleeding edge build from last night of PRE-11.0.
Thanks,
Matt.