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 … 38 39 40 41 42 … 47 Next »
Fast Forward / Skip during Web Stream

 
  • 0 Vote(s) - 0 Average
Fast Forward / Skip during Web Stream
cbutera
Offline

Member

Posts: 63
Threads: 14
Joined: Feb 2006
#1
2007-03-08, 10:04 PM
Is there any way to fast forward or skip ahead using the web stream?

Currently there is a 10 sec Rew button that works and a 10 sec FF button (that didn't seem to work for me) - but either way - if I need to FF 15 minutes - that would take forever.

Is there something I'm missing? Or is this not possible?
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#2
2007-03-08, 10:44 PM (This post was last modified: 2007-03-08, 10:51 PM by FirstTeamOPS.)
See the wiki under "Known Limitations." Currently, anything streamed is considered a 'live' stream, even if it's a recorded show. Live streams do not have FF, RW, or seek.
chud
Offline

Member

Posts: 183
Threads: 18
Joined: Oct 2005
#3
2007-03-10, 05:02 PM
you can do it with streaming, but not with the method that the EWA currently uses. you have to stream to a file. see:

http://forums.nextpvr.com/showthread.php?t=23379
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#4
2007-03-10, 06:22 PM
Actually....when streaming a file you can skip forward and back in 10 second intervals via EWA when using an external player.....this has been available since the controls were added to the player page some time ago.....

You should be able to RW in 10 second interval while streaming live TV but not FF since it is live with only a few second delay.....

It is on the books to change the set 10 seconds to a user configurable skip amount....I just haven't gotten around to coding it yet......

If you want to doodle around and change the fixed amount in your own code you can simply change the +10 or -10sec lines in these two methods that are in web\public\player.aspx.cs to be what you want them to be....

I think you can change sec to min for minutes.......

Just stop your recording service....change the code and restart the recording service....just be aware your changes will be overlaid whenever you update GBPVR or install a new release of EWA.

Code:
//Method that makes VLC on the server skip forward 10 seconds on the currently playing item
        protected void skipForwardStream(object sender, EventArgs e)
        {
            StreamerPost strmPost = new StreamerPost();
            strmPost.Url = "http://localhost:8080/";
            strmPost.PostItems.Add("seek_value", "+10sec");
            strmPost.PostItems.Add("contorl", "seek");
            strmPost.Type = StreamerPost.PostTypeEnum.Get;
            string result = strmPost.Post();
            result = String.Empty;
        }

        //Method that makes VLC on the server skip backward 10 seconds on the currently playing item
        protected void skipBackwardStream(object sender, EventArgs e)
        {
            StreamerPost strmPost = new StreamerPost();
            strmPost.Url = "http://localhost:8080/";
            strmPost.PostItems.Add("seek_value", "-10sec");
            strmPost.PostItems.Add("control", "seek");
            strmPost.Type = StreamerPost.PostTypeEnum.Get;
            string result = strmPost.Post();
            result = String.Empty;
        }
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
FirstTeamOPS
Offline

Member

Posts: 245
Threads: 21
Joined: Mar 2006
#5
2007-03-11, 01:07 AM (This post was last modified: 2007-03-11, 03:21 AM by FirstTeamOPS.)
SWEET! I'll give it a try and let you know if I have any issues.

EDIT: Found an issue. The skip backward works fine (after about 10 second lag, but I expect that) but skip forward does not work. It's something in the code, I'm looking to see if I can find what it is.

EDIT 2: Found it. Spelling error:

Quote:protected void skipForwardStream(object sender, EventArgs e)
{
StreamerPost strmPost = new StreamerPost();
strmPost.Url = "http://localhost:8080/";
strmPost.PostItems.Add("seek_value", "+10sec");
strmPost.PostItems.Add("contorl", "seek");
strmPost.Type = StreamerPost.PostTypeEnum.Get;
string result = strmPost.Post();
result = String.Empty;
}

EDIT 3: FYI in Player.aspx:
Quote:<asp:LinkButton id="LinkButton1" runat="server" onclick="stopStream" ToolTip="Sop Playing"><font face="webdings">&#060</font></asp:LinkButton><img src="t.gif" width="10" height="14" border="0">

I really shouldn't criticize too much about spelling since I'm the #1 offender. Big Grin
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#6
2007-03-11, 11:04 PM (This post was last modified: 2007-03-11, 11:11 PM by UncleJohnsBand.)
FirstTeamOPS Wrote:SWEET! I'll give it a try and let you know if I have any issues.

EDIT: Found an issue. The skip backward works fine (after about 10 second lag, but I expect that) but skip forward does not work. It's something in the code, I'm looking to see if I can find what it is.

EDIT 2: Found it. Spelling error:



EDIT 3: FYI in Player.aspx:


I really shouldn't criticize too much about spelling since I'm the #1 offender. Big Grin

Thanks....both of those are fixed in the next relase.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Can't stream existing recordings Bobins 44 15,346 2018-07-18, 08:19 PM
Last Post: sub
  Error when trying to stream from NEWA on PC jksmurf 2 2,791 2017-02-27, 05:12 AM
Last Post: jksmurf
  Can't stream recordings to desktop browser but Live TV works. Bobins 8 4,452 2016-12-15, 07:40 PM
Last Post: Bobins
  Can't get live stream to work tripkip 2 2,986 2016-06-19, 01:48 PM
Last Post: UncleJohnsBand
  stream recorded nextpvr programs over internet? JJTraxx 6 7,056 2015-08-16, 09:21 PM
Last Post: UncleJohnsBand
  No Sound when trying to stream using the H264/MP4A/MPEG-TS Streamer Transcode Preset ww4397 17 9,921 2014-09-11, 12:46 AM
Last Post: UncleJohnsBand
  Computer Goes to Sleep in mid-Stream ww4397 5 3,320 2014-08-09, 03:12 PM
Last Post: UncleJohnsBand
  NEWA skip login for list of ips or local network dinki 4 2,591 2014-05-24, 12:38 AM
Last Post: mvallevand
  stream settings? OTAjunkie 3 1,771 2013-12-13, 01:47 AM
Last Post: UncleJohnsBand
  Cannot stream TV outside LAN ManicsMan 10 5,536 2013-04-08, 10:08 PM
Last Post: UncleJohnsBand

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

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

Linear Mode
Threaded Mode