jsonrpc method to open a video
See original GitHub issueFeature request
I’m submitting a proposal to …
- new feature
- change an existing feature
Describe your request
With the youtube plugin it is possible to browse youtube on a remote device (phone, web browser etc.) and to send to kodi a request to watch the current video with it. This is done with extensions like send-to-kodi or the Kore app on android (thanks to a jsonrpc method). Would it be possible to have the same with netflix and this plugin?
Describe the use case
I have kodi set up on a TV, however it is way easier to browse netflix on my phone or a laptop. Hence this will bring the two together and have an experience a bit similar to what a chromecast provides.
Development tips
This is the kind of request used for youtube (from here):
curl \
${user:+--user "$user:$pass"} \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"Player.Open","params":{"item":{"file":"plugin://plugin.video.youtube/?action=play_video&videoid=dQw4w9WgXcQ"}},"id":1}' \
http://$host:$port/jsonrpc
PS: Sorry if this feature already exist, and if so, what would be an example of POST request to send to kodi to have this?
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top GitHub Comments
Sure I understand, will ping them and see their respond.
For Android, ok that’s a shame but I understand. If I ever go into android dev, I might try to make a minimal app that does just this, it looks like a good first project.
Anyway, thanks for your time and for considering it, I’ll create issues on some browser app pages and see what they reply.
all right, thanks for given a response