NextPVR Forums

Full Version: Plex Plugin Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I was advised in the Plex plugin community forum to open a new thread and continue with troubleshooting. I've chosen the standard support forum. If that is wrong, please move the thread..

Here is the npvr log from plex right after the failure.
As far as the other question.

I use newa to access the guide all the time. I clicked the view now choice and I did indeed see the stream from another pc on the lan.

I then tried the same thing from the android. When I pointed the browser to 192.168.1.204:8866 I got a long runtime error message and the address had added /mobile.

Unfortunately, I don't understand any of this.
IanSpringfield Wrote:As far as the other question.

I use newa to access the guide all the time. I clicked the view now choice and I did indeed see the stream from another pc on the lan.

I then tried the same thing from the android. When I pointed the browser to 192.168.1.204:8866 I got a long runtime error message and the address had added /mobile.

Unfortunately, I don't understand any of this.

What machine is nextpvr on?

Looking in the plex log it seems to be looking for http://pvr:8866/ Maybe go into the nextpvr plex channel preferences and change it to that ip address 192.168.1.204 as you tried to do in the browser. Although that said it's using the same link to get the channel listing that it's getting those.

Try one of these in a browser, both computer and android to confirm they work....they should: http://pvr:8866/live?channel=8292&sid=pl...pp-android

So I just tried mine (which is IOS) and I was able to play live tv.
Code:
2015-07-20 07:27:27,411 (3380) :  INFO (logkit:16) - Session data not found
2015-07-20 07:27:27,417 (1e3c) :  DEBUG (runtime:717) - Handling request GET /video/nextpvr/videoclipobject?channel=7224&container=mp2ts&include_container=True&rating_key=1&summary=Start%2Byour%2Bday%2Boff%2Bright%2Bwith%2BNew%2BZealand%2527s%2BBreakfast,%2Bgiving%2Byou%2Bbreaking%2Bnews,%2Bthe%2Blatest%2Bweather,%2Band%2Beverything%2Belse%2Byou%2Bneed%2Bto%2Bget%2Ba%2Bhead%2Bstart%2Bfor%2Bthe%2Bday%2E&title=TV%2BONE%2B%3A%2BBreakfast&url=http%3A%2F%2FMorgoth%3A8866%2Flive%3Fchannel%3D1%26sid%3Dplex%26client%3DAF95244F-8159-4A55-AEED-849E7A7ED32A
2015-07-20 07:27:27,418 (1e3c) :  DEBUG (runtime:814) - Found route matching /video/nextpvr/videoclipobject
2015-07-20 07:27:27,418 (1e3c) :  INFO (logkit:16) - CreateVideoClipObject Getting artwork url "http://Morgoth:8866/service?method=recording.artwork&recording_id=1&sid=plex"
2015-07-20 07:27:27,421 (1e3c) :  INFO (logkit:16) - CreateVideoClipObject: Playvideo: http://Morgoth:8866/live?channel=1&sid=plex&client=AF95244F-8159-4A55-AEED-849E7A7ED32A

Yours however, seems to be a little different:
Code:
2015-07-16 15:12:49,914 (1600) :  DEBUG (runtime:918) - Response: [200] DataObject, 12367 bytes
2015-07-16 15:12:53,081 (9f0) :  DEBUG (runtime:717) - Handling request GET /video/nextpvr/videoclipobject?channel=7214&container=mp2ts&include_container=True[B]&includeRelated=1[/B]&includeRelatedCount=0&rating_key=360&summary=Shepard%2BSmith%2Bhas%2Bbeen%2Ba%2BTV%2Bjournalist%2Bsince%2Bthe%2Bmid-'80s%2Band%2Ba%2Bpart%2Bof%2BFOX%2BNews%2BChannel's%2Bon-air%2Bteam%2Bsince%2Bthe%2Bnetwork%2Blaunched%2Bin%2B1996%2C%2Bbut%2Bit's%2Ball%2Babout%2B21st-century%2Btechnology%2Bon%2Bthis%2Bmidday%2Bshow%2C%2Bwhich%2Bserves%2Bas%2Ba%2Breplacement%2Bfor%2Bhis%2Blong-running%2B%22Studio%2BB%22%2Bprogram.%2BThe%2Bhourlong%2Bshow%2Bthat%2Bfocuses%2Bon%2Bbreaking%2Bnews%2Bis%2Bhoused%2Bin%2Ba%2Bnewly%2Bconstructed%2Bstudio%2C%2Bdubbed%2Bthe%2BFOX%2BNews%2BDeck%2C%2Bthat%2Bcombines%2Btechnology%2B--%2Bincluding%2Breal-time%2Bnews%2Bfeeds%2Band%2Bdigital%2Bmedia%2Bnewsgathering%2B--%2Band%2Bsocial%2Bmedia%2Bto%2Bbring%2Bthe%2Blatest%2Bnews%2Bto%2Bviewers%2Bacross%2Ba%2Bnumber%2Bof%2BFNC%2Bplatforms.&title=FNC%2B%3A%2BShepard%2BSmith%2BReporting&url=http%3A%2F%2Fpvr%3A8866%2Flive%3Fchannel%3D360%26sid%3Dplex%26client%3D81384ae18913dddd-com-plexapp-android

