View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jun 11, 2006 11:00 am 
Offline
Joined: Thu Oct 28, 2004 7:06 am
Posts: 3
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?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 11, 2006 12:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 
PostPosted: Mon Jun 12, 2006 6:43 am 
Offline
Joined: Thu Oct 28, 2004 7:06 am
Posts: 3
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?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 12, 2006 6:52 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu