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 … 52 53 54 55 56 … 1231 Next »
Check recording status from batch file

 
  • 0 Vote(s) - 0 Average
Check recording status from batch file
adwiel
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2006
#1
2010-01-23, 09:02 PM
I want to check the recording status of GBPVR (recording, or not recording) in a batch file. So I can put the system into hibernation from Postprocessing.bat, if no recording is in progress.

I found an old utility RecStatus.exe what should the trick.
It is however not compatible with the current version of GBPVR (it cannot connect to GBPVR.mdb).

How could I do this?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,737
Threads: 767
Joined: Nov 2003
#2
2010-01-23, 09:30 PM
Sorry, I'm not aware of any utility you could use from a batch file to tell if the app is recording.
martint123
Offline

Posting Freak

UK, East Yorkshire
Posts: 4,658
Threads: 208
Joined: Nov 2005
#3
2010-01-23, 10:37 PM
You might want to take a look at http://gbpvr.com/pmwiki/pmwiki.php/Utility/SlimmGBPVR Which is both a windows app and a CLI tool.

Quote:Shutdown (hibernate, log off, restart, stand by or turn off) computer. If any recordings are currently active, the shutdown will occur when GB-PVR has finished its’ current recording session.

the CLI can tell you :-

Code:
E:\Program Files\devnz\gbpvr>gbpvrcli /tunerstatus
Sat1:Sleeping
rf:Sleeping
DVb-t1:Sleeping
DVB-t2:Sleeping
composite:Sleeping
E:\Program Files\devnz\gbpvr>
adwiel
Offline

Junior Member

Posts: 2
Threads: 1
Joined: Jan 2006
#4
2010-01-23, 10:45 PM
Hi martint123,

thanks for your reaction.
I'm going to try this; it sounds pretty good.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#5
2010-01-24, 09:45 AM
you can tell if there's *supposed* to be a recording going on or not...
just query the in-progress flag of recording_schedule..
of course this won't tel you if it's hung or anything...but it will tell you if it's suppose to be recording..

Code:
SELECT filename, oid  from RECORDING_SCHEDULE  where status = '1';"`
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Audio buzzing second time recording launched. dennit 2 4,557 2012-12-09, 11:28 PM
Last Post: dennit
  file types of recorded TV paul1 3 3,692 2012-09-30, 05:20 PM
Last Post: sub
  Inhibit Computer Shutdown While Recording rwnz 52 30,371 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,980 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,653 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,539 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,154 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,413 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,357 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,101 2011-05-11, 09:30 AM
Last Post: jksmurf

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

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

Linear Mode
Threaded Mode