I just installed Plex yesterday and I'm trying to get this plugin working with my RaspBMC image. I'm running into an error every time I try to launch the plugin though: Script Failed: plugin.video.plexbmc-amber. I found a few errors in the xmbc.log (below) but they don't mean anything to me. Any suggestions would be hugely appreciated.
XBMC 12.2 (RaspBMC version)
Amber 1.3.0 (same error with Confluence)
PlexBMC 3.3.8
Plex 0.9.8.18 - Brand new install. 2 sections, 3 total folders.
Section from xbmc.log that shows the launch (debug logging is on):
Code:
13:33:03 T:2770334784 NOTICE: PleXBMC -> Running with cElementTree on Python 2.5+
13:33:03 T:2770334784 NOTICE: ===== PLEXBMC START =====
13:33:03 T:2770334784 NOTICE: PleXBMC -> running Python: sys.version_info(major=2, minor=7, micro=3, releaselevel='final', serial=0)
13:33:03 T:2770334784 NOTICE: PleXBMC -> running PleXBMC: 3.3.8
13:33:03 T:2770334784 NOTICE: PleXBMC -> Platform: Linux/RPi
13:33:03 T:2770334784 NOTICE: PleXBMC -> Flatten is: 0
13:33:03 T:2770334784 NOTICE: PleXBMC -> Settings streaming: 0
13:33:03 T:2770334784 NOTICE: PleXBMC -> Setting filter menus: true
13:33:03 T:2770334784 NOTICE: PleXBMC -> Setting debug to true
13:33:03 T:2770334784 NOTICE: PleXBMC -> Setting stream Control to : PLEX CONTROL (1)
13:33:03 T:2770334784 NOTICE: PleXBMC -> Force DVD playback: false
13:33:03 T:2770334784 NOTICE: PleXBMC -> SMB IP Override: false
13:33:03 T:2770334784 NOTICE: PleXBMC -> Script argument is ['plugin://plugin.video.plexbmc/', '14', '?content_type=video']
13:33:03 T:2770334784 NOTICE: == ENTER: get_params ==
13:33:03 T:2770334784 NOTICE: PleXBMC -> get_params: Parameter string: ?content_type=video
13:33:03 T:2770334784 NOTICE: PleXBMC -> Detected parameters: {'content_type': 'video'}
13:33:03 T:2770334784 NOTICE: PleXBMC -> Mode: -1
13:33:03 T:2770334784 NOTICE: PleXBMC -> URL: None
13:33:03 T:2770334784 NOTICE: PleXBMC -> Name:
13:33:03 T:2770334784 NOTICE: PleXBMC -> identifier: None
13:33:03 T:2770334784 NOTICE: PleXBMC -> token: None
13:33:03 T:2770334784 NOTICE: == ENTER: displaySections() ==
13:33:03 T:2770334784 NOTICE: == ENTER: discoverAllServers ==
13:33:03 T:2770334784 NOTICE: PleXBMC -> local GDM discovery setting enabled.
13:33:03 T:2770334784 NOTICE: PleXBMC -> discoverAllServers: Attempting GDM lookup on multicast
13:33:03 T:2770334784 NOTICE: PlexGDM: Sending discovery messages: M-SEARCH * HTTP/1.0
13:33:03 T:2770334784 NOTICE: PlexGDM: Received data from 192.168.1.113, 32414
13:33:03 T:2770334784 NOTICE: PlexGDM: Data received is:
HTTP/1.0 200 OK
Content-Type: plex/media-server
Resource-Identifier: 5843e09eebb9daa8493cfc517a25aea7fd492419
Name: blizzard
Port: 32400
Updated-At: 1388771902
Version: 0.9.8.18.290-11b7fdd
13:33:04 T:2770334784 NOTICE: PlexGDM: Number of servers Discovered: 1
13:33:04 T:2770334784 NOTICE: PlexGDM: Server Discovered: blizzard
13:33:04 T:2770334784 NOTICE: PleXBMC -> discoverAllServers: GDM discovery completed
13:33:04 T:2770334784 NOTICE: PleXBMC -> serverList is {0: {'updated': '1388771902', 'uuid': '5843e09eebb9daa8493cfc517a25aea7fd492419', 'serverName': 'blizzard', 'owned': '1', 'server': '192.168.1.113', 'port': '32400', 'version': '0.9.8.18.290-11b7fdd', 'role': 'master', 'master': 1, 'content-type': 'plex/media-server', 'class': None, 'discovery': 'auto'}}
13:33:04 T:2770334784 NOTICE: == ENTER: deduplicateServers ==
13:33:04 T:2770334784 NOTICE: PleXBMC -> displaySections: Using list of 1 servers: {0: {'updated': '1388771902', 'uuid': '5843e09eebb9daa8493cfc517a25aea7fd492419', 'serverName': 'blizzard', 'owned': '1', 'server': '192.168.1.113', 'port': '32400', 'version': '0.9.8.18.290-11b7fdd', 'role': 'master', 'master': 1, 'content-type': 'plex/media-server', 'class': None, 'discovery': 'auto'}}
13:33:04 T:2770334784 NOTICE: == ENTER: getAllSections ==
13:33:04 T:2770334784 NOTICE: PleXBMC -> getAllSections: Using servers list: {0: {'updated': '1388771902', 'uuid': '5843e09eebb9daa8493cfc517a25aea7fd492419', 'serverName': 'blizzard', 'owned': '1', 'server': '192.168.1.113', 'port': '32400', 'version': '0.9.8.18.290-11b7fdd', 'role': 'master', 'master': 1, 'content-type': 'plex/media-server', 'class': None, 'discovery': 'auto'}}
13:33:04 T:2770334784 NOTICE: == ENTER: getServerSections ==
13:33:04 T:2770334784 NOTICE: == ENTER: getURL ==
13:33:04 T:2770334784 NOTICE: PleXBMC -> getURL: url = http://192.168.1.113:32400/library/sections
13:33:04 T:2770334784 NOTICE: PleXBMC -> getURL: header = {}
13:33:04 T:2770334784 NOTICE: PleXBMC -> getURL: ====== XML returned =======
13:33:04 T:2770334784 NOTICE: <?xml version="1.0" encoding="UTF-8"?>
<MediaContainer size="2" allowSync="0" identifier="com.plexapp.plugins.library" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1387862392" title1="Plex Library">
<Directory art="/:/resources/movie-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/movie.png" key="1" type="movie" title="Movies" agent="com.plexapp.agents.themoviedb" scanner="Plex Movie Scanner" language="en" uuid="ae47a606-2960-4ba4-bc67-06be2f3c2b9b" updatedAt="1388766976" createdAt="1388695377">
<Location id="1" path="/mnt/media/Movies" />
<Location id="2" path="/mnt/data/fileshares/usenet/complete/movies" />
</Directory>
<Directory art="/:/resources/show-fanart.jpg" filters="1" refreshing="0" thumb="/:/resources/show.png" key="2" type="show" title="TV Shows" agent="com.plexapp.agents.thetvdb" scanner="Plex Series Scanner" language="en" uuid="91e38873-7612-4482-a478-a67685412045" updatedAt="1388766988" createdAt="1388695400">
<Location id="3" path="/mnt/data/fileshares/usenet/complete/tv" />
</Directory>
</MediaContainer>
13:33:04 T:2770334784 NOTICE: PleXBMC -> getURL: ====== XML finished ======
13:33:04 T:2770334784 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 "/home/pi/.xbmc/addons/plugin.video.plexbmc-amber/default.py", line 5247, in <module>
displaySections()
File "/home/pi/.xbmc/addons/plugin.video.plexbmc-amber/default.py", line 1159, in displaySections
for section in getAllSections(ds_servers):
File "/home/pi/.xbmc/addons/plugin.video.plexbmc-amber/default.py", line 604, in getAllSections
section_details = getServerSections( server['server'], server['port'] , server['serverName'], server['uuid'])
File "/home/pi/.xbmc/addons/plugin.video.plexbmc-amber/default.py", line 522, in getServerSections
tree = etree.fromstring(html).getiterator("Directory")
File "<string>", line 123, in XML
TypeError: 'NoneType' object is not callable
-->End of Python script error report<--
13:33:04 T:3040808960 ERROR: GetDirectory - Error getting plugin://plugin.video.plexbmc/?content_type=video
13:33:04 T:3040808960 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.plexbmc/?content_type=video) failed
13:33:04 T:2770334784 NOTICE: Thread Background Loader start, auto delete: false