This includerelated seems to be what it doesn't like, Seems to be something the android client is posting.

So I've had a little bit of a hack around this morning, and tried adding the includerelated parm.

I have a new code file here, so this file, download it, unzip it and you'll be left with a _init.py file. Copy that to: <plex data location, normally the user plex is running under, ie users\username>\AppData\Local\Plex Media Server\Plug-ins\NextPVR.bundle\Contents\Code


See how you go with that. Once played with it (hopefully it wont cauuse you any other errors, post me the same log again.
And we'll keep trying iterations then I can update git.
Lots of stuff in that post, so let me take a few posts to cover everything.

NextPVR runs on a machine called "PVR" at address 192.168.1.204

I went into channel preferences and changed the server name from "PVR" to 192.168.1.204. This change did not fix the problem.

Both on a PC and on the android, using firefox, I was able to view livetv when I used the address you provided.
rbmcgee Wrote:Lots of stuff in that post, so let me take a few posts to cover everything.

NextPVR runs on a machine called "PVR" at address 192.168.1.204

Yep, I managed to figure that out...

rbmcgee Wrote:I went into channel preferences and changed the server name from "PVR" to 192.168.1.204. This change did not fix the problem.

And nope I guessed it wouldn't after figuring out that PVR was 192.168.1.204.

rbmcgee Wrote:Both on a PC and on the android, using firefox, I was able to view livetv when I used the address you provided.

Good. As this means technically the plugin is working....it's something your android client is passing that I'm not able to handle. No other client I've seen passes this "includerelated" parameter.


So have you been able to try that new code file I posted as an attachment?
Yep, just got through trying the new file file. Just to review.

I downloaded and unzipped the file.
I replaced the _init_.py file in the nextpvrbundle/code folder with your new file. I then rebooted everything.

Tried again, same message.

Here is the new log (I hope I grabbed the right one).
FYI,

The android is running CM9 ICS 4.0.4 if it matters.
rbmcgee Wrote:Yep, just got through trying the new file file. Just to review.

I downloaded and unzipped the file.
I replaced the _init_.py file in the nextpvrbundle/code folder with your new file. I then rebooted everything.

Tried again, same message.

Here is the new log (I hope I grabbed the right one).

Oooh, progress...it's not complaining about includerelated now...but 'includeRelatedCount'....so maybe we're on to something.

Try this one.
Tons-o-progress.

The error message is gone and livetv at least starts to play.

I'm going to try and understand, and be able to explain, the issues I experience. It may be that the issues are related to Plex and not to the plugin.
rbmcgee Wrote:Tons-o-progress.

The error message is gone and livetv at least starts to play.

I'm going to try and understand, and be able to explain, the issues I experience. It may be that the issues are related to Plex and not to the plugin.

Yeah I believe it was your plex client....not plex, nor the plugin. The android client seemed to add two extra keywords - includeRelated and includeRelatedCount that no other client I've used passes (and this includes kodi's PlexBmc, Plex Home Theater, Plex Samsun Client, PLex Roku Client, IOS clients and Web Client).

So it is working successfully now? You say live tv starts to play, almost implying it stops?
Pages: 1 2 3