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 … 181 182 183 184 185 … 433 Next »
0 byte recordings with HDHR Prime

0 byte recordings with HDHR Prime
l0res
Offline

Junior Member

Posts: 8
Threads: 2
Joined: May 2014
#11
2015-06-03, 01:02 AM
My signal level is very high, usually close to or at 100. If I do see something not recording, then I will try that.

It would seem to me that it should be fairly simple for NextPVR to check if a file is growing in size and if not, reset the HDHR and then restart the recording. Maybe sub will consider this.

Thanks for your help.
Spark
Offline

Member

Posts: 106
Threads: 32
Joined: Jan 2009
#12
2015-06-13, 12:17 AM
l0res Wrote:My signal level is very high, usually close to or at 100. If I do see something not recording, then I will try that.

It would seem to me that it should be fairly simple for NextPVR to check if a file is growing in size and if not, reset the HDHR and then restart the recording. Maybe sub will consider this.

Thanks for your help.
Heh..yeah.
http://forums.nextpvr.com/showthread.php...ings-again

It would be nice if it could retry it X times...but I think in another thread, sub said something about the logic in that area of the code is already very complex...
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#13
2015-06-13, 04:05 AM
What firmware version of the prime do you have? I vaguely remember I used to have 0 byte recordings intermittently, but lately I have not seen any. I am running HDHR version 20150406.

Attached is a script I use to dump HDHR config data, and will show if a tuner is locked on a channel or not
Output:
Code:
--------------------------------------------------
PrimeID: 1318E35A
PrimeIP: 192.168.10.142
--------------------------------------------------
/card/status : card=ready auth=success oob=success val=success
/lineup/location : ERROR: unknown getset variable
/sys/hwmodel : HDHR3-CC
/sys/model : hdhomerun3_cablecard
/sys/version : 20150406
--------------------------------------------------
Tuner0...
/tuner0/status : ch=qam:195000000 lock=qam256 ss=100 snq=100 seq=100 bps=1707040 pps=182
/tuner0/vstatus : vch=64 name=Syfy w auth=subscribed cci=unrestricted
/tuner0/channelmap : us-cable
--------------------------------------------------
Tuner1...
/tuner1/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner1/vstatus : vch=0
/tuner1/channelmap : us-cable
--------------------------------------------------
Tuner2...
/tuner2/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner2/vstatus : vch=0
/tuner2/channelmap : us-cable
Script:
Code:
@Echo off
GoTo :BEGIN
======================================================================================
======================================================================================
:BEGIN
    Set HDHRConfig="c:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe"
    Set pipeFile=c:\temp\x.tmp
    Set PRIMEID=*UNKNOWN*
    
    echo --------------------------------------------------    
    %HDHRConfig% discover > %pipeFile%
    type %pipeFile% | FIND "found at" > nul
    if %ERRORLEVEL% NEQ 0 (
        Echo Cannot find HDHR device
        GoTo :ENDJOB
    )
    FOR /F "tokens=3,6" %%D IN (%pipeFile%) DO (
        Set PRIMEID=%%D
        Set PRIMEIP=%%E
    )
    Echo PrimeID: %PRIMEID%  
    Echo PrimeIP: %PRIMEIP%
    if %1.==/reboot. (
        call :REBOOTDEVICE
    ) else (
        call :SCANDEVICE
    )
    GoTo :ENDJOB
    
:REBOOTDEVICE
    %HDHRConfig% %PRIMEID% set /sys/restart self > %pipeFile% 2>&1
    type %pipeFile% | FIND "unable to connect" > nul
    if %ERRORLEVEL%==0 (
        echo Sorry, unable to locate the device
        Set retCode=1
    ) else (
        echo Soft boot in progress...
    )
    del %pipeFile%
    GoTo :EOF
    
:SCANDEVICE    
    echo --------------------------------------------------
    Call :ExecCommand /card/status    
    Call :ExecCommand /lineup/location
    Call :ExecCommand /sys/hwmodel
    Call :ExecCommand /sys/model
    Call :ExecCommand /sys/version
    echo --------------------------------------------------
    echo Tuner0...
    Call :ExecCommand /tuner0/status
    Call :ExecCommand /tuner0/vstatus
    Call :ExecCommand /tuner0/channelmap
    echo --------------------------------------------------
    echo Tuner1...
    Call :ExecCommand /tuner1/status
    Call :ExecCommand /tuner1/vstatus
    Call :ExecCommand /tuner1/channelmap
    echo --------------------------------------------------
    echo Tuner2...
    Call :ExecCommand /tuner2/status
    Call :ExecCommand /tuner2/vstatus
    Call :ExecCommand /tuner2/channelmap
    GoTo :EOF

