Mailing List Archive

Importing XMLTV File
How do I import an XMLTV file?

I found that I can do this with: (
https://www.mythtv.org/wiki/Mythfilldatabase)

mythfilldatabase --file --sourceid <sourceid> --xmlfile myfile.xml

However those instructions say you have to setup the grubber first. If I go
to Video Sources->MySource->Listings grabber none of the options seem to
suit, they are either 'Over-the-Air' guide (EIT), No grabber, or a country
specific grubber (eg Iceland (xmltv)), There isn't an option that allows
getting it from a file.
Re: Importing XMLTV File [ In reply to ]
Not sure what is recommended, but I created the following script which I
run from cron every couple of days...

#!/bin/bash

cd /home/colin/
mv -f /home/colin/guide.xml /home/colin/guide-last.xml
wget https://nzxmltv.com/xmltv/guide.xml
mythfilldatabase --file --sourceid 1 --xmlfile /home/colin/guide.xml

Regards
Colin


On Sun, 6 Aug 2023 at 13:53, Daniel Hughes <trampster@gmail.com> wrote:

> How do I import an XMLTV file?
>
> I found that I can do this with: (
> https://www.mythtv.org/wiki/Mythfilldatabase)
>
> mythfilldatabase --file --sourceid <sourceid> --xmlfile myfile.xml
>
> However those instructions say you have to setup the grubber first. If I
> go to Video Sources->MySource->Listings grabber none of the options seem to
> suit, they are either 'Over-the-Air' guide (EIT), No grabber, or a country
> specific grubber (eg Iceland (xmltv)), There isn't an option that allows
> getting it from a file.
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
Re: Importing XMLTV File [ In reply to ]
I noticed after running mythfilldatabase to import my xmltv file that
the +1 channels didn't work.

When I go to the channel editor these channels don't have an XMLTV ID, and
the box for entering it is 'disabled'? I can't navigate to it so I can't
set it to match the id in the xmltv file.

I wonder if this is because I havn't set an XMLTV grubber in the Video
Sources, but like I said, there isn't an option for one that matches So
I've currently got it set to 'Over-the-Air gude (EIT)'

On Sun, 6 Aug 2023 at 16:37, Colin Fraser <reg@ccfraser.com> wrote:

> Not sure what is recommended, but I created the following script which I
> run from cron every couple of days...
>
> #!/bin/bash
>
> cd /home/colin/
> mv -f /home/colin/guide.xml /home/colin/guide-last.xml
> wget https://nzxmltv.com/xmltv/guide.xml
> mythfilldatabase --file --sourceid 1 --xmlfile /home/colin/guide.xml
>
> Regards
> Colin
>
>
> On Sun, 6 Aug 2023 at 13:53, Daniel Hughes <trampster@gmail.com> wrote:
>
>> How do I import an XMLTV file?
>>
>> I found that I can do this with: (
>> https://www.mythtv.org/wiki/Mythfilldatabase)
>>
>> mythfilldatabase --file --sourceid <sourceid> --xmlfile myfile.xml
>>
>> However those instructions say you have to setup the grubber first. If I
>> go to Video Sources->MySource->Listings grabber none of the options seem to
>> suit, they are either 'Over-the-Air' guide (EIT), No grabber, or a country
>> specific grubber (eg Iceland (xmltv)), There isn't an option that allows
>> getting it from a file.
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz@lists.ourshack.com
>> https://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.ourshack.com
> https://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>