2021-11-11, 22:22
Hello
I want to add some code examples and ask a question:
<<< it is useful if you get info by your browser. All of PVR channel and groups will be displayed.
<<< this code will be open your channel (the channel no that you will see on kodi GUI) use a console like putty.
<<< use with console. This will give you all channel numbers that you can use previous code.
Here is the question:
Why the 1.st code and 3.rd code is resulting different codes? how can I see 3rd code results in web browser?
(BTW: I am sorry for the second post. I couldn't edit my previous wrong one. That is why I post this entry one more time.)
I want to add some code examples and ask a question:
Code:
http://yourkodiipishere:8080/jsonrpc?request={"jsonrpc": "2.0", "method": "PVR.GetChannels", "params": {"channelid": "alltv"},"id": 1}]
Code:
/usr/bin/curl -v -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"id":1,"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"channelid":912}}}' http://yourkodiipishere:8080/jsonrpc]
Code:
curl -s --data-binary '{"jsonrpc": "2.0", "method": "PVR.GetChannels", "params": {"channelgroupid" : "alltv"}, "id": 1 }' -H 'content-type: application/json;' http://yourkodiipishere:8080/jsonrpc]
Here is the question:
Why the 1.st code and 3.rd code is resulting different codes? how can I see 3rd code results in web browser?
(BTW: I am sorry for the second post. I couldn't edit my previous wrong one. That is why I post this entry one more time.)