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 … 473 474 475 476 477 … 1231 Next »
check for recording in progress??

 
  • 0 Vote(s) - 0 Average
check for recording in progress??
agidius
Offline

Senior Member

Posts: 469
Threads: 77
Joined: Apr 2006
#1
2007-09-14, 03:58 AM
I was wondering if there was a way to have a batch file check if there was a recording in progress.

there are a few things I would like the nightly batch file to do but not if it will interfere with a recording.
Server--AthlonXP 2100+ \ PVR150MCE \ HVR1600 x2
Client 1--Athlon64 3200+
Client 2--Athlon64 3700+
Client 3--Turion64x2 1.9 laptop
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#2
2007-09-14, 04:05 AM
There is nothing built in that would do this for you.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#3
2007-09-14, 10:18 AM
search for recstatus & check the results Wink
i use GBPVRcli for that task (information about pending & in-progress recordings)
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#4
2007-09-14, 10:19 AM (This post was last modified: 2007-09-14, 11:20 AM by pBS.)
is this a batch file you are running separately with scheduler or something?
you can use recordingstatus.bat to write to a file, and check that file from your batch to see if it's recording now or what...

here's my recordingstatus.bat that i use to mirror the gbpvr tray app to the registry for my lcd to read from...Big Grin
i'll modify it here to just output to a file...
and delete it if not recording, so just do a 'if exists recording.txt' etc. in your batch to read...
Code:
set cap001=
set cap002=
for /f "usebackq delims=: tokens=1,2,3,4,5" %%f in ('%2') do (
set cap1=%%h
set cap2=%%j)

source2:%cap2:~0,-1%>>rstatus.log
set cap01=%cap1:~0,-3%
set cap02=%cap2:~0,-1%

if not "%cap01%" EQU "Sleeping" (echo "%cap01%">recording.txt)
if not "%cap02%" EQU "Sleeping" (echo "%cap02%">recording.txt)
if "%cap02%%cap01%" EQU "SleepingSleeping" del /q recording.txt
save as recordingstatus.bat in gbpvr dir...
then notice as you record or watch tv, there willl be a file named recording.txt in gb dir...when not, it will be gone...
and you can read in it what is being watched/recorded...Smile
works with 2 recording sources or less only...

EDIT: silly me, first param [%1] is a y/n recording flag..
just do this:

Code:
if "%1"=="Y" (echo Y>recording.txt) else (del /q recording.txt)
and check for existance of the file in your batch file..Big Grin
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,534 2012-12-09, 11:28 PM
Last Post: dennit
  Inhibit Computer Shutdown While Recording rwnz 52 30,172 2012-04-03, 11:40 AM
Last Post: pBS
  Start PC for recording, Sleep/Hibernate when done Basher52 6 4,958 2011-12-17, 02:52 PM
Last Post: Sykor
  intermittent recording failures bcdudley 6 3,619 2011-09-28, 07:28 AM
Last Post: bcdudley
  Recording fails but only on one channel (live viewing still works) dshoup 5 3,507 2011-09-19, 01:15 AM
Last Post: sub
  Sattelite interent recording? crsfooddude 1 2,139 2011-07-26, 02:32 AM
Last Post: mvallevand
  Recording problem with Hauppauge Nova-S USB2 ... softfoot 4 3,377 2011-06-27, 02:06 AM
Last Post: sub
  How to kill an orphan Live TV recording? martint123 2 2,344 2011-05-16, 05:33 PM
Last Post: martint123
  SUB: Recording show in two pieces. Found bug(?) lif 10 5,077 2011-05-11, 09:30 AM
Last Post: jksmurf
  Order of tuner use for live tv and recording shaunpatrick77 1 1,731 2011-02-19, 10:49 AM
Last Post: martint123

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

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

Linear Mode
Threaded Mode