LinHES Forums http://forum.linhes.org/ |
|
R5B7 Upcoming Recordings not updating http://forum.linhes.org/viewtopic.php?f=17&t=10439 |
Page 1 of 1 |
Author: | SpeedyPenguin [ Sun Jun 11, 2006 11:00 am ] |
Post subject: | R5B7 Upcoming Recordings not updating |
I had been using KnoppMyth R4V5 for over a year successfully. A couple of months ago, I upgraded to R5B7 and noticed a problem where the TV listings (from zap2it.com) download properly every day, but the Upcoming Recordings display does not update until I restart the mythtv-backend. I don't know if this is related, but running mythfilldatabase shows the message "mythfilldatabase: Failed to fetch some program info" right before it finishes. There don't appear to be any errors in its output otherwise. Does anybody have an idea on how I can get the Upcoming Recordings display to update whenever the listings are updated without having to manually restart the backend? |
Author: | tjc [ Sun Jun 11, 2006 12:27 pm ] |
Post subject: | |
Wrap the db update in a script that includes a reschedule request. I've got one posted around here somewhere... Ah, here it is... http://mysettopbox.tv/phpBB2/viewtopic.php?t=10075 This one is far more elaboate than what you need, but it's not hard to cut it down to just the db fill and the reschedule bump for the backend. |
Author: | SpeedyPenguin [ Mon Jun 12, 2006 6:43 am ] |
Post subject: | [Solved] R5B7 Upcoming Recordings not updating |
Thanks for the tip, tjc. I made a script in the mythtv user's home directory directory called mythfilldatabase.sh that looks like this: Code: #!/bin/sh
/usr/bin/mythfilldatabase /usr/bin/mythbackend --resched Then I ran "chmod u+x mythfilldatabase.sh" to make the script executable as the mythtv user since the backend runs this script as the mythtv user. Then in Utilities/Setup, Setup, General, I changed the entry for "mythfilldatabase Path" from "mythfilldatabase" to "/home/mythtv/mythfilldatabase.sh". The script ran this morning at its usual time, and my Upcoming Recordings list shows a new day's worth of recordings without me having to restart the backend. Success! Of course, this begs the question: is this behavior considered a bug, or did something somehow get messed up with my specific setup? I was somewhat surprised that I didn't find forum posts from others who ran into the same problem when they upgraded to R5B7. Maybe it is already fixed in R5C7? |
Author: | tjc [ Mon Jun 12, 2006 6:52 am ] |
Post subject: | |
It's a bug. Something is wrong with your program guide feed setup but figuring out what would require a lot more detailed debugging. I need to do the resched because I'm monkeying with the DB after the fill finishes, but other than that it just works. If you setup a log file as shown in my example and plow through it you might find some clues. One thing to check for is permission problems caused by running mythfilldatabase as root in the past. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |