Unofficial Kodi HDHomeRun DVR PVR Client

Kodi Community Development

Moderator: TVJunkie198

Post Reply
djp952
Posts: 991
Joined: Wed Oct 01, 2008 8:46 pm
Device ID: 131EB7F7;131ED0E0
Location: Elkridge, MD

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Fri Apr 12, 2019 8:12 pm

ddejager wrote:
Fri Apr 12, 2019 6:34 pm
I tried this on both my OSMC device and on my FireTV Stick. Over two hours now and no gujide data shows up on either device. If I use the HDHOMERun app on windows, I can see all the guide data (more than 2 days out), so I don't think that it is an authorization problem. Just now I cleared the guide data again (9:35 PM EDT) and still no guide data....all blank. Logs can be found at https://paste.osmc.tv/uvoyeyosak
OK, I see the error in the log:

Code: Select all

try_getepgforchannel failed due to an exception: no such table: deviceauth (1)
The weird thing is that there is no more 'deviceauth' table anywhere, prior to v2 that was a Common Table Expression (CTE). The "EPG" virtual table has a column named deviceauth, but that's a column not a table. All the authorizations are fine as you surmised.

This is quite weird, it's like it's using the old code for the "EPG" table, which should be impossible. If it was truly broken, it would have never worked at all. Happening on 2 different devices all of a sudden is even weirder. Are you doing any database/state sharing with Kodi, or are they both set up default, each Kodi instance uses it's own device?

I'll dig the Pi out and install OSMC. My FireTV stick is happy as a lark, I just checked in on that.

Thank you for the log, I will see what I can figure out.

edit: Oh snap, this is Krypton! I've been checking Leia. Ugh. Starting over.

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Fri Apr 12, 2019 8:27 pm

Thank you ddejager!

Folks, there is a critical defect in the Krypton and Jarvis builds of v2.0.0 that needs to be corrected. All Krypton and Jarvis v2.0.0 builds will not be able to load new EPG data. Some users, like ddejager, have already found this out :)

I'll try to get v2.0.1 for Krypton and Jarvis out tonight. It's a simple fix.
Last edited by djp952 on Fri Apr 12, 2019 9:12 pm, edited 1 time in total.

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Fri Apr 12, 2019 9:12 pm

Unit Testing basic functionality on prior Kodi baselines is like so last week ....

Version 2.0.1 (2019.04.12)
  • (Jarvis/Krypton) Fix bug introduced in v2.0.0 preventing any EPG data from being processed
  • (Leia) Version number consistency build; no changes
Downloads:
Kodi 16 "Jarvis" : https://github.com/djp952/pvr.hdhomerun ... odi-Jarvis
Kodi 17 "Krypton" : https://github.com/djp952/pvr.hdhomerun ... di-Krypton
Kodi 18 "Leia" : https://github.com/djp952/pvr.hdhomerun ... -Kodi-Leia

Not much to say here other than "I screwed up again". I failed to test the EPG functions on Jarvis and Krypton (all platforms), and there ended up being a code merge error that will be preventing your EPG data from loading at all. I did update the source Universal Windows (UWP) .APPX files for Leia, but that doesn't count for a changelog entry, so "Version number consistency build" is how I decided to justify the change on Leia.

Given that there were no actual changes involved for Leia, I will probably not change the auto-update repository for at least a few days. v2.0.1 on Leia is literally the exact same code as v2.0.0.

ddejager
Posts: 122
Joined: Tue May 06, 2014 2:26 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by ddejager » Sat Apr 13, 2019 8:38 am

Thanks for the quick fix to the Guide data problem. Plus, now that it is no longer a .0 release number we can be confident that the bugs are all gone! :D

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Sat Apr 13, 2019 9:35 am

ddejager wrote:
Sat Apr 13, 2019 8:38 am
Thanks for the quick fix to the Guide data problem. Plus, now that it is no longer a .0 release number we can be confident that the bugs are all gone! :D
Lol. True! I'm sure .0.2 isn't too far off.

Glad it fixed the problem!

Rickt1962
Posts: 136
Joined: Tue Dec 01, 2015 2:17 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Rickt1962 » Thu Apr 18, 2019 7:11 am

Is there any issues with x86_64 2.0.1 =zuki.pvr.hdhomerundvr-linux-x86_64-leia-2.0.1.7041.zip ?
It crashed my KODI when the guide was updating

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Ken.F » Thu Apr 18, 2019 7:16 am

