PlexKodiConnect: Kodi Plex Integration Done Right

Changelog

version 2.12.1 (beta only):

  • Fix PKC shutdown on Kodi profile switch
  • Fix Kodi content type for images/photos
  • Added support for custom set of safe characters when escaping paths (thanks @geropan)
  • Revert “Don’t allow spaces in devicename”
  • Fix sync dialog showing in certain cases even though user opted out

@jaydash
You got some errors that seem unrelated to PKC:

DEBUG: Skin Helper Service --> MainModule called with parameters: {'action': 'setkodisetting', 'setting': 'lookandfeel.skincolors', 'value': 'SKINDEFAULT'}
ERROR: JSONRPC: Failed to parse '{"jsonrpc":"2.0", "id":1, "method":"Settings.SetSettingValue",            "params":{"setting":"lookandfeel.skincolors","value":SKINDEFAULT}}'
...
...
DEBUG: JSONRPC: Value does not match any of the enum values in type
DEBUG: JSONRPC: Array element at index 6 does not match in type properties
DEBUG: Metadata and Artwork module --> {"error":{"code":-32602,"data":{"method":"AudioLibrary.GetAlbums","stack":{"message":"array element at index 6 does not match","name":"Item.Fields.Base","property":{"message":"Received value does not match any of the defined enum values","type":"string"},"type":"array"}},"message":"Invalid params."},"id":1,"jsonrpc":"2.0"}
DEBUG: Metadata and Artwork module --> {'params': {'filter': {'and': [{'operator': 'is', 'field': 'album', 'value': u'Wood'}, {'operator': 'is', 'field': 'artist', 'value': u'Widespread Panic'}]}, 'properties': ['title', 'fanart', 'thumbnail', 'genre', 'displayartist', 'artist', 'genreid', 'musicbrainzalbumartistid', 'year', 'rating', 'artistid', 'musicbrainzalbumid', 'theme', 'description', 'type', 'style', 'playcount', 'albumlabel', 'mood', 'dateadded']}, 'jsonrpc': '2.0', 'method': 'AudioLibrary.GetAlbums', 'id': 1}

Have you tried resetting the Kodi database in the PKC settings under Advanced? (hitting YES, then NO)

Can’t really see anything else. So you’re experiencing video AND songs “skipping”? Could you be more specific? Could it be a problem with your network?

No. PKC being able to resume a video is a nasty, nasty hack that had to be tailored for Kodi 18. Please switch to Kodi 18.

Opened a new issue on Github: PKC changes Plex default subtitles · Issue #1191 · croneter/PlexKodiConnect · GitHub

How do, absolutely love this add on, fantastic!

One thing I’ve noticed is that when remote users are watching films off my plex, when my local in house users log into KODI that has plexkodiconnect running under Movies In Progress are listed the films being watched remotely by other users.

Is this a known issue?

Thank you for taking a look! But I’ve got no idea what those errors refer to or how to dig into that, haha… but I’ll try

To answer your questions:

Yes, I’ve tried resetting the Kodi database in PKC settings hitting YES and then NO.

To be more specific: movies and TV load up fine, but at seemingly random intervals stop and cache before proceeding; choosing an album to play, it queues fine and then some random amount of time/# of songs later the sound starts dropping out completely, and it’s not repeatable -start a track or video over and it won’t happen in the same place.

Totally could be a network issue I guess? I’m just at a bit of a loss on how to troubleshoot it all! To start I set up a portable Kodi install and installed PKC pointing to the same Plex Server with no other addons and got the same results. The network seems generally healthy… I’m not having issues streaming movies or music on other devices here or remotely.

Any pointers or advice are welcome… and if it’s a lost cause I appreciate the time you’ve already taken!

No, that’s not a known issue. Can you please be more specific as to what exactly happens?

I’m very sorry to tell you that it is extremely likely NOT a PKC issue. PKC is all about telling Kodi what to play. Once this is done, it’s all up to Kodi and the Plex Media Server. Since playback initiates just fine but you suddenly run into buffering issues, this is most likely a network issue.

Please check the Kodi forums on how to handle this. Using LAN and not a WIFI being step 1.

From the PKC side you could opt to force transcode videos to lower quality. Thus you’d not tax your network as much…

Ok thanks, video on my shield & firetv just don’t play as good on the new kodi, not sure why. or i would use it. it skips too. maybe newer streaming boxes kodi is made for.

I’m using the nVidia Shield Pro with PKC (latest stable version) and Kodi 18. I got through the PKC setup and from within PKC I can see my media and even play music. However, the Kodi database is not being sync’d so I have no media in Kodi. What am I doing wrong? I tried a manual database sync to no avail.

Make sure you enable sync for at least one library. Do that in the PKC settings under any, first setting Choose which Plex library to sync

Thanks for the tip, but my settings screen is blank with “no categories available”.

No idea what you mean - could you share a screenshot?

Here you go.

Well, something is off :laughing:. On the Kodi side though. Try to completely delete the PKC add-on, then reinstall. And use Kodi 18 as PKC is not compatible with 19

I change these settings in my advancedsettings.xml file in kodi and every time I start PKC it resets. How do I make the changes stick?

 <video>
    <playcountminimumpercent>90</playcountminimumpercent>
    <ignoresecondsatstart>60</ignoresecondsatstart>
    <ignorepercentatend>10</ignorepercentatend>
  </video>

You can’t, PKC sets them to mimick Plex behavior. Did you change these settings on the Plex side as well?

Hi,

First, thx for this incridibly great add-on :slight_smile:

I have a question: I currently sync seven plex playlists and two of them have a movie directory in common (I don’t want to go into useless details), I use direct paths. Everything works perfectly except that Kodi shows twice the same movies concerned by the shared directory (as if I had 2 of them).

is there a way to avoid this ? (except removing one of the playlist)

Thx in advance

I don’t quite understand. Could you please share a Screenshot?

Sure !

As you can see, there are twice 1917 movies because it is in 2 different playlists.