I start playing an mp3 steam on xbmc. When I try to get what's currently playing using:
I get back:
Contrast this with the results from /xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying:
Is there a way to get this data through the JSONRPC interface on Eden?
Code:
{"jsonrpc":"2.0","method":"Player.GetItem","id":"1","params":{"playerid":0,"properties":["album","albumartist","duration","file","thumbnail","tagline","artist"]}}
I get back:
Code:
{"id":"1","jsonrpc":"2.0","result":{"item":{"file":"","label":"","thumbnail":"","type":"unknown"}}}
Contrast this with the results from /xbmcCmds/xbmcHttp?command=GetCurrentlyPlaying:
Code:
Filename:http://live-mp3-128.kexp.org:8000/
PlayStatus:Playing
SongNo:0
Type:Audio
Title:KEXP 90.3 FM - Time: 9:03 AM Artist: Night Moves Song: 'Headlights' Album: LIVE on KEXP
Genre:Misc
URL:
Lyrics:
Samplerate:44
Thumb:DefaultAlbumCover.png
Time:23:32
Duration:
Percentage:-2147483648
File size:-1
Changed:True