PlexBMC (XBMC Add-on to connect to Plex Media Server)

@only1hammy said:
It’s a shame we can’t at least remove unwanted submenus. Some of them don’t seem to work (Recently viewed shows and Unwatched do, while Recently Viewed, Recently Aired, and Recently Added do not).

Every submenu item is working fine here.

@only1hammy said:
You’re right that the thumbnails and backgrounds work for PleXBMC widgets, but they aren’t working when you link directly to specific sections in Kodi mode.

I’ve just checked and everything is ok:

Tgx

@Tgx said:

@only1hammy said:
It’s a shame we can’t at least remove unwanted submenus. Some of them don’t seem to work (Recently viewed shows and Unwatched do, while Recently Viewed, Recently Aired, and Recently Added do not).

Every submenu item is working fine here.

@only1hammy said:
You’re right that the thumbnails and backgrounds work for PleXBMC widgets, but they aren’t working when you link directly to specific sections in Kodi mode.

I’ve just checked and everything is ok:

Tgx

Thanks for testing. I’ll start over with a shiny fresh install. I’m suspecting it’s either because I’m using a janky DSPlayer version of Kodi or because I have to set the Plex server discovery manually to a local IP rather than Auto GDM.

EDIT: So yeah, it seems my problem is keeping myPlex ‘local’ as the machine I run PMS on is behind a VPN. The problems above were hard to diagnose because it would see the server as Local, sync some data, then change to Remote and timeout.

@Tgx Somewhat off-topic but any experience running PMS behind a VPN? I only need to connect locally.

EDIT 2: So I think I’ve managed to route some myPlex IPs away from the VPN. You can do this by editing your OpenVPN config files. Other users have talked about it on this forum. It was a surprise to see Plex use Amazon web hosting :wink: Anyway, seems to be holding sync for the time-being at least. In case it may be of use to someone, these are the lines I added to my .ovpn file:

route 54.229.174.245 255.255.255.255 192.168.1.1
route 52.17.240.145 255.255.255.255 192.168.1.1
route 52.210.15.168 255.255.255.255 192.168.1.1
route 52.210.223.97 255.255.255.255 192.168.1.1
route 52.214.149.31 255.255.255.255 192.168.1.1
route 54.77.213.127 255.255.255.255 192.168.1.1

@Tgx:
Tgx

Hello Tgx I have problems with plexbmc seems after last plexserver update for Debian server plexbmc 4.00 beta 4 stopped working, and it was not able to see the libraries but it seems it was connected to the plex server.

I saw your post about the latest version 4.1 and I used zip function on github to make zipped version.

Github made a zip plugin.video.plexbmc-isengard-helper-merge.zip

When I installed it in kodi 16.1 jarvis, it clearly showed add-on errors and it was not able to start nor to connect to plex server.

After few uninstall and installs (repetitive) and few restarts of Kodi, it successfully started the plugin and I was able to connect to plex server and I got the libraries.
It was very hard to start the plugin I cant find whats the cause.

I successfully streamed video materials but there are errors in kodi.log
I pasted just i bit of same type of errors on pastebin.

Could you help me with this error.

@bocs100

I recall having the same issue because of some python modules not working correctly.
Check your script.module.requests and python cryptography:

http://forum.kodi.tv/showthread.php?tid=306162

Tgx

@Tgx said:
@bocs100

I recall having the same issue because of some python modules not working correctly.
Check your script.module.requests and python cryptography:

Kodi 17 - URL Resolver Failed

Tgx

Ok just to clarify I need to check on the plex server side which is on the Debian server this two issues?
I didn’t had this error with the plexbmc 4.004 beta version.
My Kodi player is on Windows platform, my plex server is on debian platform.

I don’t have url resolver plugin in the Kodi client on windows.

I tried to update cryptography on Debian server and I had issues:

Only on client side. The recent plexbmc version needs a working ssl connection to the server. That’s why the plugin.module.requests and python cryptography are needed. I had this issue with ubuntu. I don’t know if the same applies to Windows

@Tgx said:
Only on client side. The recent plexbmc version needs a working ssl connection to the server. That’s why the plugin.module.requests and python cryptography are needed. I had this issue with ubuntu. I don’t know if the same applies to Windows

What is the solution now for Windows. I dont know why plex changed the server version for Debian why they made it incompatible with plexbmc 4.00 beta 4 which worked like a charm. Now the kodi.log fills in gigabytes with this stupid error because plexbmc 4.1 is filling it.

@Tgx said:
Only on client side. The recent plexbmc version needs a working ssl connection to the server. That’s why the plugin.module.requests and python cryptography are needed. I had this issue with ubuntu. I don’t know if the same applies to Windows

