Plex integration in Kodi done right
Find a file
2016-05-31 08:06:42 +02:00
resources Remove emby references 2016-05-31 08:06:42 +02:00
.gitignore some more small fixes 2015-03-18 18:54:30 +01:00
addon.xml Version bump 2016-05-29 20:07:36 +02:00
changelog.txt Version bump 2016-05-29 20:07:36 +02:00
contextmenu.py Remove emby references 2016-05-31 08:06:42 +02:00
CONTRIBUTING.md Update Contributing.md 2016-04-16 11:40:26 +02:00
default.py Remove emby references 2016-05-31 08:06:42 +02:00
fanart.jpg initial commit - first version 2015-03-13 22:24:59 +01:00
icon.png Plex Icon 2016-01-22 16:48:07 +01:00
LICENSE Initial commit 2015-03-13 22:21:57 +01:00
LICENSE.txt initial commit - first version 2015-03-13 22:24:59 +01:00
README.md Update readme 2016-05-16 15:26:24 +02:00
service.py Remove emby references 2016-05-31 08:06:42 +02:00

Download the Kodi Repository

Download

The easiest way to install PlexKodiConnect (PKC) is via its dedicated PKC Kodi repository (we cannot use the official Kodi repository as PKC messes with Kodi's databases). See the installation guideline.

Donations

I'm not in any way affiliated with Plex. Thank you very much for your small donation via ko-fi.com and PayPal if you appreciate PlexKodiConnect.
Full disclaimer: I will see your name and address on my PayPal account. Rest assured that I will not share this with anyone.

![Download](https://az743702.vo.msecnd.net/cdn/kofi1.png?v=a|alt=Buy Me a Coffee)

###IMPORTANT###

  1. If your are using a low CPU device like a raspberry pi or a CuBox, PKC might be instable or crash during initial sync. Lower the number of threads in the PKC settings under Sync Options:
    • Limit artwork cache threads: 5
    • Limit download sync threads: 1
      Don't forget to reboot Kodi
  2. If you post logs, your Plex tokens might be included. Be sure to double and tripple check for tokens before posting any logs anywhere by searching for token
  3. Compatibility: PKC is currently not compatible with Kodi's Video Extras plugin. Deactivate Video Extras if trailers/movies start randomly playing.

Checkout the Wiki

The Wiki will hopefully answer all your questions

Please Post Your Bugs on Github

And not on the plex.tv forums. I can't find anything there...

Welcome to PlexKodiConnect

Connect your Plex Media Server to a Kodi Front End

PlexKodiConnect combines the best of Kodi - ultra smooth navigation, beautiful UIs and playback of any file under the sun, and Plex to manage all your media without lifting a finger.

What does it do?

With other addons for Kodi there are a couple of issues:

  • 3rd party addons such as NextAired, remote apps etc. won't work
  • Slow speed: when browsing the data has to be retrieved from the server. Especially on slower devices this can take too much time.
  • You can only use special Kodi skins
  • All kinds of workarounds are needed to get the best experience on Kodi clients

This addon synchronizes your media on your Plex server to the native Kodi database. Because we use the native Kodi database with this new approach the above limitations are gone!

  • You can browse your media full speed, images are cached
  • All other Kodi addons will be able to "see" your media, thinking it's normal Kodi stuff
  • Use any Kodi skin you want!

Installation in Kodi

Check out the Wiki for installation instructions

What is currently supported?

Currently these features are working:

  • Movies and Home Videos
  • TV Shows
  • Music
  • Plex Watch Later / Plex It!
  • Full sync at first run, then periodic delta syncs every 60min (customizable)
  • Instant watched state/resume status sync: This is a 2-way synchronisation. Any watched state or resume status will be instantly (within seconds) reflected to or from Kodi and the server
  • Plex Companion: fling Plex media (or anything else) from other Plex devices to PlexKodiConnect
  • Automatically download more artwork from Fanart.tv, just like the Kodi addon Artwork Downloader
    • Banners
    • Disc art
    • Clear logos
    • Landscapes
    • Clear art
    • Extra fanart backgrounds
  • Play directly from network paths (e.g. "\\server\Plex\movie.mkv" or "smb://server/Plex/movie.mkv") instead of slow HTTP (e.g. "192.168.1.1:32400"). You have to setup all your Plex libraries to point to such network paths. Do have a look at the wiki here
  • Plex Transcoding

Known Issues:

Solutions are unlikely due to the nature of these issues

  • Plex Music when using Addon paths instead of Native Direct Paths: Kodi tries to scan every(!) single Plex song on startup. This leads to errors in the Kodi log file and potentially even crashes. See the Github issue for more details
  • Plex Music when using Addon paths instead of Native Direct Paths: You must have a static IP address for your Plex media server if you plan to use Plex Music features
  • If something on the PMS has changed, this change is synced to Kodi. Hence if you rescan your entire library, a long PlexKodiConnect re-sync is triggered
  • External Plex subtitles (in separate files, e.g. mymovie.srt) can be used, but it is impossible to label them correctly and tell what language they are in. However, this is not the case if you use direct paths

Background Sync: The Plex Server does not tell anyone of the following changes. Hence PKC cannot detect these changes instantly but will notice them only on full/delta syncs

  • Toggle the viewstate of an item to (un)watched outside of Kodi
  • Changing details of an item, e.g. replacing a poster

However, some changes to individual items are instantly detected, e.g. if you match a yet unrecognized movie.

Known Bugs:

What could be in the pipeline for future development?

  • Playlists
  • Pictures
  • Music Videos
  • Automatic updates
  • Simultaneously connecting to several PMS
  • TV Shows Theme Music (ultra-low prio)

Important note about MySQL database in kodi

The addon is not (and will not be) compatible with the MySQL database replacement in Kodi. In fact, PlexKodiConnect takes over the point of having a MySQL database because it acts as a "man in the middle" for your entire media library.

Important note about user collections/nodes

Plex has the ability to create custom libraries for your Media, such as having a separate folder for your "Kids Movies" etc. In Kodi this isn't supported, you just have "movies" or "tvshows". But... Kodi let's you create your own playlists and tags to get this same experience. During the sync the foldernode from the Plex server is added to the movies that are imported. In Kodi you can browse to Movie library --> tags and you will have a filtered result that points at your custom node. If you have a skin that let's you create any kind of shortcut on the homescreen you can simply create a shortcut to that tag. Another possibility is to create a "smart playlist" with Kodi and set it to show the content of a certain tag.

Credits