tgorgdotcom / locast2plex

A very simple script to connect locast to Plex's live tv/dvr feature.
MIT License
232 stars 43 forks source link

Locast to Emby #49

Open uisge67 opened 3 years ago

uisge67 commented 3 years ago

Quick note to let peoples know that locaste2plex works great as a locast proxy for Emby.

Emby will not discover the locast2plex tuner but manually configure a HDHR tuner and point it to the locast2plex IPaddress:PORT and it works great.

Then just use the Emby EPG service to grab the same local OTA listings and basically all of the channels mapped to the EPG correctly for me.

Thanks for the lcoast2plex software.!

-Uisge

tgorgdotcom commented 3 years ago

That's awesome! Can anyone try this for Kodi as well? Been meaning to test it myself....

codecivet commented 3 years ago

I just tried Kodi and was unable to get either of the HDHomerun add-ons (one by Silicondust, one by a 3rd party) to detect my locast2plex server. Note that I don't have Plex or Emby, so I haven't validated that my locast2plex server is working correctly, but I see it start and enter listening mode when I run locast2plex from the command line, and I can access an XML file when I connect to localhost:6077 from a web browser (and see the GET request on the command line).

I'll see if I can get some useful debug information from the Kodi add-ons, but if there is something in particular you would like me to check, let me know.

The plugins don't allow manually setting a HDHomeRun IP address, so I wonder if it's the buggy SSDP that is preventing detection by the add-ons.

codecivet commented 3 years ago

With some hacking I was able to get the 3rd party HDHomeRun Kodi addon (Simple HDHomeRun Interface by Lunatixz) to communicate with the locast2plex server. It was able to get a channel list. But I wasn't able to actually play anything yet. These plugins seem to be pretty tightly integrated with HDHomeRun (obviously even more so for the Silicondust addon) and are relying on its Guide features, among other things, so it's a little tough to extricate just the viewing experience. I may be on completely the wrong track here, not sure.

tgorgdotcom commented 3 years ago

I don't know if this would help, but locast does have EPG data we could send across. I haven't had any time to implement it, but there might be a way to convert it to something the Kodi plugin wants.