2021-06-15, 20:46
(Windows x64 matrix 19.1)
Hi guys,
Sry for my english!
I was wondering if it would be possible to type numbers via Curl while playing video?
I was thinking about e.g.
02342,Return
this would jump to the 23:42 time position of the video
i'm still learning about this json-rpc so far i'm at the point where i can update the video library with this line in batch file
.bat
@echo off
curl -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://kodi:kodi@localhost:8080/jsonrpc
pause
output:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 45
Cache-Control: private, max-age=0, no-cache
Accept-Ranges: none
Date: Tue, 15 Jun 2021 18:12:30 GMT
{"id":"mybash","jsonrpc":"2.0","result":"OK"}
I found a very similar thread
but no reply there
JSON command to seek at a specific time
if anyone has any advice or ideas, even if not with curl
but in some other way, I would be happy to hear them!
Hi guys,
Sry for my english!
I was wondering if it would be possible to type numbers via Curl while playing video?
I was thinking about e.g.
02342,Return
this would jump to the 23:42 time position of the video
i'm still learning about this json-rpc so far i'm at the point where i can update the video library with this line in batch file
.bat
@echo off
curl -i -X POST -d "{\"jsonrpc\": \"2.0\", \"method\": \"VideoLibrary.Scan\", \"id\": \"mybash\"}" -H "content-type:application/json" http://kodi:kodi@localhost:8080/jsonrpc
pause
output:
HTTP/1.1 200 OK
Connection: Keep-Alive
Content-Type: application/json
Content-Length: 45
Cache-Control: private, max-age=0, no-cache
Accept-Ranges: none
Date: Tue, 15 Jun 2021 18:12:30 GMT
{"id":"mybash","jsonrpc":"2.0","result":"OK"}
I found a very similar thread
but no reply there
JSON command to seek at a specific time
if anyone has any advice or ideas, even if not with curl
but in some other way, I would be happy to hear them!