PlexKodiConnect: Kodi Plex Integration Done Right

@hstamas said:
Sorry if this is a known issue but I’ve been away from PKC for a bit. Is there any reason PKC won’t install on a Nvidia Shield running SPMC Jarvis 16.7?

I can install the repository but the plugin itself comes up as incomparable?

Has something changed since I’ve been away?

Update: Oddly, the act of enabling debugging in Kodi allowed me to install the plugin. I was however not able to do it through the repository. I had to download and install locally.

I had to move the repo as they suddenly blocked Kodi altogether. It’s now on github.com directly. Seems like Spmc does not like that for some reason. Unfortunately I cannot test with Spmc. Could you be so kind and share some debug logs of you trying to access the PKC repo? Issue is already on github.com: Repo is empty when attempting to install on SPMC · Issue #390 · croneter/PlexKodiConnect · GitHub

Is it possible to get rid of the following modal message?


I have a wireless network connection, it is not always available at the Kodi start time. And I don’t want to postpone PKC start time.

@arabesc in the PKC settings under plex.tv, try deactivating Login to plex.tv on startup (or something like it, can’t remember the exact phrase)

I seriously have NO idea how to get Direct Path Option 2 to work and it’s driving me crazy. On my server my media paths are:
/muh-pool/media/organize/movies
/muh-pool/media/organize/tv
/muh-pool/media/organize/anime

Each of these directories corresponds to a Library in Plex. What the heck do I need to do to get this to work?

My /etc/fstab file on my Vero 4K looks like this:
//udon/movies /media/udon/movies/ cifs noauto,x-systemd.automount,vers=3.0,sec=ntlmssp,credentials=/home/osmc/.smbcredentials,uid=1000,gid=1000,iocharset=utf8
//udon/tv /media/udon/tv/ cifs noauto,x-systemd.automount,vers=3.0,sec=ntlmssp,credentials=/home/osmc/.smbcredentials,uid=1000,gid=1000,iocharset=utf8
//udon/anime /media/udon/anime/ cifs noauto,x-systemd.automount,vers=3.0,sec=ntlmssp,credentials=/home/osmc/.smbcredentials,uid=1000,gid=1000,iocharset=utf8

My smb.conf file on my server looks like this:

[tv]
path = /muh-pool/media/organize/tv
valid users = gerlo
writable = no
browsable = yes
read only = yes
guest ok = yes

[movies]
path = /muh-pool/media/organize/movies
valid users = gerlo
writable = no
browsable = yes
read only = yes
guest ok = yes

[anime]
path = /muh-pool/media/organize/anime
valid users = gerlo
writable = no
browsable = yes
read only = yes
guest ok = yes

I am able to access the shares from the Vero by going to /media/udon/[share]

What do I need to do now to get this to work? I’ve tried everything I can think of, and the instructions are just not very clear to me, unfortunately.

Not sure if I’m going to get anywhere but…

Im running into an issue where PKC crashes. I can’t get it to work at all on my LibreElec box running Leia.

i’ve never seen this error before. I have PKC running just fine w/ v18 on my PC and two Shield devices. I also had it run fine on the LibreElec box on v17.

After setting it up (Direct, no music or fanart, I transform the smb links - the first option, and add my credentials) - I get the welcome message and then:

”Library Sync Has Crashed. Reboot and Report on Forums”

I first reported it and my log to the person who made the build for LibreElec. He was very nice and pointed out the error in the log:

21:12:50.655 T:3469734736 ERROR: PLEX.librarysync: LibrarySync thread crashed. Error message: no such table: tag

But claims it’s not an issue with the build so he cannot help.

I’m stuck. I don’t know how it cannot be in some way based on PKC working on just about anything else I’ve used…

Any advice or assistance is most appreciated!

Since Leia is still in active development and has no official release yet, things change all the time.
This is also why it is not supported by PKC yet. If it works right now, it’s not guaranteed it will work on the next commit the kodi developers push to v18.

