2015-09-28, 04:31
Hello all,
I'm trying to play a movie from the beginning via the json rpc.
I have tried to "reset" the resume position first like this:
I have also tried to play the title with the resume option specified:
No matter which way I try, the server returns ok, but doesn't play from the beginning. It always prompts via the UI, asking if I want to resume or play from the beginning.
Is there anyway I can by pass the modal confirmation and start a movie from the beginning using json rpc?
I'm trying to play a movie from the beginning via the json rpc.
I have tried to "reset" the resume position first like this:
Code:
{
"params": {
"movieid": 123,
"resume": {
"position": 0
}
},
"jsonrpc": "2.0",
"id": "setResumePoint",
"method": "VideoLibrary.SetMovieDetails"
}
I have also tried to play the title with the resume option specified:
Code:
{
"jsonrpc": "2.0",
"id": "1",
"method": "Player.Open",
"params": {
"item": {
"movieid": 123
},
"options": {
"resume": 0.0
}
}
}
No matter which way I try, the server returns ok, but doesn't play from the beginning. It always prompts via the UI, asking if I want to resume or play from the beginning.
Is there anyway I can by pass the modal confirmation and start a movie from the beginning using json rpc?