Rafostar / playercast

Cast to media player and control playback remotely.
GNU General Public License v3.0
114 stars 5 forks source link

Support Libreelec By Creating a Kodi Addon #1

Open Saroufim opened 5 years ago

Saroufim commented 5 years ago

It would be nice if the protocol can be embedded into Kodi via an addon to support libreelec.

Rafostar commented 5 years ago

If you just want to play the file selected from cast-to-tv gnome extension, then you can set your receiver type to Web browser | Media player in extension prefs, select the desired video like always and in your Kodi box play it using internet streams (video url). The url is always http://YOUR_IP:4000/cast. This should allow you to play media in Kodi without playback controls from your PC (only control playback from Kodi box).

If you want to make the cast automatic (without selecting predefined url each time) with remote playback controls from gnome-shell, then like you suggested a Kodi add-on would be required, but I lack the knowledge how Kodi add-ons work (seems like they must be done in Python).