Our advice: stick with the stable kodi versions.

@michielvanbaak said:
Since Leia is still in active development and has no official release yet, things change all the time.
This is also why it is not supported by PKC yet. If it works right now, it’s not guaranteed it will work on the next commit the kodi developers push to v18.

Our advice: stick with the stable kodi versions.

I’d agree with that…only disappointment is that the person who was making the builds for LE on v17 has stopped doing so.

I personally think it’s the person’s build of v18 for LE. He’s not willing to admit it, but logic points to that if something is working, and has worked, on countless nightlies and countless systems that if it doesn’t work on his, then…yeah.

I guess it’s back to the discontinued v17 build for now. I was hopeful that I’d get some assistance but I get it.

I get that you want to run the latest and greatest. But the latest stable released LE also has kodi V17.

The error shows that the tags table is no longer available in the latest v18 build you are using.
I’m not familiar with the kodi development, so I have no idea if this is an error in the build you have, or that kodi really dropped that table and PKC should be changed for v18.

So it’s either stick with an older v18 build that does work, or use the stable versions for your normal players and have one to test the newest versions.

”Library Sync Has Crashed. Reboot and Report on Forums”

I first reported it and my log to the person who made the build for LibreElec. He was very nice and pointed out the error in the log:

21:12:50.655 T:3469734736 ERROR: PLEX.librarysync: LibrarySync thread crashed. Error message: no such table: tag

But claims it’s not an issue with the build so he cannot help.

I have the same issue. Running Kodi 17.6 on Windows 10 running the latest PKC Beta. My problems started after the first initial sync.

@milnash and @jcarlough :

Sorry, as already mentioned by @michielvanbaak, you’re using alpha version software. PKC doesn’t yet support the latest Kodi 18 - I will look into it if I find the time.

@gerl0

I’m sure you double-checked your SMB configuration; there were some serious updates lately that complicated SMB. See e.g. the release notes of LibreElec here: https://libreelec.tv/2017/11/libreelec-krypton-v8-2-1-mr/

Assuming you can reach your SMB folder using Kodi via browsing to e.g. /media/udon/movies, try the following:

  • In the PKC settings under Customize Paths
    • Deactivate the first option Replace Plex UNC paths \\\\mynas with smb://mynas
    • Activate Replace Plex paths /volume1/media
      • Original Plex MOVIE path: /muh-pool/media/organize
      • Replace Plex MOVIE with: smb://media/udon
      • Use exactly the same for the other settings
      • Mind the CASE!
  • In the Sync Options, make sure you selected Direct Paths as Playback Mode at the very bottom
  • Reset the Kodi DB: Advanced, then the red Partial or full reset of.... Hit YES, YES, NO

@croneter said:
@milnash and @jcarlough :

Sorry, as already mentioned by @michielvanbaak, you’re using alpha version software. PKC doesn’t yet support the latest Kodi 18 - I will look into it if I find the time.

Did you also see that he is saying the issue is on “I have the same issue. Running Kodi 17.6 on Windows 10 running the latest PKC Beta. My problems started after the first initial sync.”

Meaning that this is not only related to Kodi 18 :slight_smile:

@milnash said:

”Library Sync Has Crashed. Reboot and Report on Forums”

I first reported it and my log to the person who made the build for LibreElec. He was very nice and pointed out the error in the log:

21:12:50.655 T:3469734736 ERROR: PLEX.librarysync: LibrarySync thread crashed. Error message: no such table: tag

But claims it’s not an issue with the build so he cannot help.

I have the same issue. Running Kodi 17.6 on Windows 10 running the latest PKC Beta. My problems started after the first initial sync.

Thanks @FIGHT :wink:

@milnash, please share your DEBUG log files if you’re indeed running Kodi 17 (and not Kodi 18) as explained in the wiki: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

@thomashm said:
I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

That’s basically already what happens. As far as I can tell, a pms response was changed by plex and PKC now thinks in some rare cases that it got signed out. I hope this will be fixed in the next PKC release

@croneter said:

@thomashm said:
I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

That’s basically already what happens. As far as I can tell, a pms response was changed by plex and PKC now thinks in some rare cases that it got signed out. I hope this will be fixed in the next PKC release

Let me know if you need logs or anything, I’ll try to help. I’m not sure why it happens on my parents Kodi. My own Raspi/LibreELEC never - maybe very rarely - experience the issue. I don’t know if it’s related to the profile switching.

I’m very thankful for your addon, my plex server would be near useless without it, honestly.

@thomashm said:

@croneter said:

@thomashm said:
I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

That’s basically already what happens. As far as I can tell, a pms response was changed by plex and PKC now thinks in some rare cases that it got signed out. I hope this will be fixed in the next PKC release

Let me know if you need logs or anything, I’ll try to help. I’m not sure why it happens on my parents Kodi. My own Raspi/LibreELEC never - maybe very rarely - experience the issue. I don’t know if it’s related to the profile switching.

I’m very thankful for your addon, my plex server would be near useless without it, honestly.

Glad to hear that you are enjoying PKC :blush:. I would love to get my hands on some debug logs, that would greatly facilitate bug fixing. See here for more Infos: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

@croneter said:

@thomashm said:

@croneter said:

@thomashm said:
I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

That’s basically already what happens. As far as I can tell, a pms response was changed by plex and PKC now thinks in some rare cases that it got signed out. I hope this will be fixed in the next PKC release

Let me know if you need logs or anything, I’ll try to help. I’m not sure why it happens on my parents Kodi. My own Raspi/LibreELEC never - maybe very rarely - experience the issue. I don’t know if it’s related to the profile switching.

I’m very thankful for your addon, my plex server would be near useless without it, honestly.

Glad to hear that you are enjoying PKC :blush:. I would love to get my hands on some debug logs, that would greatly facilitate bug fixing. See here for more Infos: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

I’ll try. Anything I can search for in the log that might help?

Also, what if I set the Plex server to allow connection without auth from the specific raspberry pi in question? is there a risk of suddenly watching content as “no user”, you think?

@thomashm said:

@croneter said:

@thomashm said:

@croneter said:

@thomashm said:
I’m having a bit of an issue thats hard for me to debug. At my parents house I’m running librelec with pkc on a raspi 3. Several users on it each with ‘seperate’ media info/sources. Sometimes, seemingly random, when a profile is entered, PKC wants to relink PKC on that profile with a plex user. It seems like sometimes it just drops the link. It’s a bit of an issue for my parents.

Couldn’t it be possible to simply manually enter username and password for plex and make PKC remember those thru logouts and reboots?

That’s basically already what happens. As far as I can tell, a pms response was changed by plex and PKC now thinks in some rare cases that it got signed out. I hope this will be fixed in the next PKC release

Let me know if you need logs or anything, I’ll try to help. I’m not sure why it happens on my parents Kodi. My own Raspi/LibreELEC never - maybe very rarely - experience the issue. I don’t know if it’s related to the profile switching.

I’m very thankful for your addon, my plex server would be near useless without it, honestly.

Glad to hear that you are enjoying PKC :blush:. I would love to get my hands on some debug logs, that would greatly facilitate bug fixing. See here for more Infos: How to Report A Bug · croneter/PlexKodiConnect Wiki · GitHub

I’ll try. Anything I can search for in the log that might help?

Also, what if I set the Plex server to allow connection without auth from the specific raspberry pi in question? is there a risk of suddenly watching content as “no user”, you think?

I cannot tell you what you’d find in the log. It’s sufficient though if you capture the bug happening, then simply share the entire log as explained.

I don’t know what would happen, sorry…

I am using PKC it is great. Only trouble :videos/audios from channels don’t play. For example plexpod or canal+.
On Plex web channels are working well