Posts: 18
Joined: Nov 2012
Reputation:
0
nieldm
Junior Member
Posts: 18
Is the sampling rate available via the JSON api? It is shown on the XBMC iPad application and I can see it shown against an "INFO:" field on my Mac's Console when a track changes, but I can't see any reference in the JSON documentation.
If not, does anyone know where it can be obtained from?
Thanks
Posts: 18
Joined: Nov 2012
Reputation:
0
nieldm
Junior Member
Posts: 18
This is probably me being stupid, but I thought the only data on "currentaudiostream" was the bitrate, the codec and the number of channels.
What am I missing? I am a really simple DIY developer so it's very possible it is something basic, so go easy!
Marc
Posts: 5,952
Joined: Sep 2008
Reputation:
201
Koying
Retired Team-Kodi Member
Posts: 5,952
Ow, SAMPLE rate... I don't think this info is available at all in XBMC...
Posts: 18
Joined: Nov 2012
Reputation:
0
nieldm
Junior Member
Posts: 18
If you have access to the official XBMC iPhone or iPad app, if you touch the album cover art in Now Playing, it shows codec, bitrate AND sample rate.
Is it pulling it from album metadata somehow, in the way iTunes does?