Open commander-keen opened 2 years ago
as a reference for how to achieve this, it is supported by kore.
Hey! Appreciate the interest, I no longer use Kodi. However, it seems that this is a useful feature. I'll look into it.
@khimaros thanks for sharing a reference point :smile:
@ParitoshBh -- i've started to maintain a fork here https://github.com/khimaros/KodiLinuxRemote
primary deltas right now are switching to jsonrpcclient and making the UI more mobile friendly.
i have work in progress patch to add flatpak build support.
the solution for playing a youtube file is actually quite simple from that fork:
k.InvokeMethod('Player.Open', {'item': {'file': 'plugin://plugin.video.youtube/?action=play_video&videoid=<YOUTUBE_VIDEO_ID>'}})
see the (commented out) example in https://github.com/khimaros/KodiLinuxRemote/blob/master/toolbox.py#L33
also wanted to mention a few other projects in this space which seem somewhat active.
note: some of these may not be mobile friendly.
https://github.com/accumulator/kodimote https://github.com/mzanetti/kodimote https://github.com/scandinave/kodimote
Great idea, I would like to suggest a possibility to enter Text or even make it possible to send youtube URLs from PC to another Kodi-computer (like Raspberry) so that Kodi plays the video. :-)