Unofficial Kodi HDHomeRun DVR PVR Client

Kodi Community Development

Moderator: TVJunkie198

Post Reply
sillywabbit
Posts: 10
Joined: Mon Jun 24, 2019 3:53 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by sillywabbit »

Forgot to add that I can ssh into my device since I whitelisted my device. Before adding my subnet to the whitelist I could not ssh. That leads me to believe that the whitelist is working.

djp952
Posts: 1463
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 28

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 »

sillywabbit wrote: Thu Jun 03, 2021 12:23 pm Should have added this in my original post. The official HDHomeRun addon from the Kodi repository detects the tuners and works just fine. And oh I had whitelisted my local network. So I can access my network shares when connected to the vpn service. When I get home I’ll try pinging the devices. I appreciate your help.
signcarver wrote: Thu Jun 03, 2021 12:31 pm The official addon should only uses udp broadcast discovery... this addon can be set to use http discovery which requires the client to connect to the internet from same public ip as the tuners which it usually won't when using a VPN. Double check that setting.
This is a big clue!

Definitely check that this addon's setting Advanced / Use cloud-based HTTP discovery is OFF. If that's ON as signcarver indicated the discovery behavior changes. With that OFF you should be getting identical results, both addons use SiliconDust's libhdhomerun to perform the discovery via broadcast (UDP). I use a newer version than pvr.hdhomerun does, but I don't think that is relevant.

Discovery concern not withstanding, the main difference between how the official pvr.hdhomerun addon and this addon behaves is ... this addon is going to use your RECORD engine to stream channels (if discovered), whereas pvr.hdhomerun can only hit the tuner device(s) directly. The Kodi log file before you lost discovery is likely long gone but in it we would find the HTTP error message that you saw flash as a banner/toast in Kodi. If you can get discovery working again, getting that full error message would be great.

If you get discovery working again, but can't stream anything still, try this addon's Advanced / Stream Live TV channels directly from tuner device(s) setting. If you enable that and set the Preferred tuner streaming protocol to HTTP, the addon will behave very similarly to pvr.hdhomerun. Even if it thinks you have a RECORD engine it won't try to use it. You lose the ability to timeshift, of course, but if this setup works then I think we can narrow this down to a problem finding/accessing your RECORD service.

I'd be very happy to have a look at some of your Kodi logs. There may be additional clues to work with, like not being able to download/process EPG data, problems getting images/thumbnails, etc. that may help guide us to the solution. I'll PM you an e-mail address -- feel free to send me, well, whatever you think might help!

djp952
Posts: 1463
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 28

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 »

sigh. the PM won't send for some reason. Just add an @gmail.com to my username here to contact me / send me things. I'll get it :)

sillywabbit
Posts: 10
Joined: Mon Jun 24, 2019 3:53 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by sillywabbit »

Thank you so much for your help. I decided to just take the easy way out. I set up a separate raspberry pi for my vpn, dvr and downloads and use another raspberry pi for my tv addon.

I now realize the settings that you and signcarver were referring to were the tv addon settings and not the vpn settings.

I very much appreciate your informative reply. If I didn’t enjoy your addon so much I would have just stuck with the HDHomerun addon but yours is so much more intuitive.

Thanks again for all your help.

tzr916
Posts: 36
Joined: Fri Mar 16, 2012 9:47 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by tzr916 »

Have been using another 3rd party app for years. Might like to try KODI, but have some quick questions:
-does KODI operate with generic Win10 USB IR remote receivers and standard MCE remote controls
-does KODI use "BDA drivers" or "tuner stream" method for tv channels
-what is the current state, and development plans for ATSC 3.0 (live/record/AC-4 audio)
-can KODI use madVR in Win10 or can it use an "external player" that does
-are comskip markers shown in the timeline Win10/Android
-does commercial skipping work in Android
-is there full EPG in Android
-is adding/viewing/editing recording rules working in Android
-is there ability to watch live tv and recorded shows from outside my home network

djp952
Posts: 1463
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD USA
x 28

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 »

tzr916 wrote: Sun Jun 27, 2021 4:01 pm Have been using another 3rd party app for years. Might like to try KODI, but have some quick questions:
Most of these are best asked on the Kodi forum, but I'll do my best!

-does KODI operate with generic Win10 USB IR remote receivers and standard MCE remote controls
Yes

