Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playback error on Android #5

Closed
burnnat opened this issue Jan 8, 2015 · 5 comments
Closed

Playback error on Android #5

burnnat opened this issue Jan 8, 2015 · 5 comments

Comments

@burnnat
Copy link

burnnat commented Jan 8, 2015

I'm unable to play any NextPVR video on my Android device (HTC One S), either Live TV or Recordings; I'm able to browse the catalog but when trying to play any video the Plex Android client simply reports: "An error occurred while attempting to navigate to the selected item. It appears that the associated server is no longer available."

I looked at the plugin logs on my Plex server, and I found this exception:

2015-01-07 20:07:53,084 (2c60) :  DEBUG (runtime:717) - Handling request GET /video/nextpvr/:/function/CreateVideoObject?function_args=Y2VyZWFsMQoxCmRpY3QKMTAKczUKbXAydHNzOQpjb250YWluZXJpMApzMTcKcGxheWJhY2tfcG9zaXRpb25zMTcKMDEvMDEvMTUgMjI6NTk6MDFzMjMKb3JpZ2luYWxseV9hdmFpbGFibGVfYXRzNDUKaHR0cDovLzE5Mi4xNjguMS4yMDA6ODg2Ni9saXZlP3JlY29yZGluZz0xMjk2czMKdXJsczEwCjIwMTUtMDEtMDFzNQp0aXRsZWIxczE3CmluY2x1ZGVfY29udGFpbmVyczEzOAogV2hpbGUgYmFjayBob21lIGZvciB0aGUgdG93bidzIGJpY2VudGVubmlhbCBmZXN0aXZpdGllcywgQmVuIGlzIHJldGFpbmVkIHRvIGRlZmVuZCBhIG1hbiBmb3IgdHdvIGhvbWljaWRlcyBsaW5rZWQgdG8gYSAxNS15ZWFyLW9sZCBjcmltZS5zNwpzdW1tYXJ5czcKNzMyMDAwMHM4CmR1cmF0aW9uczQKMTI5NnMxMApyYXRpbmdfa2V5czQKNzkzOHM3CmNoYW5uZWxyMAo_&includeRelated=1&includeRelatedCount=0
2015-01-07 20:07:53,088 (2c60) :  DEBUG (runtime:814) - Found route matching /video/nextpvr/:/function/CreateVideoObject
2015-01-07 20:07:53,088 (2c60) :  DEBUG (runtime:143) - Calling function 'CreateVideoObject'
2015-01-07 20:07:53,089 (2c60) :  CRITICAL (core:572) - Exception when calling function 'CreateVideoObject' (most recent call last):
  File "C:\Users\Nathaniel\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\code\sandbox.py", line 294, in call_named_function
    result = f(*args, **kwargs)
TypeError: CreateVideoObject() got an unexpected keyword argument 'includeRelated'

2015-01-07 20:07:53,092 (2c60) :  DEBUG (runtime:106) - Sending packed state data (111 bytes)
2015-01-07 20:07:53,092 (2c60) :  DEBUG (runtime:918) - Response: [404] NoneType, 0 bytes

I'm using what I believe are the most recent versions of the Plex Android app (3.8.3.295) and Plex Media Server (0.9.11.7.803-87d0708). Any ideas what the issue could be, or how to solve this?

@matthewrknoll
Copy link

I'm seeing something very similar when try to play live or recorded tv on any android device:

2015-02-21 13:06:28,148 (1a2c) : CRITICAL (core:572) - Exception (most recent call last):
File "C:\Users\matth_000\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
result = f(**d)
TypeError: CreateVideoClipObject() got an unexpected keyword argument 'includeRelated'

2015-02-21 13:06:28,151 (1a2c) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2015-02-21 13:06:28,151 (1a2c) : DEBUG (runtime:918) - Response: [500] 522 bytes
2015-02-21 13:06:28,341 (193c) : DEBUG (runtime:717) - Handling request GET /video/nextpvr/videoclipobject?channel=7159&container=mp2ts&include_container=True&includeRelated=1&includeRelatedCount=0&rating_key=5&summary=NONE&title=NBC5%20%20%20%20%3A%20English%20Premier%20League%20Soccer&url=http%3A%2F%2F127.0.0.1%3A8866%2Flive%3Fchannel%3D5%26sid%3Dplex%26client%3D3bf00a01fefa652a-com-plexapp-android
2015-02-21 13:06:28,344 (193c) : DEBUG (runtime:814) - Found route matching /video/nextpvr/videoclipobject
2015-02-21 13:06:28,344 (193c) : CRITICAL (core:572) - Exception (most recent call last):
File "C:\Users\matth_000\AppData\Local\Plex Media Server\Plug-ins\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
result = f(**d)
TypeError: CreateVideoClipObject() got an unexpected keyword argument 'includeRelated'

2015-02-21 13:06:28,345 (193c) : DEBUG (runtime:106) - Sending packed state data (111 bytes)
2015-02-21 13:06:28,346 (193c) : DEBUG (runtime:918) - Response: [500] 522 bytes

@burnnat
Copy link
Author

burnnat commented Feb 22, 2015

@matthewrknoll I just submitted a PR for the workaround I used to get past this on my system. You might want to try it out and see if it works for you.

@joseluispino
Copy link

Not sure if this change was merged back to the main code stream. I found I had to make similar changes w/ latest to get it to work with Android. I've attached the file.
init.py.txt

@psyciknz
Copy link
Owner

psyciknz commented Jan 3, 2016

Ta.  I'll check I committed  in GitHub.

On Sat, Jan 2, 2016 at 9:37 PM -0800, "Jose Luis Pino" notifications@github.com wrote:

Not sure if this change was merged back to the main code stream. I found I had to make similar changes w/ latest to get it to work with Android. I've attached the file.

@joseluispino

Styling with Markdown is supported

Write Preview

init.py.txt


Reply to this email directly or view it on GitHub.

@psyciknz
Copy link
Owner

Should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants