2005-04-05, 12:21 AM
An updated version of RecStatus.exe is now available here: RecStatus-098beta.zip
New features:
1. more detailed listing of current and pending recordings found;
2. option to send an email reporting its results;
3. option to write an .html file reporting its reults (see a sample here);
4. uses RecStatus.cfg for configuration data;
5. includes RecStatus.htm, an HTML-formatted template that RecStatus can use when it generates HTML-output;
6. lists details of all programs currently being recorded (UNTESTED: I only have one tuner, so please try it and let me know :confused: )
7. a few other minor fixes/enhancements;
RecStatus is a command-line, standalone utility that checks to see:
1. whether GBPVR is currently recording one or more programs;
2. whether any recordings are scheduled to commence within a specified timeframe (for example, 5 minutes, 12 hours, 7 days, whatever).
Use it in a batch file to determine, for example, if it is safe to hibernate.
RecStatus returns the following exit codes depending upon what it finds:
Exit code:
0 - ALL CLEAR: not currently recording and no recording pending to start within the specified time window;
1 - ALERT: although no program is currently being recorded, at least one program is scheduled to start within the specified time window;
2 - ALERT: GBPVR is currently recording at least one program;
RecStatus can also be used to generate reports of upcoming, scheduled recordings.
Results can be emailed and/or stored in an HTML file.
For example, I added the following lines to my PostUpdateEPG.bat file:
RecStatus.exe time=1d email=yes ends me an email each night listing the recordings scheduled for the day;
RecStatus.exe time=7d html=yes :generates an HTML file (like this one) listing all of my recordings scheduled for the upcoming week.
Enjoy,
Jim
New features:
1. more detailed listing of current and pending recordings found;
2. option to send an email reporting its results;
3. option to write an .html file reporting its reults (see a sample here);
4. uses RecStatus.cfg for configuration data;
5. includes RecStatus.htm, an HTML-formatted template that RecStatus can use when it generates HTML-output;
6. lists details of all programs currently being recorded (UNTESTED: I only have one tuner, so please try it and let me know :confused: )
7. a few other minor fixes/enhancements;
RecStatus is a command-line, standalone utility that checks to see:
1. whether GBPVR is currently recording one or more programs;
2. whether any recordings are scheduled to commence within a specified timeframe (for example, 5 minutes, 12 hours, 7 days, whatever).
Use it in a batch file to determine, for example, if it is safe to hibernate.
RecStatus returns the following exit codes depending upon what it finds:
Exit code:
0 - ALL CLEAR: not currently recording and no recording pending to start within the specified time window;
1 - ALERT: although no program is currently being recorded, at least one program is scheduled to start within the specified time window;
2 - ALERT: GBPVR is currently recording at least one program;
RecStatus can also be used to generate reports of upcoming, scheduled recordings.
Results can be emailed and/or stored in an HTML file.
For example, I added the following lines to my PostUpdateEPG.bat file:
RecStatus.exe time=1d email=yes ends me an email each night listing the recordings scheduled for the day;
RecStatus.exe time=7d html=yes :generates an HTML file (like this one) listing all of my recordings scheduled for the upcoming week.
Enjoy,
Jim