Hello...
trying to understand the PMS communication I am shooting HTTP requests against it.
Things look quite good, for example i get the following "talk":
*** request
http://192.168.178.20:32400/channels/
*** reply
xmlIOHTTP - bytes read: 178
<?xml version="1.0" encoding="UTF-8"?>
Digging deeper however, I read back the following:
*** request
http://192.168.178.20:32400/video/abc
*** reply
xmlIOHTTP - bytes read: 934
<?xml version='1.0' encoding='utf-8'?>
Traceback (most recent call last):
File "/Users/baa/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 822, in handle_request
result = f(**d)
File "/Users/baa/Library/Application Support/Plex Media Server/Plug-ins/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/handlers/base.py", line 119, in call
result = self.func(*args, **kwargs)
File "/Users/baa/Library/Application Support/Plex Media Server/Plug-ins/ABC.bundle/Contents/Code/__init__.py", line 23, in MainMenu
if not Client.Platform in ('iOS') and not (Client.Platform == 'Safari' and Platform.OS == 'MacOSX'):
TypeError: 'in <string>' requires string as left operand