Rickt1962 wrote:
Thu Apr 18, 2019 7:11 am
Is there any issues with x86_64 2.0.1 =zuki.pvr.hdhomerundvr-linux-x86_64-leia-2.0.1.7041.zip ?
It crashed my KODI when the guide was updating
It works fine for me.

Rickt1962
Posts: 136
Joined: Tue Dec 01, 2015 2:17 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Rickt1962 » Thu Apr 18, 2019 7:45 am

Ken.F wrote:
Thu Apr 18, 2019 7:16 am
Rickt1962 wrote:
Thu Apr 18, 2019 7:11 am
Is there any issues with x86_64 2.0.1 =zuki.pvr.hdhomerundvr-linux-x86_64-leia-2.0.1.7041.zip ?
It crashed my KODI when the guide was updating
It works fine for me.
What OS are you using ?

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Ken.F » Thu Apr 18, 2019 7:46 am

Rickt1962 wrote:
Thu Apr 18, 2019 7:45 am
What OS are you using ?
Manjaro.

Rickt1962
Posts: 136
Joined: Tue Dec 01, 2015 2:17 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Rickt1962 » Thu Apr 18, 2019 7:56 am

Ken.F wrote:
Thu Apr 18, 2019 7:46 am
Rickt1962 wrote:
Thu Apr 18, 2019 7:45 am
What OS are you using ?
Manjaro.
I am using LibreELEC which has OS built into KODI

https://libreelec.tv/downloads_new/generic-pc/

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by Ken.F » Thu Apr 18, 2019 8:50 am

Rickt1962 wrote:
Thu Apr 18, 2019 7:56 am
I am using LibreELEC which has OS built into KODI
I just booted a live USB with LibreELEC-Generic.x86_64-9.0.1 and it worked fine. I have no idea why it isn't working for you.

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Thu Apr 18, 2019 3:12 pm

Rickt1962 wrote:
Thu Apr 18, 2019 7:56 am
Ken.F wrote:
Thu Apr 18, 2019 7:46 am
Rickt1962 wrote:
Thu Apr 18, 2019 7:45 am
What OS are you using ?
Manjaro.
I am using LibreELEC which has OS built into KODI

https://libreelec.tv/downloads_new/generic-pc/
Hi! Can you provide any information like the kodi log file? It will probably be incomplete since Kodi is crashing, but there may be a clue in there for me. If there is any type of Kodi crash dump file (same directory as log file), I can see if I can use that too. LibreELEC is a little harder than regular desktop Linux in this regard, on desktop Linux you can run kodi from a Terminal window and get console output when things like this occur.

I have an Intel NUC running that exact version of LibreELEC as well, and haven't seen anything out of the ordinary.

One thing you can try, if you can keep Kodi running long enough, is to go into Settings -> PVR & Live TV -> Guide and select "Clear Data". That nukes the Kodi EPG database. You can also try disconnecting it from the network to ensure that you get the time required to disable the PVR or perform operations like this -- can't load EPG with no network!

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

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by djp952 » Thu Apr 18, 2019 7:18 pm

FYI for everyone, I saw the "guide entries are scrambled" concern on Leia today that has been mentioned a couple times. 18.1 and 18.2 RC1.

I can tell you that it's not the PVR or bad data from the backend services, here my channels are being shifted down by one in the EPG if Kodi is left running on the EPG for a long period of time. I didn't have Kodi debug logging enabled on any systems, so I can't report it to them yet. I will turn on debug logging and leave a system running overnight in the hopes of catching it again.

The data in the Kodi database appears to be fine, I believe this is an EPG UI issue since the main "TV" screen with the recently played channels has the correct EPG information for the current program on those channels. If there was a data concern it would be wrong everywhere.

Restarting Kodi solves the problem for me immediately. No need to clear Guide data or take any other action.

Hope this helps if you guys run into this.

usafle
Posts: 49
Joined: Sun Sep 17, 2017 5:51 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by usafle » Mon Apr 22, 2019 5:58 pm

Another "new" thread. No wonder why I was no longer getting notifications from the old thread. Sorry, just posting here so I can "keep up" with the new thread.

dugiehowsa
Posts: 118
Joined: Sat Mar 21, 2015 1:19 pm

Re: Unofficial Kodi HDHomeRun DVR PVR Client

Post by dugiehowsa » Tue Apr 23, 2019 7:19 am

Is there a repo file that can get installed in KODI that will keep the PVR addon up-to-date? Or is there a way to automatically update the addon that I am not aware of?

Post Reply