"Internal Server Error" when requesting plugin data from PMS

Hello!

Using python I am trying to get nice XML files from PMS- basically building a small-scale client. Starting http://ADDR:32400 does work reasonable well... but when parsing through the plugin section, it breaks.

 

The details:

Using Safari requesting the final media URL (basically the last "key") I get a nice XML file like...

 

 

<MediaContainer size="1" identifier="com.plexapp.system" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1365532643">
 <Video ...
   <Media ...
     <Part ...
       <Stream ...
       <Stream ...
     
   
 
 
However, doing the getURL from python or even just with "curl --url " I get a "HTTP/1.0 500 Internal Server Error". The XML returned is just
<?xml version='1.0' encoding='utf-8'?>
 
Does anybody know, what I might be missing?

That was a strange one...

Erroneously in python I requested the upper level directory with a trailing '/' in the URL. This led to a bad "kwargs" attribute in the provided URL and kill the PMS response in the end :-(

It's fixed now...

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