[mythtv-users] mythfilldatabase not processing "updates" from SD for existing programs
Bill Meek
keemllib at gmail.com
Mon Sep 29 20:08:50 UTC 2014
On 09/29/2014 01:29 PM, Gary Buhrmaster wrote:
> On Mon, Sep 29, 2014 at 6:07 PM, Brian J. Murrell <brian at interlinx.bc.ca> wrote:
> ....
>> Am I the only one seeing this?
>>
>> I'm running 0.27+fixes from g2d4a7c9 FWIW.
>
> I remember a specific case with mythfilldatabase (usually caused
> by running mythfilldatabase under different userids at some point
> in the testing cycle, but could possibly be others) where one
> will get old data due to not cleaning up a specific temp file
> (fundamentally a permissions issue). The easiest temporary
> solution is, as Mike says, just remove the files in /tmp, although
> most would agree that that is really just a bypass, and not a fix.
> There is a pending patch in trac (12253) to (attempt) to resolve
> the specific issue for the identified case. You might want to
> apply it (and its pre-req) and see if it resolves your issues.
> Remember to bump the api in your test builds (as specified
> in the ticket).
Very nice. Comments from a 0.28-pre user:
Just tested it and it looks like it would eliminate this type
of question from the list (for the stale /tmp file case.)
And IRC and Forum. OK, assuming everyone updates to a current
version.
It appears that you've made the single source case work like the
multiple source case, and added logging when the temporary file
can't be created.
The existing multiple source code stores the temporary file here and
doesn't seem to have changed:
/tmp/mythtv_ddp_5fG8I9/mythtv_dd_cache_1_<SDlogin>_UTC_20140927190639_to_20141014190639
Someone testing their Schedules Direct feed might argue that they
can't look at the data that was downloaded. But that's not true.
The output of mythfilldatabase will tell the user where the file
is and it's just a matter of cd'ing there and when the mfdb output
says the file's been downloaded, do a cp <filename> /tmp/whatever.
There's plenty of time to do that before the file & directory get
removed.
--
Bill
More information about the mythtv-users
mailing list