Player.Open parse error with valid JSON
#1
Post Request application/json body
json:

{
    "jsonrpc": "2.0",
    "method": "Player.Open",
    "params": {
        "item": {
            "file": "plugin://plugin.video.youtube/?action=play_video&videoid=cXbCGVHFsf0"
        }
    },
    "id":1
}

Response
json:

{
"error": {
"code": -32700,
"message": "Parse error."
},
"id": null,
"jsonrpc": "2.0"
}
Platforms: macOS - iOS - OSMC
co-author: Red Bull TV add-on
Reply
#2
why nobody answers here?

i have exact the same error?!
Reply
#3
(2021-03-23, 17:16)Skinnerxyz Wrote: why nobody answers here?

i have exact the same error?!
try changing 
"file": "plugin://plugin.video.youtube/?action=play_video&videoid=cXbCGVHFsf0"
to
"directory": "plugin://plugin.video.youtube/?action=play_video&videoid=cXbCGVHFsf0"

hope that helps
Reply

Logout Mark Read Team Forum Stats Members Help
Player.Open parse error with valid JSON0