NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 233 234 235 236 237 … 433 Next »
Record successful, but leave a 0 kB file

Record successful, but leave a 0 kB file
haste18
Offline

Junior Member

Posts: 19
Threads: 7
Joined: Oct 2013
#11
2013-12-02, 12:43 PM
dumbest Wrote:Some of the hauppauge cards have this problem of not able to see the signal (even when there isn't any problem with the signal) after a bootup or reboot.
This is not the problem of NPVR cos even with other TV softwares, it see no signal too, and have to reboot PC till it see the signal again.

Is it not possible to reset the Hauppauge card without rebooting? And if so.. could this be done by NPVR if it detects that it has a problem with the signal?
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#12
2013-12-02, 02:18 PM
You could try the Device Stop, Start, Restart (if it exists) command line command. I used to do this with a tuner that would disappear after the computer came out of sleep. Worked some of the time. I ran a batch file with these commands started by Task Scheduler and triggered by wake from sleep.

I don't have my info available now as I'm away.

I found it on the net, try searching on the Device Start command. Takes some fiddling, but it did work, at least the batch file always ran. I directed the output to a log file so I could see that it worked.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#13
2013-12-02, 03:31 PM
I used DEVCON with some success in the past to get the status and if necessary restart a device when booting. http://support.microsoft.com/kb/311272
I started off just emailing myself the results. Here is a failure example.

USB\VID_2040&PID_2400\2401-00-0082B29D
Name: Hauppauge PVR USB2 AVS Video Capture
Driver is running.
USB\VID_2040&PID_9951\4027355045
Name: USB Composite Device
Device has a problem: 10.
2 matching device(s) found.
PCI\VEN_1131&DEV_7134&SUBSYS_C900185B&REV_01\3&61AAA01&0&48
Name: VideoMate TV SAA7134, Hybrid Capture Device
Driver is running.
1 matching device(s) found.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#14
2013-12-02, 11:48 PM
martint123 Wrote:I used DEVCON with some success

Hi martin, do you hapen to have the DEVCON script example to run that?
When did you run it, can you run it say 5mins before a recording, automagically, via one of the batch files in scripts?
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#15
2013-12-03, 03:22 AM
@jksmurf

I can get you my script but not until late Thursday US time.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#16
2013-12-03, 10:18 AM
I'll try to find it in one of my backup archives. My problem was a USB DVB-T tuner that didn't give data when waking from standby about once a month. I ran it from a wake from standby script as once the system was up and working I didn't seem to have the problem.

I remember now that the snag with my problem was that devcon only showed the failure AFTER a failed recording. When it came out of standby it showed as OK and only showed a failure once a recording had failed. So it wasn't a 100% sucess. Now I do a full power off and reboot once a week and I don't seem to get the problem as much, if at all.
Abbadon
Offline

Junior Member

Posts: 7
Threads: 2
Joined: Nov 2013
#17
2013-12-03, 12:35 PM
haste18 Wrote:Is it not possible to reset the Hauppauge card without rebooting? And if so.. could this be done by NPVR if it detects that it has a problem with the signal?

This wish would be a nice solution for that.

You could now already use such a USB-relay to powercycle the device once a day.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#18
2013-12-05, 12:25 PM
martint123 Wrote:I'll try to find it in one of my backup archives. My problem was a USB DVB-T tuner that didn't give data when waking from standby about once a month. I ran it from a wake from standby script as once the system was up and working I didn't seem to have the problem.

I remember now that the snag with my problem was that devcon only showed the failure AFTER a failed recording. When it came out of standby it showed as OK and only showed a failure once a recording had failed. So it wasn't a 100% sucess. Now I do a full power off and reboot once a week and I don't seem to get the problem as much, if at all.

OK thanks. I can still try it in wakeup.bat. The wiki says "Run after the ... resumes from sleep, before any recordings are started. No arguments. "
Sounds perfect for my wife.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
mikeh49
Offline

Posting Freak

Posts: 1,129
Threads: 81
Joined: Apr 2005
#19
2013-12-06, 05:54 PM
Here's my script, a sample of the log file, and the devcon help file. I ran this from Task Scheduler on wake. I expect wakeup.bat would be easier as it was a pain to figure out how to do it in Task Scheduler.

You'll have to go into Device Manager to find the ID (PCI_VEN etc) of your tuner. Devcon allows wild cards so you only need enough characters to uniquely ID the device. See the batch file.
HTPC: Optiplex 7010, HDHR Prime/Avermedia Duet A188, NPVR 4.2.5, Win10 Pro
Test:
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#20
2013-12-07, 06:17 AM
mikeh49 Wrote:Here's my script, a sample of the log file, and the devcon help file.

Thanks Mike, much appreciated.

Oddly it demands a system restart, I'll have to see why this is. Anyone got any tips to work this out?

Code:
echo off
echo %date% %time%
devcon status "USB\VID_2040&PID_5020&REV_0000"
devcon restart "USB\VID_2040&PID_5020&REV_0000"
:Reports the source of the wakeup
powercfg -lastwake


Code:
C:\Users\Kristian\Desktop\devcon>echo off
Sat 07/12/2013 14:09:48.98
USB\VID_2040&PID_5020\5&1153F663&0&1
    Name: DMB-T MiniStick
    Driver is running.
1 matching device(s) found.
USB\VID_2040&PID_5020\5&1153F663&0&1                        : [COLOR="#B22222"][B]Requires reboot
The 1 device(s) are ready to be restarted. To restart the devices, reboot the system.[/B][/COLOR]
Wake History Count - 1
Wake History [0]
  Wake Source Count - 1
  Wake Source [0]
    Type: Wake Timer
    Owner: [SERVICE] \Device\HarddiskVolume1\Program Files (x86)\NPVR\NRecord.exe (NPVR Recording Service)
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  incorrect frequency in adelaide .ini file spin35 5 3,035 2023-02-01, 05:40 PM
Last Post: sub
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,123 2021-05-05, 06:23 AM
Last Post: tvwatcher
  ts file shows length too long? SuttonWillow 2 1,910 2021-03-15, 01:56 PM
Last Post: mvallevand
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,074 2021-01-07, 08:47 AM
Last Post: sub
  Unhandled Exception: file name too long (idiots at pbs made it super long) jobby99 1 1,401 2020-10-29, 09:40 PM
Last Post: mvallevand
  ts file shows length too long SamM 4 2,331 2020-10-06, 02:45 AM
Last Post: Ehrlichia
  Possible to record in different format than .ts files? gadgetgaz 29 12,687 2020-10-04, 03:05 PM
Last Post: Ehrlichia
  EPG displaying small subset of xmltv file. Esteban 9 3,012 2020-07-18, 10:07 PM
Last Post: Esteban
  Max File Size jrockow 2 1,520 2020-04-21, 02:38 PM
Last Post: jrockow
  Can't record repeating programs dave22 2 1,812 2020-04-20, 04:27 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode