[mythtv-users] Different mythfilldatabase commands for different sources

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


>> I was able to manually configure the grabber by running "tv_grab_uk_atlas
>> --configure" from the command line.

>> Moved it to /home/mythtv

>> ran mythfilldatabase as the mythtv user. First it grabbed my Schedules
>> Direct info for the North American source.

>> It then ran the HLS source but errored out.

>> 1) It said it was looking for a config file called HLS.xmltv. I don't know
>> where that's specified or how to change it to the grabber's config file.

>> 2) If I continue to let mythfilldatabase run at a time specified by
>> Schedules Direct, how do I specify the --refresh 0-99 asked for in the wiki
>> page for myth and metabroadcast? Do I have to make a cron entry for a
>> manual run for the HLS source?

> If you let Mythtv run mythfilldatabase it uses the --config-file
> option on the grabber to look in <home>/.mythtv for the configfile
> named <source-name>.conf.
> So you have to copy the config file in <home>/.xmltv to <home>/.mythtv
> renaming it to HLS.conf.
> If you had used the Configure button in MythTV-Setup it would have
> been placed there. You can also run the grabber with: `--configure
> --config-file /var/lib/mythtv/.mythtv/HLS.conf` to place it there.

What actually happens when you let mythfilldatabase handle it is that
it runs the grabber with the options:
`--quiet --config-file <home>/.mythtv/<source-name>.conf --output /tmp/<some-tmp-name>`

and then runs itself with:
` --file --xmlfile /tmp/<some-tmp-name> --sourceid <the-source-id>`

What I do is run those two commands in a script through cron, but then
with my config name.

Tot mails,
  Hika Alina Maria van den Hoven                            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