Giter Club home page Giter Club logo

Comments (18)

psyciknz avatar psyciknz commented on July 18, 2024

Possibly easier to post me a message on the next pvr forums (or plex) Im on both as psycik. As I'll need you to post logs etc.

Regarding the 2nd issue post some logs - what I've seen sometime is some places have 10.3 style channel numbers, which has issues.

Regarding the first issue.
http://:8866/services?method=channel.listings.current&sid=plex&client=C07FF0ARDHJH

Will list all of the channels currently playing. If this list is different from what you see in nextpvr-plex then maybe there's something wrong with some of the entries and it's skipping them. Post the result of the call on your server and I can look at it

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

I've made some changes in this area finally, and had some success for live tv. Try this if stil linterest

from nextpvr.bundle.

ygalanter avatar ygalanter commented on July 18, 2024

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

So this is working for you?

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

i just downloaded the latest plugin and tried it on Plex 1.5.3.3580 under Windows 10... while trying to play Live TV items I get a "there was a problem playing this item" message.. What can I provide to help "debug"?

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

Is that using the app from windows store? Does using the web player change this?

Also what is your source data? E.g. I'm in nz, ours is h.264 with ac3 or aac. Audio.

Obviously I can't test mpeg2

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

this is trying to play live TV on plex server on the same PC.. not sure what you mean by web player? it's playing from NEXTPVR so i am not sure about h.264 or the audio?.. how do i tell?
thanks

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

Do you start a Plex app or do you use a browser to access Plex?

For the video the nextpvr recording logs should show that detail.

Also do you have channel numbers with decimal values?

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

So right click the plex app and open "plex" from there right? Ok that opens the plex web viewer in a browser looking at localhost.

I'm not sure what the nextpvr error is. Could be that plex is closing the connection as it's not getting anything - even though nextpvr looks like it's waiting.

Ok I see you're ATSC and:
2017-04-05 16:34:57.527 [DEBUG][5] Removing filter MPEG-2 Sections and Tables
2017-04-05 16:34:57.528 [DEBUG][5] Removing filter BDA MPEG2 Transport Information Filter
2017-04-05 16:34:57.528 [DEBUG][5] Removing filter MPEG-2 Demultiplexer

So I assume mpeg2. Likely that the decimal channel numbers are causing a problem.

In the plex logs\pms logs directory will be a nextpvr log (that the channel writes), it should list the URL I'm calling to access the channel. It should look something like this: /live?channel=12.2&sid=plex&client=vra1hepros10pb9 (this seems to be the nextpvr side of it)

I did make a change a while back for decimal channel numbers, but not sure if it was confirmed as working.

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

yes.. right click..

see attached log.. is shows the /live? url I believe..
Playvideo: http://127.0.0.1:8866/live?channel=2.1&sid=plex&client=7E77E4F0-CE9D-4AF2-8975-F7EFEC788F50

com.dcSoftware.plexapp.nextpvr.zip

thanks..

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

And if you run that url in a browser you get prompted to download a file? It should.

See I see nothing wrong with it, I'm passing the channel id as a decimal. Unless the problem is the mpeg 2 as in the code I'm doing this:
container = container,
video_codec = VideoCodec.H264,
audio_codec = 'aac_latm',
audio_channels=2,
optimized_for_streaming = True

You could try editing the NextPVR.bundle/Contents/Code/init.py file in the CreateVideoClipObject section.
And where you see the video codec and audio codec, try commenting them out with #
If that works, that could be a change I make.

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

Shouldn't be. Here's the same file from github
video_codec = VideoCodec.H264,
#video_codec = 'h264',
audio_codec = 'aac_latm',
audio_channels=2,

Also to be confusing there's a CreateVideoObject and a CreateVideoClipObject. The latter is used for live (I haven't fixed recorded content yet).

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

got it.. that seems to have fixed playing liveTV via Plex under a browser, also, Plex app on IOS, Plex app on AppleTV.. still gets an error on Plex app on XBOX.. but, again, it wasn't working anywhere until I made the change you suggested.. what I mean is that is now works on Win 10 brower, Plex App for IOS, and Plex App for Apple TV... not working on Plex for XBOX

Very much appreciate the help!!!

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

Ahh great. Ok. I'll make an update to the code to sort that out.

I might close off this issue once I've done it.

from nextpvr.bundle.

bandbbs2 avatar bandbbs2 commented on July 18, 2024

from nextpvr.bundle.

VRtrout avatar VRtrout commented on July 18, 2024

I also had live tv issues and commenting that out fix it. Thanks.
#video_codec = VideoCodec.H264,
#video_codec = 'h264',
#audio_codec = 'aac_latm',

ALSO: Just below those settings were these that were commented out
#bitrate = 13000,
#video_resolution=480,

I un-commented them out and gained the ability to adjust the playback bit-rate (the settings icon in the corner appeared, was not there before for live tv).

from nextpvr.bundle.

psyciknz avatar psyciknz commented on July 18, 2024

Should be fixed now.

from nextpvr.bundle.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.