PlexKodiConnect: Kodi Plex Integration Done Right

When you downgrade from 2.5.x to 2.4.x, be sure to downgrade the 2 helper add-ons plugin.video.plexkodiconnect.movies and plugin.video.plexkodiconnect.tvshows to 2.0.5 I think it was.

@croneter, did that my friend, still have the exit issue but CPU use is down. I will live with it for now and see how you go with the new versions, Last I saw you were at 2.5.6 i think. All else fails delete pkc and kodi and start fresh on the NAS.

If Kodi does not exit correctly, that’s probably due to you using add-on paths & music. See here: Kodi not shutting down, many errors in Kodi log file, large Kodi log file · Issue #14 · croneter/PlexKodiConnect · GitHub

@croneter. Prior to that update system was fine, no changes. Well you will be happy to know, I am any way :stuck_out_tongue:. That after disabling Artwork Downloader adding Artwork Beef and then reinstalling the latest versions of the two dependencies and then latest PKC all is working fine and shutting down as well. Must have just been my damn luck. thanks for listening to my ramblings

So whats the deal with artwork not fully loading, even on the add-ons page it doesn’t load all the artwork for the add-ons.

My guess is that this is caused by Kodi caching artwork. There’s a TON in the beginning

After having issues with 2.5.x I downgraded to pkc 2.4.11 with the 2.05 help services and kodi 18 RC1 and I don’t get art work showing up for movies and TV shows. I reset the kodi db a number of times and no fix. Any idea for something else to try? thanks

edit: of course as soon as I post this i fixed it. I had to turn off SSL under Connection > Enable HTTPS in pkc settings.

In case anyone is using the latest Kodi nightlies there was a PR merged a few hours ago that changed the Kodi DB version number so you’ll have to manually update it here

3 Likes

I keep getting a plexkodiconnect connection error during playback or movies and shows.
This is the only time it seems to happen.
Is this a known thing? On the latest beta.

I’m having issues with content not syncing fully after updating to beta 2.5.5. Did notice that if a new episode is added to the folder, it’ll sync back the missing seasons/episodes

2.5.x is beta and is apparently a big change in how PKC works. There are some issues with it and I reverted to 2.4.11 and 2.0.5 movies/tv show helpers since it continues to work fine.

If you want to help you can post your debug logs. (croneter may have enough logs already)

Post the logs in this thread:

1 Like

Jupp, got enough logs already. Just need time to code…

3 Likes

@croneter. An interesting thing I discovered may be related. I was not experiencing the Error in Library Sync, I did have the missing items though and Kodi and now hanging on exit, neither of which happened before. I was looking through the settings and turned off “would like to download additional fanartoption”. I then was experiencing the Error Library Sync at playback. Turn it back on and the error goes away. I also notice in the advanced section it says (greyed out) that sync on both lines is completed NO…Hope this helps, haven’t added logs as you have enough already

What is the main reason for PKC not getting resume position correct?

@Eddie_Strike
Me not having enough time to polish the new beta version

1 Like

Have you ever checked out MrMC? Their communication method for the Plex plugin (not PfK addon) seems pretty flawless, almost as if it’s an official plex app - never any resume issues - instant playback every time. Would be sick if you could get PKC working like that! :wink:

Big one…

Changelog

version 2.5.6 (beta only):

  • Fix many items not getting synced
  • Fix episodes not being synced to due a missing season
  • Fix some very few items not being synced
  • Fix ValueError during sync due to missing Plex timestamp
  • Fix resume for episodes for add-on paths
  • Fix movies not showing up on switching PMS
  • Finish full syncs during playbacks, don’t start new ones
  • Fix AttributeError when a playlist disappeared
  • Close sync dialog if video playback starts
  • Don’t show sync messages while Kodi is playing something
  • Only marking full sync as successful if that is indeed the case
  • Optimize code

Edit - please manually reset your Kodi database in the PKC settings under Advanced

7 Likes

The beta should be pretty stable now. Please keep reporting bugs!

Changlelog

version 2.5.7 (beta only):

  • WARNING: You will need to reset the Kodi database!
  • Increase timeout for database connections
  • Fix music DB not being wiped on database reset
  • Improve Plex playQueue resiliance
4 Likes

@croneter Playback still crashing for me. Dumped some more logs for you.

Which Kodi RC version do you recomend using for new PKC builds?