jradwan / TiVoToGo.bundle

TiVo To Go Plex Server Channel
6 stars 2 forks source link

Broken on mobile? #8

Open jradwan opened 5 years ago

jradwan commented 5 years ago

Not sure when this started, but the plugin doesn't seem to work through the Plex mobile app (at least on my iPhone). It just shows "no content" and I see this in the plugin log:

2019-03-28 16:08:08,419 (7f4e2dffb700) :  DEBUG (runtime:49) - Received packed state data (80 bytes)
2019-03-28 16:08:08,422 (7f4e2dffb700) :  DEBUG (runtime:814) - Found route matching /video/tivotogo
2019-03-28 16:08:08,423 (7f4e2dffb700) :  CRITICAL (runtime:889) - Exception (most recent call last):
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-782228f99/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/compoents/runtime.py", line 843, in handle_request
    result = f(**d)
  File "/usr/lib/plexmediaserver/Resources/Plug-ins-782228f99/Framework.bundle/Contents/Resources/Versions/2/Python/Framework/handlrs/base.py", line 111, in call
    result = self.func(*args, **kwargs)
TypeError: MainMenu() takes no arguments (1 given)

The plugin works fine in the browser (even the mobile browser) so it seems to be the Plex app.

renegaudet commented 5 years ago

Not much help, but I got one step further by changing MainMenu () to def MainMenu(**kwargs). Unfortunately, it errored out one level deeper with

2019-07-12 14:24:43,566 (1a734) : CRITICAL (core:574) - Exception (most recent call last): File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-158e5b199\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request result = f(**d) TypeError: getTivoShows() got an unexpected keyword argument 'includeExternalMedia'

jradwan commented 5 years ago

If I use a browser on my iPhone instead of the Plex app, it works. 😉 I guess that'd be expected since it works on a desktop browser (except for playback now apparently, see issue #9).