Kodi Community Forum
PleXBMC add-on / skin integration support - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Amber (https://forum.kodi.tv/forumdisplay.php?fid=203)
---- Thread: PleXBMC add-on / skin integration support (/showthread.php?tid=175995)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22


RE: PleXBMC add-on support - pecinko - 2014-01-05

Amber 1.3.1 released (lots of visual improvements)
PleXBMC 3.3.9 released (improvements + try to fix MyPlex problems)

See first post for DL links


RE: PleXBMC add-on / skin integration support - RXP91 - 2014-01-09

I'm really loving the Amber Skin and updated Plexbmc. I've got XBMC on an Openelec and Plexbmc with Amber blows away Plex Home Theater - you get the best of both worlds. Better XBMC playback and the benefits of Plex.

I was wondering if there was a repo for the updated skins/Plexbmc addons? I manually check the thread for any updates but it would be nice to have a repo.


RE: PleXBMC add-on / skin integration support - Zekeman - 2014-01-11

Pecinko... I vaguely remember this being asked and I cant find a search on it... is it at all possible to integrate "tv tunes" addon for xbmc to work with plexbmc? I am sure it is more complicated than it sounds, but could that ever be a possibility?


RE: PleXBMC add-on / skin integration support - LarsErikP - 2014-01-11

(2014-01-04, 00:26)xawen Wrote:
(2014-01-03, 23:20)pecinko Wrote: Try disabling MyPlex and use GDM server discovery, if you have server on LAN.

I'm getting the same error (and same xbmc.log entries) with GDM, MyPlex and Manual config. You're right though, the server is on the LAN.

Edit: After a few reboots, it seems to be able to connect. Playback is a bit flakey, but I haven't adjusted any settings yet.

I am having the same problems and the same errors in the log. PlexBMC version 3.4.0.


PleXBMC add-on / skin integration support - pecinko - 2014-01-11

(2014-01-11, 22:49)LarsErikP Wrote:
(2014-01-04, 00:26)xawen Wrote:
(2014-01-03, 23:20)pecinko Wrote: Try disabling MyPlex and use GDM server discovery, if you have server on LAN.

I'm getting the same error (and same xbmc.log entries) with GDM, MyPlex and Manual config. You're right though, the server is on the LAN.

Edit: After a few reboots, it seems to be able to connect. Playback is a bit flakey, but I haven't adjusted any settings yet.

I am having the same problems and the same errors in the log. PlexBMC version 3.4.0.

Working on a fix.

W


RE: PleXBMC add-on / skin integration support - LarsErikP - 2014-01-12

Sounds good! Btw - magically worked after a couple of reboots. Playing just fine :-) I guess there still is an issue though. Not supposed to be that unstable.


RE: PleXBMC add-on / skin integration support - berserk - 2014-01-15

Hello everyone,

I am having problem installing PlexBMC on my Raspberry Pi. I have RPi B Type (512 MB RAM). I installed OpenElec 3.2.4 and then tried installing PleXBMC without success. I tried using both the PleXBMC version 3.4.1 and the zip from github repo (plugin.video.plexbmc-frodo). In both cases I have the following error in my log:

Code:
18:26:40 T:2837443680  NOTICE: ===== PLEXBMC START =====
18:26:40 T:2837443680  NOTICE: PleXBMC -> running Python: sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
18:26:40 T:2837443680  NOTICE: PleXBMC -> running PleXBMC: 3.3.6
18:26:40 T:2837443680  NOTICE: PleXBMC -> Platform: Linux/RPi
18:26:40 T:2837443680  NOTICE: PleXBMC -> Debug is turned off.  Running silent
18:26:40 T:2837443680  NOTICE: PleXBMC -> Detected parameters: {'content_type': 'video'}
18:26:42 T:2837443680   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'details' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc-frodo/default.py", line 5397, in <module>
                                                displaySections()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc-frodo/default.py", line 1267, in displaySections
                                                details['title']="Refresh Data"
                                            UnboundLocalError: local variable 'details' referenced before assignment
                                            -->End of Python script error report<--
18:26:42 T:3046920192   ERROR: GetDirectory - Error getting plugin://plugin.video.plexbmc/?content_type=video
18:26:42 T:3046920192   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexbmc/?content_type=video) failed

What am I doing wrong? Any ideas? Thanks in advance...


RE: PleXBMC add-on / skin integration support - pecinko - 2014-01-15

(2014-01-15, 20:35)berserk Wrote: Hello everyone,

