Difference between revisions of "Plex"

From Jon's Wiki
 
Line 10: Line 10:
 
Make sure home users on Plex are disabled otherwise it (currently) doesn't authenticate properly.
 
Make sure home users on Plex are disabled otherwise it (currently) doesn't authenticate properly.
  
Playback from Plex won't work unless you have python-cryptography version 1.1 or better installed. Ubuntu 15.10 ships with 1.0 which contains threading bugs that mean it doesn't work in Kodi 16 since it still insists on still running scripts in Python 2.7 which sucks at Unicode and threading. Python 3 was only just released in December 2008 so you know, you've got to make sure your shit works in the latest software environment, right?
+
== Note for Ubuntu pre 16.04 ==
 +
 
 +
Playback from Plex won't work unless you have python-cryptography version 1.1 or better installed. Ubuntu 15.10 ships with 1.0 which contains threading bugs that mean it doesn't work in Kodi 16, since it runs its scripts in Python 2.7 which sucks at Unicode and threading. Python 3 was only released eight years ago so it's far too soon to upgrade to that.
  
 
  sudo apt-get remove python-cryptography
 
  sudo apt-get remove python-cryptography
 
  sudo apt-get install python-pip python-dev libssl-dev libffi6 libffi-dev
 
  sudo apt-get install python-pip python-dev libssl-dev libffi6 libffi-dev
 
  sudo pip install cryptography
 
  sudo pip install cryptography

Latest revision as of 23:13, 5 September 2016

Plex can be used with Kodi, but it takes a bit of fiddling. This is what I had to do in Ubuntu 15.10 (March 2016).

PleXBMC is more or less abandoned; another project PlexKodiConnect is under active development now, based on the Emby add-on. Download it and its dependency zips and install (System → Add-ons → Install from Zip) in a fresh Kodi instance in this order:

Make sure home users on Plex are disabled otherwise it (currently) doesn't authenticate properly.

Note for Ubuntu pre 16.04

Playback from Plex won't work unless you have python-cryptography version 1.1 or better installed. Ubuntu 15.10 ships with 1.0 which contains threading bugs that mean it doesn't work in Kodi 16, since it runs its scripts in Python 2.7 which sucks at Unicode and threading. Python 3 was only released eight years ago so it's far too soon to upgrade to that.

sudo apt-get remove python-cryptography
sudo apt-get install python-pip python-dev libssl-dev libffi6 libffi-dev
sudo pip install cryptography