djp952 / pvr.hdhomerundvr

Unofficial Kodi HDHomeRun DVR PVR Client
https://github.com/djp952/pvr.hdhomerundvr/wiki
Other
58 stars 9 forks source link

Kodi 19.2 breaks hdhomerun pvr #84

Closed abrombo closed 2 years ago

abrombo commented 2 years ago

Running ubuntu 20.04 tried to install zuki.pvr.hdhomerundvr-linux-x86_64-matrix-4.6.0.7908 on kodi 19.2 and got the error: The dependance on kodi.binary.instance.pvr 7.1.0 could not be statisfied. This worked with kodi 19.1. Any suggestion?

djp952 commented 2 years ago

This particular error would indicate that the Kodi version doesn't support PVR API 7.1.0, which of course Kodi 19.2 does. How did you install 19.2, did you do it manually or did it come down via an apt upgrade?

If you know where the Kodi files install to (not the userdata, the binary stuff), pop into the addons/kodi.binary.instance.pvr directory and have a look at addon.xml. For Kodi 19.2 (or .1 or .0) the contents of this file should read:

<?xml version="1.0" encoding="UTF-8"?>
<addon id="kodi.binary.instance.pvr" version="7.1.0" provider-name="Team Kodi">
  <backwards-compatibility abi="7.1.0"/>
  <requires>
    <import addon="xbmc.core" version="0.1.0"/>
  </requires>
</addon>

This is my best guess without trying it, something is awry with the Kodi install, and you'll find a different "version=" in this particular file.

That said, I will stand up a 20.04 VM ASAP and test it all out myself. Knowing how you got 19.2 installed will help, I can execute the same steps.

djp952 commented 2 years ago

While the VM is setting up; I bet you actually installed the latest nightly build, which is Nexus. If that file has an "8.0.0" in it, that's what's going on. I do have a Nexus API 8.0.0 compatible build if you need it.

While you're in Kodi, can you check what version it says it is in System Information? Kodi 19.2 should say:

Screenshot 2021-10-09 132951

EDIT: The Ubuntu version will say 2021-10-08, the Windows version says 2021-10-06

EDIT 2: No problems noted here with Ubuntu 20.04 x86_64 and Matrix 19.2. I used the Normal Kodi PPA to install it. I'm definitely thinking you may have installed Nexus, up until very recently it was compatible with Matix PVR addons.

djp952 commented 2 years ago

Hi @abrombo, any update on this? If the problem does turn out to be that you have installed a Nexus version of Kodi I can provide you with a one-off build that will work. I'm not planning on formally supporting Nexus quite yet, but it's not a big deal in any way.

synack-dev commented 2 years ago

@djp952 I'm having the same issue. I did inadvertantly install the Nexus that bumped up the PVR version from nightly. I can't seem to go back either without completely blowing away everything. I would appreciate a Nexus compatible build if you have one. Or if you have instructions to build on a linux only system. Thank you.

djp952 commented 2 years ago

You bet: https://1drv.ms/u/s!AgEGEEVzGNq-jLJ9nWZUFRQMHMZVZw?e=LenqSr

That's a build from the master/main branch which should work just fine on Nexus (until the API changes again). I guess I need to start generating these for you guys. I was hoping to at least wait until Nexus is in Alpha, but I'll get Nexus builds started.

I'll leave this Issue open until Nexus is a "first class citizen" :)

synack-dev commented 2 years ago

@djp952 Thank you so much. That worked perfectly. Btw I think Nexus is already in Alpha. My build is 20.0-ALPHA1 (19.90.101) Git: 20211013-83c702c4fc Compiled: 2021-10-13

djp952 commented 2 years ago

Nexus isn't quite "a first class citizen" yet (only missing installation instructions), but I was asked by more than a few people via messages I never saw to get this up and running, so it's been tweaked for recent Kodi changes and published as "v20.7.0" (requires 2022.01.02 nightly or newer now): https://github.com/djp952/pvr.hdhomerundvr/wiki/Downloads-for-Kodi-Nexus-(20.x)

Marking as closed, please feel free to re-open or create a new Issue for when the addon inevitably falls behind Kodi again :)