I am having problem installing PlexBMC on my Raspberry Pi. I have RPi B Type (512 MB RAM). I installed OpenElec 3.2.4 and then tried installing PleXBMC without success. I tried using both the PleXBMC version 3.4.1 and the zip from github repo (plugin.video.plexbmc-frodo). In both cases I have the following error in my log:

Code:
18:26:40 T:2837443680  NOTICE: ===== PLEXBMC START =====
18:26:40 T:2837443680  NOTICE: PleXBMC -> running Python: sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
18:26:40 T:2837443680  NOTICE: PleXBMC -> running PleXBMC: 3.3.6
18:26:40 T:2837443680  NOTICE: PleXBMC -> Platform: Linux/RPi
18:26:40 T:2837443680  NOTICE: PleXBMC -> Debug is turned off.  Running silent
18:26:40 T:2837443680  NOTICE: PleXBMC -> Detected parameters: {'content_type': 'video'}
18:26:42 T:2837443680   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnboundLocalError'>
                                            Error Contents: local variable 'details' referenced before assignment
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc-frodo/default.py", line 5397, in <module>
                                                displaySections()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc-frodo/default.py", line 1267, in displaySections
                                                details['title']="Refresh Data"
                                            UnboundLocalError: local variable 'details' referenced before assignment
                                            -->End of Python script error report<--
18:26:42 T:3046920192   ERROR: GetDirectory - Error getting plugin://plugin.video.plexbmc/?content_type=video
18:26:42 T:3046920192   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexbmc/?content_type=video) failed

What am I doing wrong? Any ideas? Thanks in advance...

You need to install version referenced in 1st post:

PleXBMC version 3.4.1 (MOD by pecinko, KodeStar, zeflash)
http://tinyurl.com/pt8omgo

Take a look at your add ons folder and delete every instance of plugin.video.plexbmc* . Download version 3.4.1 and install via "add from ZIP". Please report back.


RE: PleXBMC add-on / skin integration support - berserk - 2014-01-15

(2014-01-15, 21:23)pecinko Wrote: You need to install version referenced in 1st post:

PleXBMC version 3.4.1 (MOD by pecinko, KodeStar, zeflash)
http://tinyurl.com/pt8omgo

Take a look at your add ons folder and delete every instance of plugin.video.plexbmc* . Download version 3.4.1 and install via "add from ZIP". Please report back.

I installed the version you mentioned, then installed the amber skin (had to update XBMC add-ons to overcome some dependency unmet problems for the skin). The skin loads but cannot display any of the Plex content. When I try to run PleXBMC from the Video Add-ons I still get a script error but my error is different now:

Code:
1:48:54 T:2754597984  NOTICE: ===== PLEXBMC START =====
21:48:54 T:2754597984  NOTICE: PleXBMC -> Running Python: sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
21:48:54 T:2754597984  NOTICE: PleXBMC -> Running PleXBMC: 3.4.1
21:48:55 T:2754597984  NOTICE: PleXBMC -> FullRes Thumbs are se to: false
21:48:55 T:2754597984  NOTICE: PleXBMC -> CWD is set to: /storage/.xbmc/addons/plugin.video.plexbmc
21:48:55 T:2754597984  NOTICE: PleXBMC -> Platform: Linux/RPi
21:48:55 T:2754597984  NOTICE: PleXBMC -> Debug is turned off.  Running silent
21:48:55 T:2754597984  NOTICE: PleXBMC -> Detected parameters: {'content_type': 'video'}
21:48:55 T:2754597984   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'NoneType' object is not callable
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 5242, in <module>
                                                displaySections()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 1146, in displaySections
                                                ds_servers=discoverAllServers()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 299, in discoverAllServers
                                                local_server = getLocalServers(das_host, das_port)
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 394, in getLocalServers
                                                server=etree.fromstring(html)
                                              File "<string>", line 123, in XML
                                            TypeError: 'NoneType' object is not callable
                                            -->End of Python script error report<--
21:48:55 T:3046666240   ERROR: GetDirectory - Error getting plugin://plugin.video.plexbmc/?content_type=video
21:48:55 T:3046666240   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexbmc/?content_type=video) failed



RE: PleXBMC add-on / skin integration support - berserk - 2014-01-16

(2014-01-15, 21:23)pecinko Wrote: You need to install version referenced in 1st post:

PleXBMC version 3.4.1 (MOD by pecinko, KodeStar, zeflash)
http://tinyurl.com/pt8omgo

Take a look at your add ons folder and delete every instance of plugin.video.plexbmc* . Download version 3.4.1 and install via "add from ZIP". Please report back.

