[mythtv] proposed change to mythfilldatabase
Tom McKearney
tommck at gmail.com
Thu Jan 27 14:09:30 EST 2005
Yes, that might work. Also, having a custom script might not be a bad
idea either. It would still have to pass the postfile data to this
script (but can just pass the temporary file name). This seems like
it might be easier. I will go this direction, if nobody sees any
flaws with this approach.
Tom
On Thu, 27 Jan 2005 11:04:30 -0800, Gregorio Gervasio, Jr.
<gtgj at pacbell.net> wrote:
> >>>>> Tom McKearney writes:
> [...]
> t> My proposal is to add a command-line switch --save-post-files (or
> t> something) that just does everything that is done for an automated
> t> download, but creates the post-files in the current directory (instead
> t> of /tmp) and doesn't use wget...
>
> t> This way, I can fire off my scripts (which will ssh to another machine
> t> for the wget and then scp the files back) and then call
> t> mythfilldatabase with the retrieved files later (all in a cron job).
>
> It might be more useful to just provide an option or a
> database setting that tells mythfilldatabase to call a user program
> rather than wget/gunzip (or tv_grab_xxx for XMLTV).
>
> Along the same lines, here's a way to do it without myth
> changes: Hack up a "wget" script that does the ssh/wget/scp (or
> whatever you want). Change $PATH before running mythfilldatabase if
> you don't want to replace /usr/bin/wget. A little ugly, but it works.
> --
> Gregorio Gervasio, Jr.
>
More information about the mythtv-dev
mailing list