I am trying to use the HTTP API, and I am only partially successful.
This works, and plays the selected file:
Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=PlayFile¶meter=smb://musikk/slottet/mp3/Covenant/Northern%20Lights/Covenant_03_Bullet.mp3This works, it adds the song to the playlist:
Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=AddToPlaylist¶meter=smb://musikk/slottet/mp3/Covenant/Northern%20Lights/Covenant_03_Bullet.mp3;0;music;1This works, it shows the song:
Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=GetPlaylistContents¶meter=0These work, I set the current playlist to 0 (music playlist) and verify it:
Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=SetCurrentPlaylist¶meter=0
http://10.0.0.64//xbmcCmds/xbmcHttp?command=GetCurrentPlaylist
However, neither of these work, the song isn't played:Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=PlayNext
http://10.0.0.64//xbmcCmds/xbmcHttp?command=PlayListNext
Also, adding a folder with AddToPlaylist does not work:Code:
http://10.0.0.64//xbmcCmds/xbmcHttp?command=AddToPlaylist¶meter=smb://musikk/slottet/mp3/Covenant/Northern%20Lights/;0;music;1Any ideas?

![[Image: b.gif]](http://bstats.freehostia.com/b.gif)
Search
Help