:ExecCommand
    %HDHRConfig% %PRIMEID% get %1 > %pipeFile%
    set /p token=<%pipeFile%
    echo %1 : %token%
    del %pipeFile%
    Goto :EOF
    
:ENDJOB    
    Pause
BrettB
Offline

Posting Freak

Saint Paul, MN, USA
Posts: 2,667
Threads: 170
Joined: Jun 2007
#14
2015-06-13, 06:46 AM
JavaWiz Wrote:Attached is a script I use to dump HDHR config data, and will show if a tuner is locked on a channel or not

I really liked JavaWiz's script. I've modified it to add the following:
  1. Added support for multiple HDHRs
  2. Added support different models of HDHRs (and DCR-2650) (with corresponding # of tuners)
  3. Added query for lock information
I hope that JavaWiz doesn't mind. Smile

Here's a sample output from my version:
Code:
==================================================
PrimeID: 20100465
PrimeIP: 192.168.163.105
--------------------------------------------------
/card/status : card=ready auth=success oob=success val=success
/lineup/location : disabled
/sys/hwmodel : WinTV-DCR-2650
/sys/model : hdhomerun3_cablecard
/sys/version : 20141124
--------------------------------------------------
Tuner0...
/tuner0/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner0/lockkey : none
/tuner0/vstatus : vch=0
/tuner0/channelmap : us-cable
--------------------------------------------------
Tuner1...
/tuner1/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner1/lockkey : none
/tuner1/vstatus : vch=0
/tuner1/channelmap : us-cable
==================================================

==================================================
PrimeID: 131C54E9
PrimeIP: 192.168.143.108
--------------------------------------------------
/card/status : card=ready auth=success oob=success val=success
/lineup/location : ERROR: unknown getset variable
/sys/hwmodel : HDHR3-CC
/sys/model : hdhomerun3_cablecard
/sys/version : 20150410beta2
--------------------------------------------------
Tuner0...
/tuner0/status : ch=qam:555000000 lock=qam256 ss=94 snq=100 seq=100 bps=14113536
pps=1344
/tuner0/lockkey : 192.168.143.10
/tuner0/vstatus : vch=804 name=WCCO HD auth=subscribed cci=unrestricted
/tuner0/channelmap : us-cable
--------------------------------------------------
Tuner1...
/tuner1/status : ch=qam:531000000 lock=qam256 ss=92 snq=100 seq=100 bps=13517952
pps=1288
/tuner1/lockkey : 192.168.143.10
/tuner1/vstatus : vch=805 name=KSTP HD auth=subscribed cci=unrestricted
/tuner1/channelmap : us-cable
--------------------------------------------------
Tuner2...
/tuner2/status : ch=qam:183000000 lock=qam256 ss=94 snq=100 seq=100 bps=8091520
pps=779
/tuner2/lockkey : 192.168.143.10
/tuner2/vstatus : vch=823 name=HIST HD HISTORY auth=subscribed cci=unrestricted
/tuner2/channelmap : us-cable
==================================================

==================================================
PrimeID: 103896FF
PrimeIP: 192.168.143.147
--------------------------------------------------
/card/status : ERROR: unknown getset variable
/lineup/location : ERROR: unknown getset variable
/sys/hwmodel : HDHR3-US
/sys/model : hdhomerun3_atsc
/sys/version : 20150406
--------------------------------------------------
Tuner0...
/tuner0/status : ch=auto6t:201000000 lock=8vsb ss=100 snq=89 seq=100 bps=1338108
8 pps=1272
/tuner0/lockkey : none
/tuner0/vstatus : ERROR: unknown getset variable
/tuner0/channelmap : us-bcast
--------------------------------------------------
Tuner1...
/tuner1/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner1/lockkey : none
/tuner1/vstatus : ERROR: unknown getset variable
/tuner1/channelmap : us-bcast
==================================================

==================================================
PrimeID: 131EA0C1
PrimeIP: 192.168.143.111
--------------------------------------------------
/card/status : card=ready auth=success oob=success val=success
/lineup/location : ERROR: unknown getset variable
/sys/hwmodel : HDHR3-CC
/sys/model : hdhomerun3_cablecard
/sys/version : 20150410beta2
--------------------------------------------------
Tuner0...
/tuner0/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner0/lockkey : none
/tuner0/vstatus : vch=0
/tuner0/channelmap : us-cable
--------------------------------------------------
Tuner1...
/tuner1/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner1/lockkey : none
/tuner1/vstatus : vch=0
/tuner1/channelmap : us-cable
--------------------------------------------------
Tuner2...
/tuner2/status : ch=none lock=none ss=0 snq=0 seq=0 bps=0 pps=0
/tuner2/lockkey : none
/tuner2/vstatus : vch=0
/tuner2/channelmap : us-cable
==================================================

Press any key to continue . . .

Here's my modified script:
Code:
@Echo off
GoTo :BEGIN
======================================================================================
REM Batch file to query HDHomeRun device status
REM Originally created by JavaWiz
REM Updated by Brett Bowman on June 13, 2015
REM     Added support for multiple HDHRs
REM    Added support different models of HDHRs (and DCR-2650) (with corresponding # of tuners)
REM     Added query for lock information
======================================================================================
:BEGIN
    Set HDHRConfig="c:\Program Files\Silicondust\HDHomeRun\hdhomerun_config.exe"
    Set pipeFile=c:\temp\x.tmp
    Set PRIMEID=*UNKNOWN*
    
    %HDHRConfig% discover > %pipeFile%
    type %pipeFile% | FIND "found at" > nul
    if %ERRORLEVEL% NEQ 0 (
        Echo Cannot find HDHR device
        GoTo :ENDJOB
    )
    FOR /F "tokens=3,6" %%D IN (%pipeFile%) DO (
        Set PRIMEID=%%D
        Set PRIMEIP=%%E
        call :PROCESSDEVICE %1
    )
    GoTo :ENDJOB

:PROCESSDEVICE
    echo ==================================================
    Echo PrimeID: %PRIMEID%  
    Echo PrimeIP: %PRIMEIP%
    if %1.==/reboot. (
        call :REBOOTDEVICE
    ) else (
        call :SCANDEVICE
    )
    echo ==================================================
    echo.
    GoTo :EOF
    
:REBOOTDEVICE
    %HDHRConfig% %PRIMEID% set /sys/restart self > %pipeFile% 2>&1
    type %pipeFile% | FIND "unable to connect" > nul
    if %ERRORLEVEL%==0 (
        echo Sorry, unable to locate the device
        Set retCode=1
    ) else (
        echo Soft boot in progress...
    )
    del %pipeFile%
    GoTo :EOF
    
:SCANDEVICE    
    echo --------------------------------------------------    
    Call :ExecCommand /card/status    
    Call :ExecCommand /lineup/location
    Call :ExecCommand /sys/hwmodel
    if "%token%"=="HDHR3-CC" (
        set maxtuner=2
    ) else if "%token%"=="HDHR3-US" (
        set maxtuner=1
    ) else if "%token%"=="WinTV-DCR-2650" (
        set maxtuner=1
    ) else (
        set maxtuner=0
    )
    Call :ExecCommand /sys/model
    Call :ExecCommand /sys/version

    FOR /L %%G IN (0,1,%maxtuner%) DO Call :SCANTUNER %%G

    GoTo :EOF

:SCANTUNER
    echo --------------------------------------------------
    echo Tuner%1%...
    Call :ExecCommand /tuner%1%/status
    Call :ExecCommand /tuner%1%/lockkey
    Call :ExecCommand /tuner%1%/vstatus
    Call :ExecCommand /tuner%1%/channelmap
    GoTo :EOF

:ExecCommand
    %HDHRConfig% %PRIMEID% get %1 > %pipeFile%
    set /p token=<%pipeFile%
    echo %1 : %token%
    del %pipeFile%
    Goto :EOF
    
:ENDJOB    
    Pause
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#15
2015-06-13, 03:17 PM
Thanks for the improvement, I'll update my version too!
« 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
  Failed recordings won't delete Spid4567 3 2,474 2023-07-14, 10:13 PM
Last Post: ZeDoZ
  All my recordings start 90 sec early ncsercs 2 1,366 2022-03-19, 03:28 AM
Last Post: sub
  Wake - Sleep Interaction -> Failed Recordings mikeh49 48 14,638 2021-03-21, 11:21 PM
Last Post: careads
  Most recordings are zero bytes virtualpaul 4 2,047 2021-01-29, 12:55 PM
Last Post: virtualpaul
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,086 2021-01-07, 08:47 AM
Last Post: sub
  Recordings not playing in browser FamilyGuyFan 1 1,434 2020-10-22, 10:18 PM
Last Post: mvallevand
  Recordings 1 minute off BobbyDing 7 2,800 2020-10-11, 08:07 PM
Last Post: mvallevand
  easy tools to remove adverts in recordings? V_J 6 3,993 2020-10-06, 02:37 AM
Last Post: Ehrlichia
  Black screen, no audio, & zero bit recordings mattman1968 1 1,548 2020-09-15, 12:19 AM
Last Post: mattman1968
  Recordings Date Format NumberFive 3 2,017 2020-05-14, 11:08 PM
Last Post: NumberFive

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

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

Linear Mode
Threaded Mode