2011-02-13, 11:21
Hi guys,
I tried to add some mp3-streams to the playlist with this command
OK, this works but the m3u is add not the streams inside and there is no label.
After this I tried to add the streams one by one with this command:
The stream is added but again without a label.
Is it possible with the json-interface to:
I tried to add some mp3-streams to the playlist with this command
Code:
curl -s -S -m 3 -X POST -d '{"jsonrpc": "2.0", "method": "AudioPlaylist.Add", "params": { "file" : "/home/xbmc/.xbmc/userdata/playlists/music/radio.m3u"}, "id": 1}' http://192.168.0.24:8080/jsonrpc
After this I tried to add the streams one by one with this command:
Code:
curl -s -S -m 3 -X POST -d '{"jsonrpc": "2.0", "method": "AudioPlaylist.Add", "params": { "file" : "http://gffstream.ic.llnwd.net/stream/gffstream_mp3_w49a", "label" : "Bremen 4"}, "id": 1}' http://192.168.0.24:8080/jsonrpc
Is it possible with the json-interface to:
- Add a playlistfile (m3u, pls) as a new playlist or the songs inside to an existing playlist?
- How could I add a label to the streams?