Tgzx did you rewrite the plexbmc.py or is that the original coder?
I see in compassion that someone added import urllib lines
and disabled ignore warning function. Could you rewrite this part and enable ignore for warnings, or the longer route if you can import cryptography
import urllib3
import certifi

http = urllib3.PoolManager(
cert_reqs=‘CERT_REQUIRED’, # Force certificate check.
ca_certs=certifi.where(), # Path to the Certifi bundle.
)

You’re ready to make verified HTTPS requests.

try:
r = http.request(‘GET’, ‘https://example.com/’)
except urllib3.exceptions.SSLError as e:
# Handle incorrect certificate error.

of course you need to implement your system’s root certificates for windows but there should be windows version and linux version. (Someone is trying to get plexbmc.py compatible to both worlds and he is breaking both)
http://urllib3-docs.readthedocs.io/security.html#certifi-with-urllib3

or we go with different route just rewrite code and set ignore for warnings
https://github.com/kennethreitz/requests/issues/2214

Great thing that you rewrote right column displays and now columns were working inside plexbmc.

I wrote those lines regarding urllib3 just to test a solution for this issue, but it didn’t work.
That’s why i disabled them.

Tgx

Seems the code react with the forum features and edit feature is missing on the forum.

@Tgx

One more question I currently use confluence interface with plexmbc 4.1 everything seems solid but one thing get on my nerves I have big movies list and when I’m in a middle or at the end of the list and if I play some move and when I finish with it, on the return in the list it just jump on the begging of the list, same thing is happening if I delete something from the library. How to set to keep the position or to take next entry if current was deleted or removed?

Or do you know for some supper compatible theme that has that feature, and please point me to which repository to get that theme.

Hi All,
Before I start delving into logs and trouble shooting(which I am more than happy to do) can someone confirm if Kodi with Plexbmc will operate successfully on the same PC as the Plex Server is installed?

I cannot get Plexbmc to work correctly on my test setup. It may be a configuration issue or a setup issue or maybe even a hardware problem.
Before installing on my main Intel i3 based media centre PC I have installed Plex server and Kodi on a Dell PowerEdge 830 with a 3.4Ghz Pentium D processor and 2.5Gb ram running 32bit Windows 10. This should be man enough to run both however the processor is running flat out at 100%. (This could be because of lack of hardware acceleration as the graphics is only the built in 64Mb onboard video and windows 10 has loaded the default VGA Driver).

I have the latest build of Plex Media Server 1.5.5.3634 and have downloaded Kodi 17.1. Krypton. I then installed Black Glass Nova from SuperRepo followed by Plexbmc v 3.4.5.
As per the instructions I activated the Add-On in Video Add-Ons and then configured it to look at the Local Host for the PM server location and added my Username and Password. However despite numerous restarts and attempts Kodi cannot connect to the PM Server. Only Channels appears on the crossbar not Music, Photos or Videos.
Only Windows Firewall is active with no other AV with built in firewall. I even got the windows Firewall prompt to allow Kodi through the firewall
Should this configuration work or should I give up and just configure Kodi for local playback and leave PMS to stream content to my other attached devices.
Fozzie

@“Fozzie Bear” said:
Hi All,
Before I start delving into logs and trouble shooting(which I am more than happy to do) can someone confirm if Kodi with Plexbmc will operate successfully on the same PC as the Plex Server is installed?

I cannot get Plexbmc to work correctly on my test setup. It may be a configuration issue or a setup issue or maybe even a hardware problem.
Before installing on my main Intel i3 based media centre PC I have installed Plex server and Kodi on a Dell PowerEdge 830 with a 3.4Ghz Pentium D processor and 2.5Gb ram running 32bit Windows 10. This should be man enough to run both however the processor is running flat out at 100%. (This could be because of lack of hardware acceleration as the graphics is only the built in 64Mb onboard video and windows 10 has loaded the default VGA Driver).

I have the latest build of Plex Media Server 1.5.5.3634 and have downloaded Kodi 17.1. Krypton. I then installed Black Glass Nova from SuperRepo followed by Plexbmc v 3.4.5.
As per the instructions I activated the Add-On in Video Add-Ons and then configured it to look at the Local Host for the PM server location and added my Username and Password. However despite numerous restarts and attempts Kodi cannot connect to the PM Server. Only Channels appears on the crossbar not Music, Photos or Videos.
Only Windows Firewall is active with no other AV with built in firewall. I even got the windows Firewall prompt to allow Kodi through the firewall
Should this configuration work or should I give up and just configure Kodi for local playback and leave PMS to stream content to my other attached devices.
Fozzie

Yes, same machine server/client should of course work.

Did you download the correct version of PlexBMC from Tgx’s repo? Try the latest version from here: GitHub - Tgxcorporation/plugin.video.plexbmc: PleXBMC for KODI

Thanks only1hammy,
I have downloaded and installed v3.61 (I could not get 4.0. Beta4 to install at all!!) and I now get all the libraries on the Xbar. However none of the sub links below the Xbar (Recently released, Recently added, On Deck etc) work. There are two links above the ribbon Recently Added and Recently Viewed that appear to work and bring back thumbnails but I get a Plexbmc error referring to the log each time I try and launch a film. I don’t want to install this on my media centre PC until its running correctly. I think hardware may be an issue as the processor is running at 100% all the time and everything is laggy. I need to find another box with windows 8.1 or 10 on which has a good graphics card so I can use Storage Spaces to create a single volume from several disks.
As an aside do skins such as Amber, Black Glass Nova etc still require you to have a dummy Kodi library as detailed here by Hippojay https://forums.plex.tv/discussion/24556/plexbmc-specific-skins/p1 ???

@Tgx said:
I wrote those lines regarding urllib3 just to test a solution for this issue, but it didn’t work.
That’s why i disabled them.

Tgx

I see in the latest build you returned the progress lines is that better for Kodi 17 or 16?

Hi all,
recently i installed plex server on my windows 10 pc and installed the plexbmc addon on my raspberry pi (librelec-kodi krypton) and on my other windows 10 pc (kdoi krypton).
All is working; i see my media files and can browse them, the only thing that i can’t see is a preview image when browsing media files (see attached screenshot). This is the same for the plexbmc addon on my windows pc and on my raspberry pi system. I tried to change the skin but that only results in a different icon instead of a preview image. When i browse with a different device to plex.tv/web the video preview image is ok. Also in my plex server the video preview image is showing so i’m guessing it’s a kodi setting or a addon setting that i’m overlooking. Thx !

@Tgx Thanks for everything on Plexbmc.

Is there a way ‘cast’ option can be made working on Kodi Krypton?

This is the only way, I can make my RPi 3 a full server (PMS) and full client (Plexbmc) - all in one solution on Raspbian. But ‘Cast’ option is no longer working as support for Plexbmc Helper Script have to be discontinued in one of the recent builds due to stability issues.

I tried v4 beta1, which had support for Helper Script, but it didn’t played back anything and kept throwing errors.

Error log:
16:21:08.513 T:16280 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<–
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type ‘exceptions.KeyError’>
Error Contents: (‘type’,)
Traceback (most recent call last):
File “C:\Users\Prafulla\AppData\Roaming\Kodi\addons\plugin.video.plexbmc\default.py”, line 13, in
plexbmc.start_plexbmc()
File “C:\Users\Prafulla\AppData\Roaming\Kodi\addons\plugin.video.plexbmc\resources\lib\plexbmc.py”, line 4258, in start_plexbmc
playLibraryMedia(param_url,force=force, override=play_transcode)
File “C:\Users\Prafulla\AppData\Roaming\Kodi\addons\plugin.video.plexbmc\resources\lib\plexbmc.py”, line 1122, in playLibraryMedia
if force and streams[‘type’] == “music”:
KeyError: (‘type’,)
–>End of Python script error report<–

Are you planning to added this support back?

@eprafulla said:
@Tgx Thanks for everything on Plexbmc.

Is there a way ‘cast’ option can be made working on Kodi Krypton?

You can get the helper back. You have just to remove the “#” symbol from every line in the file “helper.py” in the “plugin.video.plexbmc” folder and then save the file.

However this will make Kodi hang on exit…

Or switch to PlexKodiKonnect. It’s working fairly well.

Tgx

i noticed all small issue using the amber skin with the vertical menu. when you select a tv show in the “on deck” in the tv shows shelf, in all past versions of plexbmc it it would show the episode and the tv show names under the poster. with the latest version it shows the tv show name twice.

Thanks. Will try and report back my experience. I never plan to exit Kodi, so hang on exit is not a problem.

Here is what I am trying:

  1. Install raspian on pi3, followed by PMS.
  2. Install Kodi + Plexbmc + Helper Script OR PlexKodiKonnect
  3. Have it running headless, will all flac collection coming in from NAS
  4. No transcoding, no display… just plain lossless music via remote play from Plex mobile clients via casting.
  5. Audio to be routed via HiFiBerry Pro + to my NAD amplifier
  6. Bliss!

@Tgx said:

@eprafulla said:
@Tgx Thanks for everything on Plexbmc.

Is there a way ‘cast’ option can be made working on Kodi Krypton?

You can get the helper back. You have just to remove the “#” symbol from every line in the file “helper.py” in the “plugin.video.plexbmc” folder and then save the file.

However this will make Kodi hang on exit…

Or switch to PlexKodiKonnect. It’s working fairly well.

Tgx