NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) GB-PVR Support (legacy) v
« Previous 1 … 19 20 21 22 23 … 1231 Next »
STB resets on power failure

 
  • 0 Vote(s) - 0 Average
STB resets on power failure
waveking
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2007
#1
2010-06-01, 04:54 AM
Hi,
I have TataSky and am planning to hook up PVR via an IR blaster. problem is that if during recording there is a power failure, then it takes about 20 seconds for our power backup to turn on the power. In that time as the STB got off, it reset to default channel on powering on.

In such a scenario how can I ensure that after power is resumed, the IR blaster sets the STB back to the same channel which was being recorded?
markbb1
Offline

Member

Posts: 155
Threads: 7
Joined: Jul 2006
#2
2010-06-01, 09:42 PM
waveking Wrote:Hi,
I have TataSky and am planning to hook up PVR via an IR blaster. problem is that if during recording there is a power failure, then it takes about 20 seconds for our power backup to turn on the power. In that time as the STB got off, it reset to default channel on powering on.

In such a scenario how can I ensure that after power is resumed, the IR blaster sets the STB back to the same channel which was being recorded?
If it happens frequently, I would suggest putting the STB AND the GBPVR PC on uninteruptible power (UPS).
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#3
2010-06-01, 10:52 PM (This post was last modified: 2010-06-02, 01:42 AM by pBS.)
ditto.. no other way for gbpvr to know when power has gone out..
lots of advantages to having a decent ups on the pvr machine..i have stb and router/modem on it too just in case..

although it should actually re-tune the channel if pvr lost power and it has to restart recording..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#4
2010-06-02, 02:49 AM
waveking Wrote:Hi,
I have TataSky and am planning to hook up PVR via an IR blaster. problem is that if during recording there is a power failure, then it takes about 20 seconds for our power backup to turn on the power. In that time as the STB got off, it reset to default channel on powering on.

In such a scenario how can I ensure that after power is resumed, the IR blaster sets the STB back to the same channel which was being recorded?
If UPS is not an option (seems like you already have some sort of power backup) then assuming your STB and PC both lose power and you have set the PC to automatically restart you could delay the start of GBPVR by 20 seconds after it reboots. It should do the channel change as soon as it resumes. Your recording will be split into 2 files.
waveking
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2007
#5
2010-06-02, 05:16 PM
Thanks for the ideas people.

My PC, is actually a laptop so when the power goes, the laptop not really shuts down or reboots. So the gbpvr never knows anything about the power failure.

The building has a power generator which switches on in about 20 seconds of a power failure. When the power goes naturally my STB turns off and when power resumes after 20 seconds, the STB come on again, BUT the channel gets reset after STB got turned on.

So, if GBPVR was already recording, it will now start recording the wrong channel.

Can there be a way for me to tell gbpvr to reset the channel to the channel being recorded?
Maybe by an external application which can update a file to let GBPVR know of the power status?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#6
2010-06-03, 12:27 PM
same advice still stands, get a cheap UPS and put the cable box on it..[and laptop too, to protect it's power input from surge]
smallest one you can find should be fine..[stb doesn't use much juice]
really no other easy way to do it...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
waveking
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2007
#7
2010-06-03, 02:16 PM
pBS Wrote:same advice still stands, get a cheap UPS and put the cable box on it..[and laptop too, to protect it's power input from surge]
smallest one you can find should be fine..[stb doesn't use much juice]
really no other easy way to do it...

I can code in windows to find when the power supply has come back. Can't I write a plugin or something for GBPVR which can, on reading a file or something, change the STB channel during recording?
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#8
2010-06-03, 03:03 PM
How do you change channels? If you are using some sort of external executable to IR blast then you could
a) when starting a recording or on any channel change, write the recording channel to some file so it can be externally found (this can be done by using a bat or cmd file to change channels from GBPVR rather than a native channel change)
b) if you notice the power restart then trigger the external channel change cmd without GBPVR using the saved channel as its arg, twenty seconds after the occurrence
--- This may result in issues if the capture method can't handle the loss of signal at the very least a twenty-thirty second blank in the recording

or even easier but resulting in two files:

a) after seeing the event wait the twenty seconds and simply stop and restart the GBPVR recording service which will cause the channel to change since GBPVR will essentially restart all recordings (this would work with multiple recording sources)

or
UPS as mentioned above
waveking
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2007
#9
2010-06-03, 06:08 PM
carpeVideo Wrote:How do you change channels? If you are using some sort of external executable to IR blast then you could
a) when starting a recording or on any channel change, write the recording channel to some file so it can be externally found (this can be done by using a bat or cmd file to change channels from GBPVR rather than a native channel change)
b) if you notice the power restart then trigger the external channel change cmd without GBPVR using the saved channel as its arg, twenty seconds after the occurrence
--- This may result in issues if the capture method can't handle the loss of signal at the very least a twenty-thirty second blank in the recording

or even easier but resulting in two files:

a) after seeing the event wait the twenty seconds and simply stop and restart the GBPVR recording service which will cause the channel to change since GBPVR will essentially restart all recordings (this would work with multiple recording sources)

or
UPS as mentioned above

Thanks, these ideas are close to what I am looking for. Yes, I am using UIRT IR blaster. Your idea to "restart the GBPVR recording service" sounds like it will do the job. But, need to be more clear on how to implement it. By recording service, do you mean a Windows service which GBPVR would have installed? Am I supposed to code my application to somehow use any GBPVR API to restart it or what?
carpeVideo
Offline

Posting Freak

Posts: 824
Threads: 23
Joined: Dec 2006
#10
2010-06-03, 06:54 PM
Its one of the commands on your startup menu - just call the short cut and it should do the trick
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  error: failure playing back file yonu 4 2,116 2010-07-12, 12:52 AM
Last Post: yonu
  Power DVD problems time_lord 6 2,552 2010-02-11, 10:11 AM
Last Post: time_lord
  IR Blaster - power on an STB icrra 1 1,497 2010-01-24, 07:20 PM
Last Post: rbelisle
  Auto-Convert TS recordings to mpeg failure dvasco 2 1,527 2009-11-02, 07:43 PM
Last Post: dvasco
  MVP crashes/resets when trying to view avi files medic29 5 2,050 2009-09-27, 05:25 PM
Last Post: medic29
  tuner busy after client failure Quintin 4 2,050 2009-09-16, 06:57 AM
Last Post: Barsk
  Multiple Recording Failure hasso 8 3,582 2009-07-12, 01:11 PM
Last Post: DrSoftware
  Daemon tools ISO playback failure buzzydotinfo 11 4,111 2009-06-25, 11:09 PM
Last Post: buzzydotinfo
  FiOS Router causes QAM scanning failure Ted the Penguin 3 1,681 2009-06-23, 01:27 PM
Last Post: Ted the Penguin
  Failure of recording to initialize properly resulting in a 64k file All Steamed Out 2 1,377 2009-05-03, 06:09 AM
Last Post: All Steamed Out

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

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

Linear Mode
Threaded Mode