Issue running plexconnect

Hi,

 

I work according to the tutorial but when I run the file PlexConnect.py I got error:

 

    XML = getSectionXML(PMS_list, {}, '')
NameError: name 'getSectionXML' is not defined
 
 
these the all command output:
 
 
C:\Program Files (x86)\PlexConnect-master>PlexConnect.py
20:25:40 : *** local Server/Sections
20:25:40 __main__: ***
20:25:40 __main__: looking up Plex Media Server
20:25:40 __main__: ***
20:25:40 __main__: Sending discovery message: M-SEARCH * HTTP/1.0
20:25:40 __main__: Received data from ('10.0.0.6', 32414)
20:25:40 __main__: Data received:
 HTTP/1.0 200 OK
Content-Type: plex/media-server
Resource-Identifier: 7c6dc1ffd0043baf23d75286b3d7a4f751f66095
Name: PlexServer
Port: 32400
Updated-At: 1398188703
Version: 0.9.9.7.429-f80a8d6
 
 
20:25:41 __main__: GDM: Servers discovered: 1
20:25:41 __main__: PlexServer 10.0.0.6:32400
Traceback (most recent call last):
  File "C:\Program Files (x86)\PlexConnect-master\PlexConnect.py", line 815, in
    XML = getSectionXML(PMS_list, {}, '')
NameError: name 'getSectionXML' is not defined
 
 
any idea?

 

thanks,

Cfir.

The referenced line (815) is NOT in PlexConnect.py, but PlexAPI.py. It's part of the early test code for running/testing the PlexAPI functions on their own.

I have two issues with your report...

- my test code is out of date. :-(

- you somehow swapped the content of PlexAPI.py into PlexConnect.py. Try to re-download the sources (or unzip again...) to fix that.

all working, thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.