Open jradwan opened 6 years ago
Actually now I'm not convinced it's the path to the certificate file. The "error: [Errno 10057] A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied" seems to be a connection issue. Related to the self.getpeername() call?
I'm wondering if it has something to do with ssl.py differences between Linux and Windows? Really not sure ...
Related? (problem mentions works on OSX, not on Windows)
It's not an ssl.py difference between Windows and Linux ... both are using the python 2.7 version of the file.
Maybe use this?
When using the new Mind RPC functionality (to retrieve the episode name/number for proper Plex filename formatting) on Windows, the call fails:
I'm wondering if this is related to issue #4 in that it's somehow path-related and how Python is handing long paths with spaces in it. In this case, the certfile_path which is where the cdata.pem file is located, necessary for the SSL connection to the TiVo Mind server (ex. C:\Users\username\AppData\Local\Plex Media Server\Plug-ins\TiVoToGo.bundle\Contents\Libraries\Shared\cdata.pem). This feature works fine on Linux.