croneter / PlexKodiConnect

Plex integration in Kodi done right
GNU General Public License v2.0
1.15k stars 77 forks source link

How to install PKC on Nexus? #1844

Closed Sparh4wk closed 1 year ago

Sparh4wk commented 2 years ago

Hi,

just want to ask you, how to actually install PKC on Kodi Nexus. I tried add both matrix stable and beta repo (cant find Nexus repo, but mb Im just blind), but both giving me error Could not connect to repository.

So I tried to install newest version 3.6.14, but it needs some dependency, so I cant install it.

Thanks for help and thanks for doing amazing job on this superb addon.

With regards

Sparhawk

croneter commented 2 years ago

Should work just fine following https://github.com/croneter/PlexKodiConnect/wiki/Installation

Barring any hickups from Kodi Nexus - it's still in an Alpha state so things can and will break frequently. Try the "official" Alpha version from www.kodi.tv, not the lastest one (nightly).

Sparh4wk commented 2 years ago

Should work just fine following https://github.com/croneter/PlexKodiConnect/wiki/Installation

Barring any hickups from Kodi Nexus - it's still in an Alpha state so things can and will break frequently. Try the "official" Alpha version from www.kodi.tv, not the lastest one (nightly).

seems like they changed the way that addon.xml in repository is managed:

image

image

is there ez way to fix that addon.xml for me without changing anything in your repository?

croneter commented 2 years ago

Darn 😞. Nope, this is going to be a major, major problem for PlexKodiConnect and other add-ons. Does this issue occur if you install the "official" alpha version from www.kodi.tv downloads?

Sparh4wk commented 2 years ago

Im using kodinerds maven build, cause I need support for mkv files with Dolby Vision on my shield. (seems like its based on alpha build) But according to your manual I was able to install latest stable version (3.6.14) on it manually and for now it seems fine. But both repos cant be accessed. So only option for now to update PKC is to manually download it from github and then install the zip file.

croneter commented 2 years ago

Ah OK, so it's an issue with the Kodi repository of PKC, not PKC itself. Thanks!!

artzox commented 2 years ago

For me PKC has been rather stable on Nexus. I am getting issues when installing the next nightly. Usually the library updates stop being reflected (no new content showing up or old one being removed). No amount of resetting or fresh reinstalls of PKC fixes this, the library is stuck. A fresh Kodi install fixes it, so I've decided to keep a backup before the PKC install and use it as starting point.

bokkoman commented 2 years ago

I can't install it either. Tried the manual way, but installing the 2 dependencies fails with error that it can't find python 2.1.0.

Also using the Maven build from kodinerds.

bokkoman commented 2 years ago

@Sparh4wk how did you manage to install it on the Maven kodinerds build? Since I am getting python missing errors.

Sparh4wk commented 2 years ago

@bokkoman you need to install versions for matrix, cause they need python 3 and not 2.1.0.

bokkoman commented 2 years ago

@bokkoman you need to install versions for matrix, cause they need python 3 and not 2.1.0.

Where do i find these? I followed the docs for manual installation, but apparently that links to the old versions.

Sparh4wk commented 2 years ago

image

https://github.com/croneter/plugin.video.plexkodiconnect.movies/archive/refs/tags/3.0.2.zip https://github.com/croneter/plugin.video.plexkodiconnect.tvshows/archive/refs/tags/3.0.2.zip

bokkoman commented 2 years ago

Ah i see, you needed to download the releases. I followed the exact guide, by downloading the zip by pressing CODE. Thanks for pointing it out.

brando56894 commented 2 years ago

I just had to figure this out on my own, I installed both Matrix repositories (stable and beta) and Kodi (Nerds build, Nexus Alpha 2) kept complaining that it couldn't connect to the repo. I read through the log and it said

ERROR <general>: Repository add-on repository.plexkodiconnect does not have any directory and won't be able to update/serve addons! Please fix the addon.xml definition

ERROR <general>: Repository add-on repository.plexkodiconnect uses old schema definition for the repository extension point! This is no longer supported, please update your addon to use <dir> definitions.

I managed to fix it by adding the requested \

tags around \, \, and \ like so

<extension point="xbmc.addon.repository" name="PlexKodiConnect Repository Kodi 19 Matrix">
    <dir>
        <info compressed="false">https://raw.githubusercontent.com/croneter/binary_repo/master/stable_py3/addons.xml</info>
        <checksum>https://raw.githubusercontent.com/croneter/binary_repo/master/stable_py3/addons.xml.md5</checksum>
        <datadir zip="true">https://raw.githubusercontent.com/croneter/binary_repo/master/stable_py3/</datadir>
    </dir>
</extension>

After doing that everything worked as intended. I just finished installing it and it linked without issue and then synced all my content in about 30 seconds.

bokkoman commented 2 years ago

Can you PR that? If that makes it work on nexus like it would in matrix.

brando56894 commented 2 years ago

I was about to, but https://github.com/croneter/PlexKodiConnect/blob/master/addon.xml looks a lot different than the one I have installed. I added https://croneter.github.io/pkc-source as a source in the kodi file manager, then installed one of the Matrix repos and then edited addons/repository.plexkodiconnect/addons.xml, which is only 19 lines, so I'm not exactly sure where to place the tags in the larger one.

I'm on the Nvidia Shield btw, but I don't think that makes a difference in this case.

bokkoman commented 2 years ago

I was about to, but https://github.com/croneter/PlexKodiConnect/blob/master/addon.xml looks a lot different than the one I have installed. I added https://croneter.github.io/pkc-source as a source in the kodi file manager, then installed one of the Matrix repos and then edited addons/repository.plexkodiconnect/addons.xml, which is only 19 lines, so I'm not exactly sure where to place the tags in the larger one.

I'm on the Nvidia Shield btw, but I don't think that makes a difference in this case.

I think you need to look at this one: https://github.com/croneter/repository.plexkodiconnect/blob/master/repo/addons.xml

cscoppafox commented 1 year ago

I managed to fix it by adding the requested

tags around , , and like so

This still works .... thanks!!!

Without the change you can't install PKC on Nexus Alpha 3

bokkoman commented 1 year ago

Latest nightly doesn't work. After launching Kodi i get an error message from PKC telling me it doesn't work and need to check the forums.

croneter commented 1 year ago

@bokkoman On principal, don't use the nightly, use the release candidate. Too much breaks still on the Kodi (and not PlexKodiConnect) side of things.

Having said that, share a DEBUG log file and I might be able to help you, see https://github.com/croneter/PlexKodiConnect/wiki/How-to-Report-A-Bug

croneter commented 1 year ago

Closing this issue as one should be able to easily install using the normal instructions, see https://github.com/croneter/PlexKodiConnect/wiki/Installation