NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 7 8 9 10 11 … 34 Next »
npvrProxy

 
  • 0 Vote(s) - 0 Average
npvrProxy
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#11
2023-02-21, 07:40 PM
It works fine. I was just updating the thread about the project incase anybody else comes along at some point an was trying to do something similar. which is the same way I found myself on this site. The search results were very limited.

Plutotv addon is just something I ran across on these boards since you started helping me. I was kinda impressed with it. I ran across a roku app you got as well but I couldnt find it in the roku store and have not had a chance to look at it yet any further.

Other than the plutotv streams I think its pretty well knocked out thanks to you. I do really appreciate all your help.

I switched it over to raw mode based off your suggestions. Plex plays it fine. Load time is a little longer. Im going to run this way for a while but performance seemed a little better with dynamic

Xteve is needed as middleware to emulate an hdhomerun. without it I was hard pressed to find a way to pipe it over. it has settings to buffer with ffmeg,vlc,its builtin buffer or client connect. results vary.

I am using it client connects to the streaming server at the moment only having xteve jockey the request for me. Its running pretty stable

I have not ran into any issues as you described.

I have had multiple streams going testing the system. I even had someone connected remotely to make sure it all worked and we were watching the same channel. neither kicked off. The temp file is named the channel name so different channels would not matter.

if your playing the Same channel plex works that out for you. When you try to watch a channel already in progress you have the option to start at the beginning of the program or start live. Either way it just uses the file already in use to do it I think.
When a tuner is running is the only time you are ask if you want to start the program from the beginning or live. If its not already using the tuner it just plays the channel live and does not say anything. If someone has been watching a long time you may have hours of feed to rewind with if some one else is already watching said channel.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#12
2023-02-21, 09:39 PM
If you are talking the plutotv extra for NextPVR yes I wrote it but I haven't been support it the content doesn't interest me enough. When it dies it dies.

After experimenting with the Raw mode file from the Ceton I only recommended it for Plex use since there didn't seem to be any reason to process it with ffmpeg twice.

You should be able to get streams in NextPVR but I'd be really surprised if you got 6 different streams via xteve unless they are NextPVR aware. The same channel I could see working.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#13
2023-02-22, 11:55 AM
xteve just passes the url to the client it shouldnt matter about the number of streams. As long as Nextpvr can handle it then it should be fine.It does track the tuner use. It lets you set the number of available tuners per source and it wont let you launch anymore if they are in use. Somehow it knows when the streams end to make the tuner available.

Pluto is not a big deal I just wanted its news stations, Its got some good ones. There is nothing but propaganda on the regular networks here.

here is what is seen in a terminal with xteve running and a channel is launched from the frontend

2023/02/22 06:29:06 [xTeVe] Streaming Info: URL was passed to the client.
2023/02/22 06:29:06 [xTeVe] Streaming Info: xTeVe is no longer involved, the client connects directly to the streaming server.
2023/02/22 06:29:20 [xTeVe] Buffer: false [-]
2023/02/22 06:29:20 [xTeVe] Channel Name: ABC
2023/02/22 06:29:20 [xTeVe] Client User-Agent: Lavf/LIBAVFORMAT_VERSION
2023/02/22 06:29:20 [xTeVe] Streaming URL: http://SERVERNAME:8866/live?channel=1008
2023/02/22 06:29:20 [xTeVe] Streaming Info: URL was passed to the client.
2023/02/22 06:29:20 [xTeVe] Streaming Info: xTeVe is no longer involved, the client connects directly to the streaming server.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#14
2023-02-22, 01:08 PM
Maybe you aren't understanding the issue. If the client parameter is not used, the original stream will stopped by NextPVR so you can't have multiple parallel streams. One Plex user could indeed watch CNN or FOX or NewsMAX on Pluto but only one, and if Plex was recording it would be stopped or if it started it would kill other instances. So your 6 tuners + Pluto tuners turn into a one tuner solution with no recording protection.

Think of the intended use of this function, an m3u playlist for vlc. Because there is no stop command involved, when the user changes channels via the m3u while watching, there is a forced server-side stop between plays.

Martin.
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#15
2023-02-22, 03:59 PM (This post was last modified: 2023-02-22, 04:34 PM by run088.)
I see.

It does stop when another channel is launched I just tested it. When its the same channel this is how it handles it.

Plex or nextpvr sees the other tuner stream and piggybacks it. It creates a second file in the nextpvr directory of the file that is playing. After the stream was stopped from the channel that launched first its temp file stayed there and kept growing and kept feeding the second file until the channel was stopped on the second device. then all the temp files disappeared


That leaves me a real ass backward way of doing it but it might be the only way. I need to see if I can run more than 1 xteve at a time with each one on a different port for plex to see.

Plex will combine the channels and sources but wont let you do it within 1 source. Then set each m3u8 list on each instance with a different client=

This would show each one as a different tuner in plex so plex knows that it can only play 1 channel at a time from that source.

That would make
xteve = port 34400 list client=c1
xteve2 = port 34400 list client=c2
xteve3 = port 34400 list client=c3
xteve4 = port 34400 list client=c4
xteve5 = port 34400 list client=c5
xteve6 = port 34400 list client=c6
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,767
Threads: 954
Joined: May 2006
#16
2023-02-22, 05:13 PM
As I suggested I think for your use case have the &client=channel number, let Plex manage the same channel, and if it runs out of the 10 tuners you have than it probably doesn't qualify for personal use anyway.

Martin
run088
Offline

Member

us
Posts: 133
Threads: 1
Joined: Mar 2020
#17
2023-02-23, 06:14 AM (This post was last modified: 2023-02-23, 06:49 AM by run088.)
It was alot of work but this worked.

To run more than one xteve you have to go into the setting.json file located in your data directory. These locations can be found in the gui but cant be changed there. You must edit the file and change the UUID for each xteve to get plex to add them and if you got more than one lineup you have to change the channel start number in that same setting file and make the number begin after the last number in the other xteve or xteve's and after any provider assigned number. Each xteve needs to be configured to run on its own port with its own temp files and data directories and they must be writable by the user.

Those were the only things to work out on the xteve side besides making service files to autostart the xteves which is outside this scope and can be found elsewhere

The channel mapping and m3u creation took me all day. Anybody wanting to take this on needs to know out the gate there is alot of grunt work in this part.

Everything is testing out fine so far. I opened up 3 different streams on my desktop and it played all 3 fine at the same time. The only thing I dont like so far is the epg scans for every source every time even though the sources are all set to the same source but my 1 odd ball pluto tuner I got testing. It works just not browser friendly. When I turned direct play force on the roku instead of auto it started playing those channels just fine
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


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

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

Linear Mode
Threaded Mode