bubonic / TGC.bundle

The Great Courses Agent for Plex
42 stars 7 forks source link

Not working anymore 4-24-2020 #2

Closed sidhis closed 4 years ago

sidhis commented 4 years ago

This was working great but it has stopped pulling metadata for me. Currently running version 1.18.9.2578 of Plex, and I'm getting these python errors in the logs when it attempts to pull metadata on a course:

File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-513b381af\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\api\agentkit.py", line 1089, in _update agent.update(obj, media, lang, *kwargs) File "C:\Users\Ben\AppData\Local\Plex Media Server\Plug-ins\TGC.bundle\Contents\Code__init.py", line 834, in update coursePlusInfo = self.searchPlusURL(metadata.title, cNum) File "C:\Users\Ben\AppData\Local\Plex Media Server\Plug-ins\TGC.bundle\Contents\Code\init__.py", line 355, in searchPlusURL f = urllib2.urlopen(requestPlus, context=ctx) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 447, in _open '_open', req) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 407, in _call_chain result = func(args) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1241, in https_open context=self._context) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\urllib2.py", line 1201, in do_open r = h.getresponse(buffering=True) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 1136, in getresponse response.begin() File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 453, in begin version, status, reason = self._read_status() File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\httplib.py", line 409, in _read_status line = self.fp.readline(_MAXLINE + 1) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\socket.py", line 480, in readline data = self._sock.recv(self._rbufsize) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\ssl.py", line 756, in recv return self.read(buflen) File "C:\Program Files (x86)\Plex\Plex Media Server\python27.zip\ssl.py", line 643, in read v = self._sslobj.read(len) SSLError: ('The read operation timed out',)

bubonic commented 4 years ago

Okay. I appreciate the log output. That helps a lot. It looks like the SSL workaround for the TGC Plus website I was using stopped working. I'll look into this in the next couple of weeks. I currently have a few other ongoing projects I'm apart of.

Thanks!

bubonic commented 4 years ago

This problem has been fixed by removing the call to search for extra metadata on the TGC+ site. The TGC+ site was made over and not using the JS that it once was. A rework of the searchPlus() will have to be done to get it fetching any extra metadata from there.

In the meantime, this extra metadata is not available. Stay tuned for additional pushes in the future to re-support TGC+.

This issue is closed.