[mythtv-users] Different mythfilldatabase commands for different sources

Hika van den Hoven hikavdh at gmail.com
Tue Feb 9 20:44:06 UTC 2016


References: <CABiY0=h9D60eiwo6FdzAVypF=q1=V5ZBRKzJ+CYuLU2Lt7DDqQ at mail.gmail.com> <CABiY0=hJ5OUCey60HYPHp36d_HgNo-RXHbQneUmmpHGJoxFRmg at mail.gmail.com> <CABiY0=gYmqxjBD8nBU6v95_tg0zvkKWE7EDntkYz4Nd1wO_t7g at mail.gmail.com> <CABiY0=iXysk=dp=zhD7DU0NYR+V8mcJ-0kqhgdqYh2+tWpVF=A at mail.gmail.com> <1638859157.20160131224825 at gmail.com> <CABiY0=ige2k-hPYnuHgbYwfrFA7AYTRY2fBfEXFxW1Amn7f3mg at mail.gmail.com> <1467734398.20160201000658 at gmail.com> <CABiY0=g94kS0OidB9F_dqZCdgVcxKYK1yrVicawPh68OGNSwpA at mail.gmail.com> <910437463.20160201003011 at gmail.com> <CABiY0=i6dYccoQAyMK_r_NDZc1AZUXf4RFoUgVWs7CsO5ds3Ew at mail.gmail.com> <1207205453.20160202130229 at gmail.com> <CABiY0=gm36BwqQrBztDryV0YC_3DR-xNUuX8f6feDHUw+3Qi1g at mail.gmail.com> <CABiY0=iPTayfBNgOzv43k=mg9gT3vLswPKSHJLAMq6VtmjBSxQ at mail.gmail.com> <1863592740.20160202205736 at gmail.com> <CABiY0=jfRkgCKcsatxZJhAGR5mU=CE=CVCnm4Zkm6cisY8KqLQ at mail.gmail.com> <1574382847.20160204000310 at gmail.com> <CABiY0=g9J2A0+fioMoO5N_f12-9wCbmQQkawjR8MFOw62uDvxQ at mail.gmail.com> 
 <117222700.20160209204745 at gmail.com> <CABiY0=iqhgDWC9w=SkaZ+0qBOJHcKD66u1xcag1oaxmmifO5ZQ at mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: hikavdh at gmail.com
X-OriginalArrivalTime: 09 Feb 2016 20:49:01.0083 (UTC) FILETIME=[4DFA46B0:01D1637B]

Hoi Ian,

Tuesday, February 9, 2016, 9:27:53 PM, you wrote:

> On Tue, Feb 9, 2016 at 2:47 PM, Hika van den Hoven <hikavdh at gmail.com>
> wrote:

>> [snip]



>> > Looking at my mythfilldatavase log, it appears that all sources were
>> > updated at midnight (including a Schedules Direct run) despite
>> --sourceid 4
>> > being in the cron line. Shouldn't only the --sourceid 4 grabber run?
>>
>> > Also despite saying it had data until the 21st, the SD North American
>> > listings only went until the 18th. When I did a manual run a few hours
>> > later to check, it appeared to have the same amount of data but filled
>> the
>> > listings until the 21st this time.
>>
>> > Are the two runs conflicting with each other?
>>
>> I don't know why it would also run for the other source, but the other
>> thing could come from not running your cron job as the backend user. I
>> do not know if you do that?
>>
>>
>>
> The mythfilldatabase runs were done as the mythtv user. Just double
> checked.

You can try in your cronjpb to run it in two parts as I wrote earlier.
First run the grabber putting the output in a tmp-file en the
mythfilldatabase importing from that file. You then can unset the
grabber in your source. This is how I always do it and I see no
interference in between the sources.

`--quiet --config-file <home>/.mythtv/<source-name>.conf --output /tmp/<some-tmp-name>`

`mythfilldatabase --file --xmlfile /tmp/<some-tmp-name> --sourceid <the-source-id>`
You can add log options like for instance:
`--syslog local5`
See the help function.

Tot mails,
  Hika                            mailto:hikavdh at gmail.com

"Zonder hoop kun je niet leven
Zonder leven is er geen hoop
Het eeuwige dilemma
Zeker als je hoop moet vernietigen om te kunnen overleven!"

De lerende Mens



More information about the mythtv-users mailing list