[mythtvnz] xmltvid and four

Michael West michael at iposs.co.nz
Fri Oct 26 06:20:38 BST 2012


>On Friday, 26 October 2012 5:22 p.m. Worik Stanton wrote:
>
>For once in my life I really wish I had no idea...  But I have a glimmer.
>
>I have listings now.  I see no silly conflicts.  The name of the programme on liveTV
>
>My glimmer is that I ran mythfilldaatbase from mythtv-setup.  I did not want to run it from the command line as I suspected that it would have all sorts of gotchas in the argumants I should pass.  I new running mythtv-setup would provoke it to run.
>
>After I ran mythfilldatabase from command line bingo - there we are (I assume it was not the select query  ran....
>
>Once again thanks for all your help.  This would be impossible for me without all your help.  Quite humbling.
>
>Worik

One thing to note is that the user you run mythfilldatabase effects tv_grab_nz-py.

When you run it manually at the terminal from your user account then tv_grab_nz-py uses a config file from your local users home folder.
If your user name is worik and your source name is for example freeviewnz then the file it uses for its config would be:
/home/worik/.mythtv/freeviewnz.xmltv

If mythfilldatabase is run by the mythtv user using the automatic nightly scheduling you can set up in mythtv-setup then it would instead use the config file :
/home/mythtv/.mythtv/freeviewnz.xmltv

Not sure if this is part of your problem but it caught me out anyway.

Note freeviewnz.xmltv is just a list of what channels you want it to process.  You can generate this file yourself again with the following command:

tv_grab_nz-py --configure --config-file ~/.mythtv/<video sourcesname>.xmltv

but then you may want to copy this file to /home/mythtv/.mythtv/  as well.

Also if you manually schedule mythfilldatabase to run under your user once a day with a cron job then you may not need to do this.

Michael





More information about the mythtvnz mailing list