NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 7 8 9 10 11 … 47 Next »
NEWA Web Services

 
  • 0 Vote(s) - 0 Average
NEWA Web Services
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#1
2013-08-28, 01:05 AM
So I've been playing with a Plex Channel to read from the NEWA web services (I guess a similar principal to X-NEWA_ that mvallevand wrote.

Ideally I'd like any transcoding do be done at the plex side - this is being it knows the capabilities of the client requesting a video and will transcode the video accordingly.

I'm just trying to get any video to work...before trying to tackle the web services (in python - of which my knowledge is pretty low).

I grabbed a download link (which seems to return an m3u) - and then took the URL from inside this.

I've make a plex channel that has this direct video URL
Code:
http://pvr.lan:8866/public/download.aspx?rid=_wEC3Qc*&path=_wFl&mode=1

So now I'm trying to get plex to transcode this, and there's been a bit of to-ing and fro-ing but have now come up upon this error
Code:
Length: 0  Type: video/vnd.dlna.mpeg-tts
Content length for unknown type video/vnd.dlna.mpeg-tts is invalid - aborting

Seems plex is reporting the stream is 0 length (or something else is happening) - do you know if the response to the download request includes the length?

Are there any other options to me? A straight HTTP download? or a streamed download (not quite sure what I'm asking for here).

My final option would be to transcode it at newa - but then it would probably end up with a secondary transcode at the plex end depending on the client.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#2
2013-08-28, 01:15 AM (This post was last modified: 2013-08-28, 01:22 AM by mvallevand.)
For simply streaming a file why use NEWA which launches vlc to launch a new web server, the direct NextPVR interface to the oid

http:/ip:8866/live?recording=oid

is simpler

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#3
2013-08-28, 01:17 AM
Oh, so it is. Is this what you did in x-newa?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#4
2013-08-28, 01:22 AM
I actual try and use file playback because it works with comskip, resume, play in-progress etc in xbmc but it does fall back to this. Transcoding uses NEWA and VLC

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#5
2013-08-28, 01:23 AM
mvallevand Wrote:I actual try and use file playback because it works with comskip, resume, play in-progress etc in xbmc but it does falls backs to this. Transcoding use NEWA and VLC

Martin

So I grabbed an OID of an existing recording (986) and tried: http://192.168.1.60:8866/live?recording=966 on my local lan and was given a connection was reset message.

This isn't attempting live tv is it?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#6
2013-08-28, 01:26 AM
Yeah the page is odd but that is what I use, live is different. NextPVR only streams ts files.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#7
2013-08-28, 01:27 AM
you said "OID of an existing recording (986)" but your URL says 966
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#8
2013-08-28, 01:34 AM
whurlston Wrote:you said "OID of an existing recording (986)" but your URL says 966


986 it should be, it's the first OID in teh scheduled reocording table with a file name...ahh - tried a different video and this one triggered a download dialog in firefox (maybe the first one 986 didn't exist).

So now in plex I see:
Code:
2013-08-28 13:32:32,022 (23e4) :  INFO (logkit:16) - Length: 278710752  Type: video/MP2T
2013-08-28 13:32:32,022 (23e4) :  INFO (logkit:16) - Content length for unknown type video/MP2T is invalid - aborting

not sure how the length in the first line is invalid (unless it's too large by chance?)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,947
Threads: 956
Joined: May 2006
#9
2013-08-28, 01:44 AM
I think PMS wants m3u8 HLS files and you need toa add other types yourself.

Martin
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#10
2013-08-28, 01:46 AM
mvallevand Wrote:I think PMS wants m3u8 HLS files.

Martin

Can we do this? I haven't investigated trying to access the file directly via a channel (as in I can load the .ts files into a plex library and this works - but calling the local file system from a channel I have not tried)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,741 2020-05-02, 01:02 AM
Last Post: cweseloh
  gbpvr.com still somewhere in the NEWA code? jksmurf 0 2,087 2019-02-26, 01:29 AM
Last Post: jksmurf
  NEWA scheduled recording update ability broken in 4.2.2 snagglewest 0 2,034 2018-07-11, 12:12 AM
Last Post: snagglewest
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,134 2018-07-03, 03:26 AM
Last Post: jksmurf
  Newa snaitaz 8 4,708 2018-05-17, 09:30 PM
Last Post: sub
  NEWA Auto-Search Command Line Interface (CLI) UncleJohnsBand 40 37,853 2018-05-09, 12:50 AM
Last Post: jksmurf
  NEWA modern "NEW" page missing urls??? snagglewest 3 3,421 2017-12-03, 12:48 AM
Last Post: snagglewest
  Difference between NPVR and NEWA recordings lists Bobins 4 5,119 2017-09-27, 10:16 PM
Last Post: Bobins
  Legacy NEWA stu2j 4 4,536 2017-07-19, 12:21 AM
Last Post: stu2j
  Open classic EPG in NEWA very slow Peter Ingham 11 6,790 2017-04-21, 12:35 AM
Last Post: Peter Ingham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode