NextPVR Forums

Full Version: npvrProxy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Does anyone know anything about npvrProxy?

I see alot of pointers to windows locations in the file. Im running on linux and wondered if this needed changed or if there was some change in the API that is causing it to fail. The app is kinda old.

https://github.com/rogueosb/npvrProxy/bl...vrProxy.py

The channel lineup.json is what fails.

discover.json and lineup_status.json work as expected
Never heard of it. It looks pretty old. It pre-dates NextPVR being rewritten after v4.
Is there anything in this part of this code that you think might cause an issue? Its seems like the part of the code calling for the channel lineup that fails.

@app.route('/lineup.json')
def lineup():
lineup = []

for c in _get_channels():
c = c['channel']
url = '%s/auto/v%s' % (config['npvrProxyURL'], c['channelNum'])

lineup.append({'GuideNumber': str(c['channelNum']),
'GuideName': c['channelName'],
'URL': url
})

return jsonify(lineup)
I know psychic wrote one and for HDHR emulators like this proxy there is https://github.com/fHDHR/fHDHR_plugin_origin_NextPVR I have never tested it and so downloading any app from github buyer beware. It does use the new API the code for npvrProxy uses NEWA.

Martin
Small world I was looking for that guy. I didnt know that this app would work the same way. I seen it. Upon searching for answers for this last week I ran across this thread and reached out to the poster but he hasnt responded

https://www.reddit.com/r/PleX/comments/i..._question/
I believe this will work.
couldnt get that program to work however


https://github.com/xteve-project/xTeVe


xTeVe works you just need to make a play list of your channels in an m3u file and use



#EXTM3U x-tvg-url="http://SERVER:34400/xmltv/xteve.xml"
#EXTINF:-1, CHANNEL NAME
http://SERVER:8866/live?channel=CHANNELNUMBER
#EXTINF:-1, CHANNEL NAME
http://SERVER:8866/live?channel=CHANNELNUMBER
This URL lets NextPVR build it for you.

http://localhost:8866/service?method=channel.m3u

For your Ceton device you would need to add a parameter like &client=c1 &client=c2 so you have more than one at a time and import it 6 times and merge them if that is possible in Plex. If not you could make it more limited and add &client=CHANNELNUMBER but the same channel would only be used once.

Martin
interesting but there is a 480 stream limit in xteve so that would max the system out with 80 streams 480/6

Any other benefit from having it set up that way?

The playlist was a pain to make but it allowed me to add it into xTeVe and specify how many tuners it could use which I just set to the number of tuners in nextpvr.

Stream load time is lightning fast compared to cetonproxy that runs on exactly the same hardware but on my windows machine.

However no matter how hard I try to tweak it I cant manage to get the plutotv streams to play this way. I was looking forward to pulling them into the system but I cant get the stream to run

I can see the temp file grow but plex doesnt like it

However plex does play in RAW mode
I noted I am not interested in spending time getting this working in Plex. I don't even know or care why xteve is needed.

If you aren't worried about recording in Plex or only have one person watching Live TV then there is no issue.

Martin
Pages: 1 2