2011-09-24, 16:26
Calling this crashes xbmc:
This can be worked around by calling Player.Stop before the Playlist.Clear but still shouldn't happen I guess.
Code:
"{ "id" : 22, "jsonrpc" : "2.0", "method" : "Playlist.Clear", "params" : { "playlistid" : 2 } }"
"{ "id" : 23, "jsonrpc" : "2.0", "method" : "Playlist.Add", "params" : { "item" : { "file" : "/home/user/Pictures/picture.jpg" }, "playlistid" : 2 } }"
"{ "id" : 24, "jsonrpc" : "2.0", "method" : "Player.Open", "params" : { "item" : { "playlistid" : 2, "position" : 0 } } }"
"{ "id" : 25, "jsonrpc" : "2.0", "method" : "Playlist.Clear", "params" : { "playlistid" : 2 } }"
This can be worked around by calling Player.Stop before the Playlist.Clear but still shouldn't happen I guess.