2013-09-11, 18:21
I have been desperately trying and searching with no luck to try and figure out how to play an Audio CD. I have been using the Player.Open method, and I have been successful in playing a DVD, and both audio and video files on my computer. However, it seems that there is either a bug or some crazy trick you have to use to get an Audio CD to play.
For DVDs, I have been successful when using the following:
{"id":789,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"dvd:\/\/1"}}}
when I have "file" set to dvd:// it recognizes it as video. If I try to set that to cd or cdda, it does not recognize the media type. Also, as an aside, absolutely nowhere in the documentation have I been able to find "file" as a valid argument for the item object. Where does that come from?
For media files, I have been successful with the following:
{"id":789,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"file:\/\/C:\/Code Repositories\/video.mp4"}}}
Surely there must be a way to play an Audio CD....Surely XBMC hasn't made that big of an oversight....I hope....
For DVDs, I have been successful when using the following:
{"id":789,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"dvd:\/\/1"}}}
when I have "file" set to dvd:// it recognizes it as video. If I try to set that to cd or cdda, it does not recognize the media type. Also, as an aside, absolutely nowhere in the documentation have I been able to find "file" as a valid argument for the item object. Where does that come from?
For media files, I have been successful with the following:
{"id":789,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"file:\/\/C:\/Code Repositories\/video.mp4"}}}
Surely there must be a way to play an Audio CD....Surely XBMC hasn't made that big of an oversight....I hope....