NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 35 36 37 38 39 … 56 Next »
RecStatus - new version 0.98beta (April 4, 2005)

 
  • 0 Vote(s) - 0 Average
RecStatus - new version 0.98beta (April 4, 2005)
jimh
Offline

Member

Posts: 77
Threads: 9
Joined: Jan 2005
#1
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 Confusedends 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
jimh
Offline

Member

Posts: 77
Threads: 9
Joined: Jan 2005
#2
2005-04-05, 11:10 AM
PLEASE NOTE:

I just tracked down a bug in the way RecStatus handles non-AUTH SMTP servers (thanks Simon!).

If you use a non-AUTHenticating SMTP server with RecStatus, please download the RecStatus-098beta.zip package again.

You can find it here: RecStatus-098beta.zip or in the link in the prior post.

Enjoy!

- Jim
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#3
2005-04-08, 09:08 PM
I just tried out the new one today. It works great! It will really help out with planning recordings!

I have a shortcut on my quicklaunch bar pointing to a batch file with;

RecStatus.exe time=7d html=yes
c:\RecStatus.html

So with a single click, I see what all is scheduled for the next week!

Thanks a bunch.
jimh
Offline

Member

Posts: 77
Threads: 9
Joined: Jan 2005
#4
2005-04-08, 09:29 PM
Pioneer4x4 Wrote:I just tried out the new one today. It works great! It will really help out with planning recordings!

I have a shortcut on my quicklaunch bar pointing to a batch file with;

RecStatus.exe time=7d html=yes
c:\RecStatus.html

So with a single click, I see what all is scheduled for the next week!

Thanks a bunch.

Thanks for the shortcut idea - I hadn't thought of that!

By the way, if you enhance the included RecStatus.htm template file (or create a new one), please consider sharing it with me. In future releases, I hope to include a collection of user-created templates (not just the one I threw together) - the more choices people have, the better.

- Jim
Pioneer4x4
Offline

Posting Freak

Posts: 926
Threads: 50
Joined: Jan 2005
#5
2005-04-09, 12:36 AM
I have shortcuts to TONS of stuff, I'm always putting stuff in batch files for tasks like this. My quick launch bar goes the entire lenght of th task bar. If I use something, I copy it there. I hate the Program listing.


As for RecStatus, I might putz with the template. It seems so usefull as is.
PegasusWar
Offline

Junior Member

Posts: 8
Threads: 1
Joined: Jan 2005
#6
2005-04-10, 05:51 PM
Thanks for your very useful program. I use it in a batch file which is called after epg update and recording processing to check, if the server can go to standby:

Code:
@echo off
set checkMinutes=120
"%~dp0recstatus" time=%checkMinutes% silent=yes
if %errorlevel%==0 goto suspend1
echo %date% %time% Record is scheduled or running. Will not suspend.
goto ende

:suspend1
netstat -an |find ":5906"|find /i "establ"
if %errorlevel%==1 goto suspend2
echo %date% %time% MVP is connected on port 5906. Will not suspend.
goto ende

:suspend2
echo %date% %time%  Suspend is possible. No recordings in next %checkMinutes% minutes.
suspend.exe

:ende
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#7
2006-04-08, 01:15 PM
oooo...loving this with my smartie lcd..Big Grin but one thing missing..live tv details...
[or even currently timeshifting details..]
nothing seems to output this info anywhere...just recording status's..
love this program,nice n lean like i like 'em...lol
and tons of info....but no date formatting options Sad which i could work with if we had a way to output that seperately...like multi-ini or htm template selection from command-line..
how are you accessing the db info?
and does this info exist in db for livetv?
is the source available?
nice work..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
DenverDon
Offline

Junior Member

Posts: 17
Threads: 7
Joined: Nov 2005
#8
2006-04-11, 10:48 PM
I am trying to setup RecStatus to send an email with a list of pending recordings. The command line I am using is:

RecStatus.exe time=1d email=yes

The pertinent RecStatus.cfg lines are:

EmailFrom=GBPVR@Recording.Server
EmailSubject=GBPVR RecStatus Schedule Report

Also, 'EmailSendto' contains a valid email address.

And finally the results are (Pending recording lines ommited):

Authentication successful
<br>501 need MAIL FROM:<name@domain>
<br>RESULT: 503 need MAIL FROM:<name@domain>
<br>503 need MAIL command
<br>EXIT CODE: 1


I have tried several different values for EmailFrom in the config file (valid email addresses, garbage, etc.) but still get the exact same error.

Anybody have any ideas?

Thanks in advance,
-- Don
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  AutoRefresh - Updated 13th April, 2012 imilne 0 1,976 2012-04-13, 07:36 PM
Last Post: imilne
  Next version of the Community Skin McBainUK 0 1,443 2009-10-18, 07:57 PM
Last Post: McBainUK
  Next version of Music Plugin and MediaScanner MixMan 11 4,960 2009-10-01, 09:54 PM
Last Post: MixMan
  New version of StartPVRX2: v2.0.0 liteswap 6 3,189 2009-08-11, 05:07 PM
Last Post: liteswap
  New Release of the MDAPIFilter version 2.1 heerfordt 37 46,635 2009-07-28, 09:41 PM
Last Post: cybermaus
  Cinema Plugin - next version McBainUK 15 5,723 2009-07-21, 09:08 AM
Last Post: McBainUK
  CommunitySkin and SkinPlugin Version 4 released! McBainUK 13 4,936 2009-04-13, 01:11 AM
Last Post: steeb
  New version of StartPVRX2 liteswap 0 1,493 2009-04-07, 12:32 AM
Last Post: liteswap
  UltraXMLTV Enhancer Version 2 - Release Candidate zehd 0 1,252 2009-04-03, 06:01 PM
Last Post: zehd
  BurndvdX2 Version 1.0.1.8 posted to wiki pastro 1 1,403 2009-02-04, 03:50 AM
Last Post: pbb

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

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

Linear Mode
Threaded Mode