YouTubeTV.bundle icon indicating copy to clipboard operation
YouTubeTV.bundle copied to clipboard

This Plugin is not Responding

Open matthewjt opened this issue 6 years ago • 6 comments

I'm running on Unraid in a Docker (linuxserver). Netowrk Type is Host, so I'm forwarding ports.

I'm able to log in and view all my videos and playlists. When I go to play one it gives me the "This plugin is not responding" message. Is there something special I need to configure for it to work in a docker?

Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - Plug-in com.plexapp.plugins.youtube.tv has been used 71 times. Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - [com.plexapp.plugins.youtube.tv] Sending command over HTTP (GET): /video/youtubetv/video/view?vid=KzTTF_WNTfM Nov 16, 2018 15:09:00.962 [0x153781ffa700] DEBUG - HTTP requesting GET http://127.0.0.1:38441/video/youtubetv/video/view?vid=KzTTF_WNTfM Nov 16, 2018 15:09:01.056 [0x153781ffa700] DEBUG - HTTP 500 response from GET http://127.0.0.1:38441/video/youtubetv/video/view?vid=KzTTF_WNTfM Nov 16, 2018 15:09:01.057 [0x153781ffa700] DEBUG - [com.plexapp.plugins.youtube.tv] HTTP reply status 500, with 3191 bytes of content. Nov 16, 2018 15:09:01.059 [0x1537883ff700] DEBUG - Completed: [10.xxx.xxx.xxx1:62392] 500 GET /video/youtubetv/video/view?vid=KzTTF_WNTfM (15 live) TLS GZIP 98ms 1402 bytes (pipelined: 2)

matthewjt avatar Nov 16 '18 20:11 matthewjt

Please check v4.10

kolsys avatar Nov 18 '18 13:11 kolsys

It works now, thanks!

matthewjt avatar Nov 21 '18 12:11 matthewjt

I just installed v4.10 but I still see "This plugin is not responding".

I found the following error message in the log:

2018-11-23 17:35:04,367 (7f950f7fe700) :  CRITICAL (sandbox:303) - Exception when calling function 'MetadataObjectForURL' (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 294, in call_named_function
    result = f(*args, **kwargs)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/YouTubeTV.bundle/Contents/Services/URL/YouTubeTV/ServiceCode.pys", line 133, in MetadataObjectForURL
    tags=meta['keywords'].split(','),
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
KeyError: 'keywords'

2018-11-23 17:35:04,368 (7f950f7fe700) :  CRITICAL (services:745) - Exception calling function in URL service "YouTubeTV" (com.plexapp.plugins.youtube.tv)
2018-11-23 17:35:04,368 (7f950f7fe700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/YouTubeTV.bundle/Contents/Code/__init__.py", line 297, in VideoView
    in_container=True
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/api/servicekit.py", line 17, in MetadataObjectForURL
    return self._core.services.metadata_object_for_url(url, add_items_automatically, allow_deferred, in_container, do_normalization)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 725, in metadata_object_for_url
    return self._get_result_from_function_for_url(self.metadata_object_for_url_from_service, url, do_normalization, dict(add_items_automatically = add_items_automatically, allow_deferred = allow_deferred, in_container = in_container))
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 741, in _get_result_from_function_for_url
    result = func(url, service, **kwargs)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 642, in metadata_object_for_url_from_service
    metadata = self._call_named_function_in_service(METADATA_OBJECT_FUNCTION_NAME, service, [url])
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 589, in _call_named_function_in_service
    return self._call_named_function_in_sandbox(service.sandbox, fname, None, f_args, f_kwargs, allow_deferred, raise_exceptions, f_optional)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/components/services.py", line 573, in _call_named_function_in_sandbox
    result = sandbox.call_named_function(fname, allow_deferred=allow_deferred, raise_exceptions=raise_exceptions, args=f_args, kwargs=f_kwargs, mod_name=mod_name, optional_kwargs=f_optional)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 294, in call_named_function
    result = f(*args, **kwargs)
  File "/config/Library/Application Support/Plex Media Server/Plug-ins/YouTubeTV.bundle/Contents/Services/URL/YouTubeTV/ServiceCode.pys", line 133, in MetadataObjectForURL
    tags=meta['keywords'].split(','),
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-ecd600442/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/code/sandbox.py", line 108, in <lambda>
    _getitem_           = lambda x, y: x.__getitem__(y),
KeyError: 'keywords'

simon-zumbrunnen avatar Nov 23 '18 16:11 simon-zumbrunnen

Try to restart server.

kolsys avatar Nov 23 '18 16:11 kolsys

Restarting didn't help, but I realised that playing is possible (by clicking the play icon on the right) but showing the detail view (by clicking the title) ist not. This is also what the error message suggests. Sorry. I have never used your plugin before.

simon-zumbrunnen avatar Nov 23 '18 17:11 simon-zumbrunnen

Similar issue here. However it is only the mysubscription is not working. The other buttons are working ok.

amsteel avatar Nov 24 '18 23:11 amsteel