Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
v19 Player.Seek seems broken via JSON commands in 19 rc?
#1
It seems that commands for Player.Seek via JSON are broken in 19 rc ?
I have researched but not found obvious indications here that it has been changed.
So has this string/command been changed in 19.xx?
All other commands appear to work fine as before in Leia.
If this is intentional, are there any hints or something else that needs to be done differently in 19.xx?
Many thanks.

Below are samples that work fine in Leia but do nothing in Matrix 19 rc1 AFAIK:

jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":"bigforward"},"id":1}

jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":50}}
Reply
#2
Perhaps https://github.com/xbmc/xbmc/pull/15939
Reply
#3
(2021-01-17, 17:35)jjd-uk Wrote: Perhaps https://github.com/xbmc/xbmc/pull/15939
Yes, that indeed looks like exactly it. Many thanks!
I will try reworking my 100+ codes asap Smile So will these commands be the same and work for both Leia and Matrix? 

Any chance of examples for updated syntax for my two example commands? I tried some variations that did not work.

jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":"bigforward"},"id":1}

jsonrpc?request={"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":50}}
Reply
#4
I have no idea about the technicalities, that just seemed the obvious change to break what you were doing.

Perhaps post on the JSON dev forum.
Reply
#5
(2021-01-17, 19:25)jjd-uk Wrote: I have no idea about the technicalities, that just seemed the obvious change to break what you were doing.

Perhaps post on the JSON dev forum.

Allright. Thanks again @jjd-uk. Appreciate the pointer!
Reply
#6
So as I found syntax that appears to work, posting here also for anyone searching:
As @jjd-uk  linked. This is a partially breaking change from Leia to Matrix specifically for positive
numbers under 60 secs which needs to be changed to work in Matrix if you were using the now deprecated syntax.

Tested and works in Matrix 19rc1 but will not work in Leia:
forward 30 secs 
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":30}},"id":1}

Work the same in Leia and Matrix:
10 min forward :
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":600}},"id":1}
10 min backward:
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":-600}},"id":1}

50 percentage search:
{"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":{"percentage":50}},"id":1}
Reply
#7
(2021-01-19, 12:55)houser Wrote: So as I found syntax that appears to work, posting here also for anyone searching:
As @jjd-uk  linked. This is a partially breaking change from Leia to Matrix specifically for positive
numbers under 60 secs which needs to be changed to work in Matrix if you were using the now deprecated syntax.

Tested and works in Matrix 19rc1 but will not work in Leia:
forward 30 secs 
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":30}},"id":1}

Work the same in Leia and Matrix:
10 min forward :
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":600}},"id":1}
10 min backward:
{"jsonrpc":"2.0","method":"Player.Seek","params":{ "playerid":1,"value":{ "seconds":-600}},"id":1}

50 percentage search:
{"jsonrpc":"2.0","method":"Player.Seek","params":{"playerid":1,"value":{"percentage":50}},"id":1}
I have it stopped working in Matrix for some reason, what could be the reason?
Reply
#8
(2023-03-11, 04:13)Gafdoru Wrote: I have it stopped working in Matrix for some reason, what could be the reason?
what could be the issue? hmm
maybe it doesnt work on windows 98
maybe you cant connect
maybe its an ssl issue
maybe the service isnt enabled
maybe the service is configured to localhost and youre not localhost
maybe the port is blocked
maybe the proxy isnt working
maybe the vpn isnt working
maybe kodi is closed
maybe kodi is locked up
maybe the file isnt seekable
maybe theres a bug in the code
maybe there's nothing playing
maybe its a glitch in the Matrix like deja vu

what exactly in your question would allow anyone other than you to know whats happening on your system?
Reply

Logout Mark Read Team Forum Stats Members Help
Player.Seek seems broken via JSON commands in 19 rc?0