[mythtv-users] Multiple sources on Schedules Direct run
William Jacoby
bonelifer at gmail.com
Sun May 22 18:28:55 UTC 2016
On 5/22/2016 1:17 PM, Ian Evans wrote:
>
>
> On May 22, 2016 2:01 PM, "William Jacoby" <bonelifer at gmail.com
> <mailto:bonelifer at gmail.com>> wrote:
> >
> > Actual update
> >
> > #! /bin/bash
> > tv_grab_sd_json --days 1 --config-file /media/FILE/FOLDER/us.conf
> --output us.xml
> > tv_grab_sd_json --days 1 --config-file /media/FILE/FOLDER/uk.conf
> --output uk.xml
> > tv_grab_sd_json --days 1 --config-file
> /media/FILE/FOLDER/canada.conf --output canada.xml
> > mythfilldatabase --file --sourceid 7 --xmlfile /var/tmp/us.xml
> > mythfilldatabase --file --sourceid 5 --xmlfile /var/tmp/uk.xml
> > mythfilldatabase --file --sourceid 4 --xmlfile /var/tmp/canada.xml
>
> Hit send before I asked this: why the need for three separate runs? My
> current mythfilldatabase run grabs, compresses and downloads listings
> for three different postal codes/sources in one run and I don't need
> to have a grabber configured for two of the sources, just one. Seems
> like extra load on the SD server.
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
If the answer is the three runs are required the you can us
"tv_merge"(not sure if it's only able to combine two at a time, only
ever used this for US cable + US OTA and never needed a third one).
tv_merge -i /media/FOLDER/us.xml -m /media/FOLDER/uk.xml -o
/media/FOLDER/us-uk.xml
tv_merge -i /media/FOLDER/us-uk.xml -m /media/FOLDER/canada.xml -o
/media/FOLDER/us-uk-canada.xml
You'll still need to find out the sourceid then:
mythfilldatabase --file --sourceid 7 --xmlfile /var/tmp/us-uk-canada.xml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160522/2c3809f0/attachment.html>
More information about the mythtv-users
mailing list