[mythtv-users] Email notifier of recorded shows
Greg Estabrooks
greg at phaze.org
Mon Aug 30 13:24:35 EDT 2004
> > What I'm after is a script that will send me a mail once a day with what shows
> > have been recorded, what are to be recoreded etc. Does one exist? If not I
> > might be off to write one.
>
> AFAIK there isn't anything at the moment; you could likely write
> something as an easy script call to mysql's command line client, if you
> speak SQL.
Actually wouldn't mythbackends --printexpire and --printsched do the trick?
For example Here is what is upcoming on my box:
mythtv at woop:~$ mythbackend --printsched
2004-08-30 14:22:10 Connecting to backend server: 192.168.0.10:6543 (try 1 of 1)
2004-08-30 14:22:10 Using protocol version 13
Retrieving Schedule from Master backend.
--- print list start ---
Title - Subtitle Chan ChID Day Start End S C I T N Pri
Growing Up Gotti - "Grad to Meet Yo 16 1016 30 22:30-23:00 1 0 0 C L 0
Airline - "That's Entertainment!" 16 1016 30 23:30-00:00 1 1 1 W 1 0
Growing Up Gotti - "Grad to Meet Yo 16 1016 31 02:30-03:00 1 1 1 O 1 0
Smallville - "Legacy" 7 1007 31 20:00-21:00 1 1 1 W 1 0
Chappelle's Show 49 1049 31 23:30-00:00 1 0 0 C P 0
The Daily Show With Jon Stewart - " 9 1009 01 00:05-00:38 1 1 1 T 1 0
Chappelle's Show 49 1049 01 03:00-03:30 1 0 0 C P 0
The Daily Show With Jon Stewart - " 9 1009 02 00:05-00:38 1 1 1 T 1 0
The Daily Show With Jon Stewart - " 9 1009 03 00:05-00:38 1 1 1 T 1 0
The Daily Show With Jon Stewart - " 9 1009 04 00:05-00:38 1 1 1 T 1 0
Growing Up Gotti - "Grad to Meet Yo 16 1016 06 03:00-03:30 1 1 1 O 1 0
Smallville - "Memoria" 7 1007 07 20:00-21:00 1 1 1 W 1 0
The Daily Show With Jon Stewart 9 1009 08 00:05-00:38 1 1 1 T 1 0
Chappelle's Show 49 1049 08 03:00-03:30 1 0 0 C P 0
The Daily Show With Jon Stewart 9 1009 09 00:05-00:38 1 1 1 T 1 0
Growing Up Gotti - "Loons Over Miam 16 1016 09 03:00-03:30 1 0 0 C P 0
The Daily Show With Jon Stewart 9 1009 10 00:05-00:38 1 1 1 T 1 0
--- print list end ---
And here is what is currently recorded:
mythtv at woop:~$ mythbackend --printexpire
MythTV AutoExpire List (programs listed last will expire first)
Growing Up Gotti: "Manscaping" Mon Aug 30 03:30:00 2004 1521 MBytes
Starhunter Sun Aug 29 22:00:00 2004 3295 MBytes
Andromeda: "Una Salus Victus" Sat Aug 28 19:00:00 2004 3297 MBytes
The Daily Show With Jon Stewart: "Ed Gil Thu Aug 26 00:05:00 2004 1809 MBytes
The Daily Show With Jon Stewart: "John K Wed Aug 25 00:05:00 2004 1811 MBytes
The Daily Show With Jon Stewart Tue Aug 24 00:05:00 2004 1812 MBytes
Growing Up Gotti: "Getting in Shape" Mon Aug 9 22:30:00 2004 1683 MBytes
Growing Up Gotti: "Mother's Day" Mon Aug 2 23:00:00 2004 1684 MBytes
Growing Up Gotti: "Selling the House; Bl Mon Aug 2 22:30:00 2004 1659 MBytes
Not the prettiest listings but it would give you the info at least.
More information about the mythtv-users
mailing list