I also added a debug line to check the value in line 394
Code:
server=etree.fromstring(html)

the "html" string is as follows:
Code:
<?xml version="1.0" encoding="UTF-8"?>
                                            <MediaContainer size="13" flashInstalled="0" friendlyName="Perit’s Mac mini" machineIdentifier="9b5d235304d63abd986c93416dbc12b5d9832293" multiuser="1" myPlex="1" myPlexMappingState="failed" myPlexSigninState="invalid" myPlexUsername="berserk" platform="MacOSX" platformVersion="10.8.5" requestParametersInCookie="1" silverlightInstalled="0" soundflowerInstalled="0" sync="1" transcoderActiveVideoSessions="0" transcoderAudio="1" transcoderVideo="1" transcoderVideoBitrates="64,96,208,320,720,1500,2000,3000,4000,8000,10000,12000,20000" transcoderVideoQualities="0,1,2,3,4,5,6,7,8,9,10,11,12" transcoderVideoResolutions="128,128,160,240,320,480,768,720,720,1080,1080,1080,1080" updatedAt="1389799204" version="0.9.8.18.290-11b7fdd" webkit="1">
                                            <Directory count="1" key="channels" title="channels" />
                                            <Directory count="1" key="clients" title="clients" />
                                            <Directory count="1" key="library" title="library" />
                                            <Directory count="3" key="music" title="music" />
                                            <Directory count="2" key="photos" title="photos" />
                                            <Directory count="1" key="playQueues" title="playQueues" />
                                            <Directory count="1" key="player" title="player" />
                                            <Directory count="1" key="playlists" title="playlists" />
                                            <Directory count="1" key="search" title="search" />
                                            <Directory count="1" key="servers" title="servers" />
                                            <Directory count="1" key="system" title="system" />
                                            <Directory count="1" key="transcode" title="transcode" />
                                            <Directory count="15" key="video" title="video" />
                                            </MediaContainer>

As a quick note. my PMS version is 0.9.8.18, running on a Mac OS X Mountain Lion.


RE: PleXBMC add-on / skin integration support - pecinko - 2014-01-16

OK, please try version 3.4.2:

http://tinyurl.com/nokxz7g


RE: PleXBMC add-on / skin integration support - Zekeman - 2014-01-16

(2014-01-16, 14:31)pecinko Wrote: OK, please try version 3.4.2:

http://tinyurl.com/nokxz7g

Pecinko,

Thanks for awesome work as usual... where can I find a change log?


RE: PleXBMC add-on / skin integration support - berserk - 2014-01-16

(2014-01-16, 14:31)pecinko Wrote: OK, please try version 3.4.2:

http://tinyurl.com/nokxz7g

Thanks for the update. There is still an error but it has changed. This is my log:

