# PlexKodiConnect: Kodi Plex Integration Done Right

**URL:** <https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555>\
**Category:** Apps & Creations\
**Tags:** other-third-party, other-dev\
**Created:** [March 3, 2016, 4:15pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555 "2016-03-03T16:15:43Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![croneter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/croneter/32/193711_2.png) [@croneter](https://forums.plex.tv/u/croneter)\
**Post date:** [March 3, 2016, 4:15pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/1 "2016-03-03T16:15:43Z")

</div>

PlexKodiConnect let’s you use Kodi as a player with Plex as a backend. Integration done right 😉. See the GitHub project page for details:

> **[GitHub - croneter/PlexKodiConnect: Plex integration in Kodi done right](https://github.com/croneter/PlexKodiConnect)**
>
> Plex integration in Kodi done right

---

<div class="post-metadata">

**Author:** ![croneter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/croneter/32/193711_2.png) [@croneter](https://forums.plex.tv/u/croneter)\
**Post date:** [March 3, 2016, 4:17pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/2 "2016-03-03T16:17:11Z")

</div>

Some random screenshots using the latest Kodi Titan skin. **You can customize pretty much anything with any Kodi skins**

For more screenshots, see [the wiki on Github](https://github.com/croneter/PlexKodiConnect/wiki/Some-PKC-Screenshots).

---

<div class="post-metadata">

**Author:** ![hstamas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hstamas/32/2006_2.png) [@hstamas](https://forums.plex.tv/u/hstamas)\
**Post date:** [March 3, 2016, 4:50pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/3 "2016-03-03T16:50:29Z")

</div>

I know your still really early in development but wanted to send you a big THANKS for doing this. Really looking forward to this working as I have never been able to get Emby running successfully and really didnt want to leave Plex behind anyway.

Couldn’t help myself and tried the beta out just now on a Windows 10 PC running Jarvis 16.0. Install goes fine but once the sync starts I get an error that the thread has crashed and I should restart Kodi. Restarting results in the same error.

---

<div class="post-metadata">

**Author:** ![bigbadrabbit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigbadrabbit/32/343152_2.png) [@bigbadrabbit](https://forums.plex.tv/u/bigbadrabbit)\
**Post date:** [March 3, 2016, 5:01pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/4 "2016-03-03T17:01:21Z")

</div>

Same here.  
Followed the instructions on git but after the welcome message i also get the error “Library sync thread has crashed…”

I’m on Mac OS 10.11.3, running Kodi 16 RC (Jarvis).

EDIT:  
Also did a complete fresh install of Kodi 16 RC. Same error.

---

<div class="post-metadata">

**Author:** ![KJKingJ](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kjkingj/32/88292_2.png) [@KJKingJ](https://forums.plex.tv/u/KJKingJ)\
**Post date:** [March 3, 2016, 5:06pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/5 "2016-03-03T17:06:23Z")

</div>

Same here, here’s the relevant lines from Kodi’s log;

`16:59:26 T:3856 NOTICE: PlexKodiConnect LibrarySync -> run_internal : ---===### Starting LibrarySync ###===--- 16:59:26 T:3856 NOTICE: PlexKodiConnect LibrarySync -> run_internal : Db version: 16:59:26 T:3856 NOTICE: PlexKodiConnect LibrarySync -> run_internal : Initial start-up full sync starting 16:59:26 T:3856 NOTICE: EMBY -> fullSync : Toggling screensaver: {"id":0,"jsonrpc":"2.0","result":true} 16:59:29 T:3856 ERROR: Exception in thread Thread-5: Traceback (most recent call last): File "C:\Program Files (x86)\Kodi\system\python\Lib	hreading.py", line 810, in __bootstrap_inner self.run() File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1116, in run self.run_internal() File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 1195, in run_internal librarySync = self.fullSync(manualrun=True) File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\utils.py", line 35, in wrapper result = func(*args, **kwargs) File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 376, in fullSync if not self.maintainViews(): File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\librarysync.py", line 544, in maintainViews "{server}/library/sections") File "C:\Users\Kodi\AppData\Roaming\Kodi\addons\plugin.video.plexkodiconnect\resources\lib\downloadutils.py", line 204, in downloadUrl url = url.replace("{UserId}", self.userId) TypeError: expected a character buffer object`

This was on a fresh install of Kodi 16.

To echo those above, many thanks for working on getting this plugin ported over. It worked great with Emby, so having it work with Plex as well will be fantastic!

---

<div class="post-metadata">

**Author:** ![croneter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/croneter/32/193711_2.png) [@croneter](https://forums.plex.tv/u/croneter)\
**Post date:** [March 3, 2016, 5:45pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/6 "2016-03-03T17:45:56Z")

</div>

Wierd, I tested from scratch and didn’t catch that. Did u try rebooting? You guys using Plex Home?

I will look into it.

---

<div class="post-metadata">

**Author:** ![hstamas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hstamas/32/2006_2.png) [@hstamas](https://forums.plex.tv/u/hstamas)\
**Post date:** [March 3, 2016, 6:02pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/7 "2016-03-03T18:02:03Z")

</div>

> @croneter said:  
> Wierd, I tested from scratch and didn’t catch that. Did u try rebooting? You guys using Plex Home?
> 
> I will look into it.

Single user setup here. Restarted and still getting the error. Here is my part of the log:

12:54:16 T:228 NOTICE: PlexKodiConnect LibrarySync → —===### Starting LibrarySync ###===—  
12:54:16 T:228 NOTICE: PlexKodiConnect LibrarySync → Db version:  
12:54:16 T:228 NOTICE: PlexKodiConnect LibrarySync → Initial start-up full sync starting  
12:54:16 T:228 NOTICE: EMBY → Toggling screensaver: {“id”:0,“jsonrpc”:“2.0”,“result”:true}  
12:54:19 T:228 ERROR: Exception in thread Thread-5:  
Traceback (most recent call last):  
File “C:\Program Files (x86)\Kodi\system\python\Lib hreading.py”, line 810, in \_\_bootstrap\_inner  
self.run()  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\librarysync.py”, line 1116, in run  
self.run\_internal()  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\librarysync.py”, line 1195, in run\_internal  
librarySync = self.fullSync(manualrun=True)  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\utils.py”, line 35, in wrapper  
result = func(\*args, \*\*kwargs)  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\librarysync.py”, line 376, in fullSync  
if not self.maintainViews():  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\librarysync.py”, line 544, in maintainViews  
“{server}/library/sections”)  
File “C:\Users\hstam\AppData\Roaming\Kodi\addons\PlexKodiConnect-1.0.0\resources\lib\downloadutils.py”, line 204, in downloadUrl  
url = url.replace(“{UserId}”, self.userId)  
TypeError: expected a character buffer object

---

<div class="post-metadata">

**Author:** ![bigbadrabbit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigbadrabbit/32/343152_2.png) [@bigbadrabbit](https://forums.plex.tv/u/bigbadrabbit)\
**Post date:** [March 3, 2016, 6:02pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/8 "2016-03-03T18:02:05Z")

</div>

Yes, Plex Home is activated.

---

<div class="post-metadata">

**Author:** ![croneter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/croneter/32/193711_2.png) [@croneter](https://forums.plex.tv/u/croneter)\
**Post date:** [March 3, 2016, 6:05pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/9 "2016-03-03T18:05:25Z")

</div>

> @bigbadrabbit said:  
> Yes, Plex Home is activated.

Several users?

---

<div class="post-metadata">

**Author:** ![bigbadrabbit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigbadrabbit/32/343152_2.png) [@bigbadrabbit](https://forums.plex.tv/u/bigbadrabbit)\
**Post date:** [March 3, 2016, 6:18pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/10 "2016-03-03T18:18:00Z")

</div>

Mmh… No. Just one user (me) for now. Could that be the problem?

EDIT:  
So i just created a second user for Plex Home. Now i’m prompted to login but cannot get pass this:

“Could not log in user xxxxx. Please try again”  
Not able to login with any username now and stuck with a loop of the login pop up.

---

<div class="post-metadata">

**Author:** ![saitoh183](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/saitoh183/32/102303_2.png) [@saitoh183](https://forums.plex.tv/u/saitoh183)\
**Post date:** [March 3, 2016, 6:20pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/11 "2016-03-03T18:20:42Z")

</div>

I will give it a try

---

<div class="post-metadata">

**Author:** ![mini.PLEX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mini.plex/32/2986_2.png) [@mini.PLEX](https://forums.plex.tv/u/mini.PLEX)\
**Post date:** [March 3, 2016, 8:16pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/12 "2016-03-03T20:16:23Z")

</div>

thanks for the hard work @croneter…

Mac mini, PMS & Kodi running on the same machine with static IP and multiple home users.

issues I am experiencing…

couldn’t install on Jarvis from zip, dependancies not met etc.

tried on Isengard (can’t seem to even find an old version of Helix to test)

found an old Isengard version from kodi website and synced one of my home users (not the main admin account)… PlexKodiConnect started 1st sync run got to roughly 100 movies and stopped, have to force quite Kodi to relaunch

2nd, 3rd, 4th, 5th, runs (and on) it syncs anywhere between 10 - 20 movies at a time and then freezes (at least I think its freezing, the sync progress bar doesn’t progress) so I force quite to see the added movies show up.

any hints, or any settings I should try changing?

like I said, many thanks for your obvious hard work… respect!

Edit: syncing 1000 movies after 10-15 restarts I’m up to letter ‘B’ and the processed movies have slowed to 1 movie per restart.

---

<div class="post-metadata">

**Author:** ![mini.PLEX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mini.plex/32/2986_2.png) [@mini.PLEX](https://forums.plex.tv/u/mini.PLEX)\
**Post date:** [March 3, 2016, 8:44pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/13 "2016-03-03T20:44:34Z")

</div>

no idea if this is relevant… just a hunch here… I have noticed that the sync stops (crashes) when a movie title with ‘:’ is in the title.

Edit: yup, convinced stops syncing every time a ‘colon’ is present within a movie title.

---

<div class="post-metadata">

**Author:** ![hstamas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/hstamas/32/2006_2.png) [@hstamas](https://forums.plex.tv/u/hstamas)\
**Post date:** [March 3, 2016, 8:51pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/14 "2016-03-03T20:51:43Z")

</div>

Are you saying that the file name itself has a colon in it? I didnt think that was allowed or even possible on a Mac?

> @mini.PLEX said:  
> no idea if this is relevant… just a hunch here… I have noticed that the sync stops (crashes) when a movie title with ‘:’ is in the title.
> 
> Edit: yup, convinced stops syncing every time : is present within a movie title.

---

<div class="post-metadata">

**Author:** ![mini.PLEX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mini.plex/32/2986_2.png) [@mini.PLEX](https://forums.plex.tv/u/mini.PLEX)\
**Post date:** [March 3, 2016, 9:18pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/15 "2016-03-03T21:18:41Z")

</div>

> @hstamas said:  
> Are you saying that the file name itself has a colon in it? I didnt think that was allowed or even possible on a Mac?
> 
> > @mini.PLEX said:  
> > no idea if this is relevant… just a hunch here… I have noticed that the sync stops (crashes) when a movie title with ‘:’ is in the title.
> > 
> > Edit: yup, convinced stops syncing every time : is present within a movie title.

correct it is not possible to give a ‘file name’ a colon on a mac, what I meant to refer to was the PMS titles…

if there is a colon present in a movie title within a Plex Media Server movie title the sync process stops and I have to force quite Kodi relaunch and then it carries on until it meets the next movie title with a colon then it stops syncing again.

The Hobbit movies were a nightmare, I found a lot of dragons! - lol. Had to restart kodi 3x to get past the 3 movies…

The Hobbit: An Unexpected Journey  
The Hobbit: The Desolation of Smaug  
The Hobbit: The Battle of the Five Armies

\*note: the movies with a colon are being added, (once relaunched and continued)

---

<div class="post-metadata">

**Author:** ![croneter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/croneter/32/193711_2.png) [@croneter](https://forums.plex.tv/u/croneter)\
**Post date:** [March 3, 2016, 9:28pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/16 "2016-03-03T21:28:14Z")

</div>

Thanks for your time and nerves for testing 🙂

I do have colons : in my movie titles; works fine. Does it help if you turn off “Show syncing Progress” in the Settings?

---

<div class="post-metadata">

**Author:** ![mini.PLEX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mini.plex/32/2986_2.png) [@mini.PLEX](https://forums.plex.tv/u/mini.PLEX)\
**Post date:** [March 3, 2016, 9:35pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/17 "2016-03-03T21:35:02Z")

</div>

> @croneter said:  
> Thanks for your time and nerves for testing 🙂
> 
> I do have colons : in my movie titles; works fine. Does it help if you turn off “Show syncing Progress” in the Settings?

no afraid not… turning off “show syncing progress” does not appear to have stopped the colon issue I am experiencing.

ps. happy to assist.

Edit: on a mac, running latest PlexPass PMS… grabbed the last Isengard release… is there any known issues running Jarvis with PlexKodiConnect? I only ask as I could not install any of the zips due to dependancy issues

---

<div class="post-metadata">

**Author:** ![mini.PLEX](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/mini.plex/32/2986_2.png) [@mini.PLEX](https://forums.plex.tv/u/mini.PLEX)\
**Post date:** [March 3, 2016, 9:49pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/18 "2016-03-03T21:49:34Z")

</div>

just spotted for the first time the sync actually processed/passed a movie with a colon without freezing the sync process. intrigued I looked into the movie from PMS and noticed that the ‘sort title’ for the said movie did not have a colon in the sort name, but did in the ‘title’ …

…so it would seem that maybe its the ‘sort titles’ rather than the ‘title’ that is creating havoc for me. (again may be irrelevant)

---

<div class="post-metadata">

**Author:** ![bigbadrabbit](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigbadrabbit/32/343152_2.png) [@bigbadrabbit](https://forums.plex.tv/u/bigbadrabbit)\
**Post date:** [March 3, 2016, 9:49pm UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/19 "2016-03-03T21:49:40Z")

</div>

> @mini.PLEX said:  
> Edit: on a mac, running latest PlexPass PMS… grabbed the last Isengard release… is there any known issues running Jarvis with PlexKodiConnect? I only ask as I could not install any of the zips due to dependancy issues

Yes - it’s not working! :(( At least for me…

---

<div class="post-metadata">

**Author:** ![Xyrgh](https://avatars.discourse-cdn.com/v4/letter/x/439d5e/32.png) [@Xyrgh](https://forums.plex.tv/u/Xyrgh)\
**Post date:** [March 4, 2016, 1:55am UTC](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555/20 "2016-03-04T01:55:35Z")

</div>

This is great! I’m currently torn between emby server and Plex server. The main reason being, the PlexBMC addon is quite laggy. My understanding is the difference between emby for kodi and plexbmc is that emby for kodi caches the artork locally (so it utilises the local client’s sqlite database).

Is this the same for PlexKodiConnect? If so, wow, this is exactly what I want. I’m going to hold off from trying this out for now until it’s developed more, but this very addon could make me switch back to Plex.

[Next page](https://forums.plex.tv/t/plexkodiconnect-kodi-plex-integration-done-right/137555.md?page=2)
