Why Plex Disabled Accessing Media Server using HTTP Interface ! Any alternatives

I was trying to build a plex channel for Music, because there is no option to load all musics from different albums. Some times I would like to listen random songs from all of my collections and some times I would like to listen only particular album.
 
So I have all albums in different folders. But there is no option to access all songs using Plex. I planned to write plex channel and trying to get this info using library/section of plex web interface to parse the xml content.
 
I ended up with below exception. Why is this restriction added in plex. If comment the code I was able to access my channel the way I intended and able to play all of my songs randomly. The real problem now is the change I made (code commented out) is updating and channel stops playing.
 
ANY ALTERNATIVES ON ACCESSING THE XML CONTENT OF LOCAL LIBRARIES USING PLEX ??????
 
      raise Framework.exceptions.FrameworkException("Accessing the media server's HTTP interface is not permitted.")
 
Please advise. 
 
 

Add this key/value pair to your plugin's Info.plist file, restart PMS and you should be able to grab the XML content:

PlexPluginCodePolicy
Elevated

Thanks Sander. It worked. 

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