[mythtv-users] Myth Recording Extender almost working
Ryan Rustong
ryan.rustong at gmail.com
Thu May 3 23:57:29 UTC 2007
I finally decided to give the Myth Recording Extender a try since I have
been missing the end of all the NHL games. I figured out how to install it
and changed the config file to point to my database with the proper password
and got it running using the nohup mre.php & command. I say it almost
works, because it has extended the end time of a couple games, but not far
enough. It seems like it extends the end time 5 minutes and then forgets
about it. My only clue is the status line that says " Skipping write of
recording rule, not a valid type!" However, I don't know enough about PHP
to diagnose why it is telling me that. Not sure if it is talking about the
type of recording rule I have set in Myth, but I have Myth set to record
"NHL Hockey" at any time on any channel. If anyone can help me out I would
really appreciate it, I'm tired of missing the end of the games, and I don't
really want to set a blanket rule to extend all NHL recordings. I set the
logging level to 3 for debugging and here is an example of what I get at the
end of a game, I also put my mre.conf file after the log clip.
Thu, 03 May 2007 00:28:00 -0400
array(2) {
[0]=>
string(7) "Detroit"
[1]=>
string(8) "San Jose"
}
Title: NHL Hockey
Subtitle: Detroit Red Wings at San Jose Sharks
Channel: 6032
Ending: 2007-05-03 00:30:00
Monitored: Yes (NHLEvent)
Status: Skipping write of recording rule, not a valid type!
Event isn't over. Recording extended.
Title: Late Show With David Letterman
Subtitle:
Channel: 5703
Ending: 2007-05-03 00:37:00
Monitored: No
Sleeping for 5 minutes.
===============================
Thu, 03 May 2007 00:33:00 -0400
array(2) {
[0]=>
string(7) "Detroit"
[1]=>
string(8) "San Jose"
}
Title: NHL Hockey
Subtitle: Detroit Red Wings at San Jose Sharks
Channel: 6032
Ending: 2007-05-03 00:35:00
Monitored: Yes (NHLEvent)
Status: Skipping write of recording rule, not a valid type!
Event isn't over. Recording extended.
Title: Late Show With David Letterman
Subtitle:
Channel: 5703
Ending: 2007-05-03 00:37:00
Monitored: No
Sleeping for 5 minutes.
===============================
Thu, 03 May 2007 00:38:00 -0400
Sleeping for 5 minutes.
===============================
Thu, 03 May 2007 00:43:00 -0400
Sleeping for 5 minutes.
Here is my mre.conf file:
; MRE configuration file
; $Id: mre.conf.in,v 1.2 2006/08/13 21:48:57 dbattams Exp $
; ============================
; Global configuration options
; ============================
; *** Database/MythTV options ***
; Hostname of the MySQL server that contains the MythTV database
dbhost = localhost
; Name of the MythTV database
dbname = mythconverg
; User name of the MythTV database
dbuser = mythtv
; MythTV database password
dbpwd = mypass
; Hostname of the MythTV master server
mythserv = localhost
; *** Recording settings ***
; Allow MRE to shorten recordings if event monitor reports early ending?
compress = false
; Should MRE ignore invalid event monitor or consider event always in
progress?
ignore = false
; Maximum hours MRE can extend a recording
length = 2
; *** Application settings
; Unprivledged user to run as, if started as root
; This script will not run as root
user = nobody
; Run MRE as daemon? Requires pcntl_* functions built into PHP
daemon = false
; Number of minutes to sleep between runs
sleep = 5
; Logging level (0 = normal, 1 = +error, 2 = +warning, 3 = +debug)
verbose = 3
; Log file
log = /var/log/mre/mre.log
; Invalid cache file
cache = /tmp/mre.cache
Thanks,
Ryan
--
"If riding in an airplane is flying, then riding in a boat is swimming. If
you want to experience the element, get out of the vehicle."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070503/c023ba32/attachment.htm
More information about the mythtv-users
mailing list