-does KODI use "BDA drivers" or "tuner stream" method for tv channels
HTTP Tuner Stream (there is also an option to use RTP if you want, but that's for niche cases where UDP works better on the user's network than TCP, which is rare)

-what is the current state, and development plans for ATSC 3.0 (live/record/AC-4 audio)
The addon should be able to play ATSC 3.0 channels, but mainline Kodi doesn't support AC-4 yet. I believe there is a fork out there that does, but you may be hard-pressed to find an Android version. Recording is done by the HDHomeRun DVR (RECORD) engine, there should be no problems there.

-can KODI use madVR in Win10 or can it use an "external player" that does
You'd need a fork of Kodi for that.

-are comskip markers shown in the timeline Win10/Android
I think so, but for this addon you need to configure EDL (Edit Decision List) support and handle generation of those files on your own.

-does commercial skipping work in Android
See above

-is there full EPG in Android
If you are a HDHomeRun DVR subscriber, yes. Otherwise you get no EPG data at all via this addon.

-is adding/viewing/editing recording rules working in Android
Everything works on all platforms; there are no specific platform limitations imposed by the addon (unless there is a bug I don't know about?)

-is there ability to watch live tv and recorded shows from outside my home network
I think this can done with Kodi, but you'd have to research that one. The addon itself won't impose any restrictions on you or provide you with any features here.

I'm thinking Kodi may not be the way you want to go, honestly. I doubt (but an happy to be wrong) that you will find a supported fork of the application that handles all the things mainline Kodi won't do like AC-4 and madVR, but if you are: A) A DVR service subscriber; B) have an HDHomeRun RECORD engine set up, and C) actually do find a Kodi fork for Android that meets your needs, this addon should handle the rest.

If not a DVR subscriber, Kodi also has an HDHomeRun addon built-in (pvr.hdhomerun) that can handle the basic streaming needs for Live TV (and a few hours of EPG data) but there is no recording support. I'm really getting the impression that's not going to be good enough for you, though!

Good luck my friend!

tzr916
Posts: 36
Joined: Fri Mar 16, 2012 9:47 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by tzr916 »

Thank you so much... a few more that I forgot:
-setup a "server" to do EPG collection and perform the actual recording of shows, as well as watching live tv and recorded shows
-all machines on the network use the server's database to have common/shared EPG, and recording rules, and recorded shows
-if recorded show playback is stopped on one machine, resume on another
-playing live tv on any machine does not create tuner conflicts with the server duties and other machines

Ken.F
Posts: 2403
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA
x 13

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Ken.F »

djp952 wrote: Sun Jun 27, 2021 5:16 pm -are comskip markers shown in the timeline Win10/Android
I think so, but for this addon you need to configure EDL (Edit Decision List) support and handle generation of those files on your own.

-does commercial skipping work in Android
See above
I don't have Win10 but I know Comskip markers are shown in Kodi Matrix on the timeline on Android mobile, Android TV, Win7 and Linux, and commercial skipping works on those devices. Commercial skipping works on Leia but it doesn't show the markers.

Image

Ken.F
Posts: 2403
Joined: Fri Apr 05, 2013 9:20 am
Device ID: 1041A706, 1043EB32, 104BAD9E, 13168DC5, 1322A7AC
Location: West Rockhill, PA
x 13

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Ken.F »

tzr916 wrote: Sun Jun 27, 2021 5:57 pm -setup a "server" to do EPG collection and perform the actual recording of shows, as well as watching live tv and recorded shows
The HDHomerun DVR record engine runs on one device in the home and acts as a server for all client devices on the local network. All recordings are saved to local storage on that device.
The EPG data is collected and stored on Silicondust's servers. Kodi client devices will get a EPG download every time Kodi is launched, and will also receive periodic EPG updates if you leave it running for extended periods.
The central HDHomeRun DVR record engine handles the live TV buffer for pause, rewind and fast forward for all client devices.
-all machines on the network use the server's database to have common/shared EPG, and recording rules, and recorded shows
-if recorded show playback is stopped on one machine, resume on another
Except for the EPG, yes.
-playing live tv on any machine does not create tuner conflicts with the server duties and other machines
Watching live TV will prevent a recording if there are no other tuners free, unless you happen to be watching one of the channels the scheduled recordings takes place on. Tuners are allocated first come first serve including live TV, but since live TV is buffered through the record engine two clients tuned to the same channel will only use one tuner.

Post Reply