ParitoshBh / KodiLinuxRemote

Linux remote for Kodi, built using GTK3+
6 stars 4 forks source link

Enhancement Request: Share Video URLs #6

Open commander-keen opened 2 years ago

commander-keen commented 2 years ago

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. :-)

khimaros commented 2 years ago

as a reference for how to achieve this, it is supported by kore.

ParitoshBh commented 2 years ago

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:

khimaros commented 2 years ago

@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

khimaros commented 2 years ago

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