2013-08-06, 10:57
Small question about Music Videos.
How to play musicvideo from JSONRPC ?
This code did not play the music video but the movie with the same id :
musicvideoid = 1
How to play musicvideo from JSONRPC ?
This code did not play the music video but the movie with the same id :
Code:
xbmc.executeJSONRPC('{ "jsonrpc": "2.0", "method": "Player.Open", "params": { "item": { "musicvideoid": %d } }, "id": 1 }' % int(params.get("musicvideoid")))
musicvideoid = 1