Code:
17:39:01 T:2873095264  NOTICE: PleXBMC -> Running with cElementTree on Python 2.5+
17:39:01 T:2873095264  NOTICE: ===== PLEXBMC START =====
17:39:01 T:2873095264  NOTICE: PleXBMC -> Running Python: sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
17:39:01 T:2873095264  NOTICE: PleXBMC -> Running PleXBMC: 3.4.2
17:39:01 T:2873095264  NOTICE: PleXBMC -> FullRes Thumbs are se to: false
17:39:01 T:2873095264  NOTICE: PleXBMC -> CWD is set to: /storage/.xbmc/addons/plugin.video.plexbmc
17:39:01 T:2873095264  NOTICE: PleXBMC -> Platform: Linux/RPi
17:39:01 T:2873095264  NOTICE: PleXBMC -> Flatten is: 0
17:39:01 T:2873095264  NOTICE: PleXBMC -> Settings streaming: 2
17:39:01 T:2873095264  NOTICE: PleXBMC -> Setting filter menus: true
17:39:01 T:2873095264  NOTICE: PleXBMC -> Setting debug to true
17:39:01 T:2873095264  NOTICE: PleXBMC -> Setting stream Control to : XBMC CONTROL (0)
17:39:01 T:2873095264  NOTICE: PleXBMC -> Force DVD playback: false
17:39:01 T:2873095264  NOTICE: PleXBMC -> SMB IP Override: true
17:39:02 T:2873095264  NOTICE: PleXBMC -> NAS IP: 192.168.1.130
17:39:02 T:2873095264  NOTICE: PleXBMC -> Script argument is ['plugin.video.plexbmc', 'amberskin', 'nocat']
17:39:02 T:2873095264  NOTICE: == ENTER: get_params ==
17:39:03 T:2873095264  NOTICE: PleXBMC -> get_params: Parameter string: nocat
17:39:03 T:2873095264  NOTICE: PleXBMC -> Detected parameters: {}
17:39:03 T:2873095264  NOTICE: == ENTER: amberskin() ==
17:39:03 T:2873095264  NOTICE: == ENTER: discoverAllServers ==
17:39:03 T:2873095264  NOTICE: PleXBMC -> Settings hostname and port: 192.168.1.140 : 32400
17:39:03 T:2873095264  NOTICE: == ENTER: getLocalServers ==
17:39:03 T:2873095264  NOTICE: == ENTER: getURL ==
17:39:03 T:2873095264  NOTICE: PleXBMC -> getURL: url = 192.168.1.140:32400/
17:39:03 T:2873095264  NOTICE: PleXBMC -> getURL: header = {}
17:39:04 T:2873095264  NOTICE: PleXBMC -> getURL: ====== XML returned =======
17:39:04 T:2873095264  NOTICE: <?xml version="1.0" encoding="UTF-8"?>
                                            <MediaContainer size="13" flashInstalled="0" friendlyName="Perit’s Mac mini" machineIdentifier="9b5d235304d63abd986c93416dbc12b5d9832293" multiuser="1" myPlex="1" myPlexMappingState="failed" myPlexSigninState="invalid" myPlexUsername="berserk" platform="MacOSX" platformVersion="10.8.5" requestParametersInCookie="1" silverlightInstalled="0" soundflowerInstalled="0" sync="1" transcoderActiveVideoSessions="0" transcoderAudio="1" transcoderVideo="1" transcoderVideoBitrates="64,96,208,320,720,1500,2000,3000,4000,8000,10000,12000,20000" transcoderVideoQualities="0,1,2,3,4,5,6,7,8,9,10,11,12" transcoderVideoResolutions="128,128,160,240,320,480,768,720,720,1080,1080,1080,1080" updatedAt="1389799204" version="0.9.8.18.290-11b7fdd" webkit="1">
                                            <Directory count="1" key="channels" title="channels" />
                                            <Directory count="1" key="clients" title="clients" />
                                            <Directory count="1" key="library" title="library" />
                                            <Directory count="3" key="music" title="music" />
                                            <Directory count="2" key="photos" title="photos" />
                                            <Directory count="1" key="playQueues" title="playQueues" />
                                            <Directory count="1" key="player" title="player" />
                                            <Directory count="1" key="playlists" title="playlists" />
                                            <Directory count="1" key="search" title="search" />
                                            <Directory count="1" key="servers" title="servers" />
                                            <Directory count="1" key="system" title="system" />
                                            <Directory count="1" key="transcode" title="transcode" />
                                            <Directory count="15" key="video" title="video" />
                                            </MediaContainer>
17:39:04 T:2873095264  NOTICE: PleXBMC -> getURL: ====== XML finished ======
17:39:04 T:2873095264   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.TypeError'>
                                            Error Contents: 'dict' object is not callable
                                            Traceback (most recent call last):
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 5162, in <module>
                                                amberskin()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 3735, in amberskin
                                                server_list = discoverAllServers()
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 299, in discoverAllServers
                                                local_server = getLocalServers(das_host, das_port)
                                              File "/storage/.xbmc/addons/plugin.video.plexbmc/default.py", line 396, in getLocalServers
                                                return {'serverName': server.attrib('friendlyName','Server').encode('utf-8'),
                                            TypeError: 'dict' object is not callable
                                            -->End of Python script error report<--



RE: PleXBMC add-on / skin integration support - Zekeman - 2014-01-16

So I updated to 3.4.2 and now get the dreaded script failed! Plexbmc. I uninstalled all previous version rebooted reinstalled and still get it. I did same process over and installed last working version 3.40 and yet still get it?? Help. Lol.


RE: PleXBMC add-on / skin integration support - pecinko - 2014-01-16

(2014-01-16, 19:27)Zekeman Wrote:
(2014-01-16, 14:31)pecinko Wrote: OK, please try version 3.4.2:

http://tinyurl.com/nokxz7g

Pecinko,

Thanks for awesome work as usual... where can I find a change log?

- Home page sections should refresh properly
- Script error should be fixed
- Breadcrumbs should be improved

Guys try manually setting PMS IP address, add or remove MyPlex login, restart a few times.

This error is very weird as it suggest script has a problem parsing (valid!) XML file for some reason. You can try using element tree instead of celementtree (if you know your way in python) but script will parse at least 3-4 times slower. Am still not sure what exactly is going on.


This forum uses Lukasz Tkacz MyBB addons.