LiveTVH.bundle
LiveTVH.bundle copied to clipboard
Plugin not responding due 401 response for recordings
Hi @taligentx I upgraded a while back to 1.4 and got the dreaded This Plugin Is Not Responding error. I didn't really have time to troubleshoot so I reverted back to the 1.2 version I had installed previously and everything worked again. Anyway I decided to try again and sure enough I got the same error but looking at the logs I can see that I am connecting to the server but it seems I am getting the error because the plug-in falls over at the point it tried to access the recordings. I only have one tvh user and it's the admin which I use with the plug-in so I'm not sure why I am getting an unauthorized error but here it is...
2018-11-30 00:02:20,543 (7f2c7a7fc700) : WARNING (__init__:290) - Unable to retrieve Tvheadend recordings data as UTF-8, falling back to ISO-8859-1: HTTP Error 401: Unauthorized
2018-11-30 00:02:20,556 (7f2c7a7fc700) : WARNING (__init__:290) - Error retrieving Tvheadend recordings data: HTTP Error 401: Unauthorized
2018-11-30 00:02:20,558 (7f2c7a7fc700) : CRITICAL (runtime:889) - Exception (most recent call last):
File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
result = f(**d)
File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/handlers/base.py", line 111, in call
result = self.func(*args, **kwargs)
File "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/LiveTVH.bundle/Contents/Code/__init__.py", line 290, in MainMenu
epgUTF8Encoding = False
File "/usr/lib/plexmediaserver/Resources/Plug-ins-5a0183d2c/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
_getitem_ = lambda x, y: x.__getitem__(y),
AttributeError: 'NoneType' object has no attribute '__getitem__'