Mailing List Archive

command line option for mythfilldatabase?
hi,

may it be possible to give a command line option to mythfilldatabase,
giving it an external .xml file and only fetching the file itself with
tv_grab_* if no option is given?
this could make it easier to implement other grabbers and sources
for people not having a working tv_grab_*...

just a suggestion ;-)

daniel

--
email: daniel@paessler.org / phone: +49 3722 83884
fax: +49 89 244365117 / web: www.paessler.org

An unknown Japanese man once said ...
Ama soyia aim duhanikam ianaka tsa akaneng...!
And that is why he is still unknown.
Re: command line option for mythfilldatabase? [ In reply to ]
At 20-11-02 12:40, you wrote:
>may it be possible to give a command line option to mythfilldatabase,
>giving it an external .xml file and only fetching the file itself with
>tv_grab_* if no option is given?

OK, I'll write it and send in the patch within one to three days...
(Want it myself as well :-)

Erik
Re: command line option for mythfilldatabase? [ In reply to ]
OK, even faster than I promised:

This patch adds a commandline option to mythfilldatabase to import an XML
file from disk without external grabbers.
At the same time I cleaned up the commandline handling, added --help and
multiple-option-support, so just running with '--help' should give the
instructions how to use the new '--file' option.

Erik

At 20-11-02 14:34, you wrote:
>At 20-11-02 12:40, you wrote:
>>may it be possible to give a command line option to mythfilldatabase,
>>giving it an external .xml file and only fetching the file itself with
>>tv_grab_* if no option is given?
>
>OK, I'll write it and send in the patch within one to three days...
>(Want it myself as well :-)
>
>Erik
Re: command line option for mythfilldatabase? [ In reply to ]
And now with the patch attached... :-)
===========================

OK, even faster than I promised:

This patch adds a commandline option to mythfilldatabase to import an XML
file from disk without external grabbers.
At the same time I cleaned up the commandline handling, added --help and
multiple-option-support, so just running with '--help' should give the
instructions how to use the new '--file' option.

Erik

At 20-11-02 14:34, you wrote:
>At 20-11-02 12:40, you wrote:
>>may it be possible to give a command line option to mythfilldatabase,
>>giving it an external .xml file and only fetching the file itself with
>>tv_grab_* if no option is given?
>
>OK, I'll write it and send in the patch within one to three days...
>(Want it myself as well :-)
>
>Erik
Re: command line option for mythfilldatabase? [ In reply to ]
GREAT!

got data file from nxtvepg (new version can export xmltv format) and
finally got my database filled!
one question...in the xml file the categories are in different
languages, first english, so how can i select the language used?
can i select it at all? and i get no description when watching tv
and the transparent info shows up, its empty...
maybe someone (not me, as i am _not_ a programmer unfortunately) has to
manipulate the file exported from nxtvepg?
anyway, my first filled database, thank you ;-)

daniel

Am Mit, 2002-11-20 um 15.49 schrieb Erik Arendse:
> And now with the patch attached... :-)
> ===========================
>
> OK, even faster than I promised:
>
> This patch adds a commandline option to mythfilldatabase to import an XML
> file from disk without external grabbers.
> At the same time I cleaned up the commandline handling, added --help and
> multiple-option-support, so just running with '--help' should give the
> instructions how to use the new '--file' option.
>
> Erik
>
> At 20-11-02 14:34, you wrote:
> >At 20-11-02 12:40, you wrote:
> >>may it be possible to give a command line option to mythfilldatabase,
> >>giving it an external .xml file and only fetching the file itself with
> >>tv_grab_* if no option is given?
> >
> >OK, I'll write it and send in the patch within one to three days...
> >(Want it myself as well :-)
> >
> >Erik
--
email: daniel@paessler.org / phone: +49 3722 83884
fax: +49 89 244365117 / web: www.paessler.org

An unknown Japanese man once said ...
Ama soyia aim duhanikam ianaka tsa akaneng...!
And that is why he is still unknown.
Re: command line option for mythfilldatabase? [ In reply to ]
> one question...in the xml file the categories are in different
> languages, first english, so how can i select the language used?
> can i select it at all? and i get no description when watching tv
> and the transparent info shows up, its empty...

Send a zipped, tgz, whatever xml-file to me (max 100k, cut the _nospam from
my address) and I'll have a look, friday probably. And a www-address of the
tool use to generate the XML.

Erik