<div class="gmail_quote">On Sun, Jun 20, 2010 at 6:09 PM, Tortise <span dir="ltr"><<a href="mailto:tortise@paradise.net.nz">tortise@paradise.net.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I presume by listings.xml you mean the file that is in my case {XMLTV
config file is:} /home/mythtv/.mythtv/T1.xmltv<br></blockquote><div><br>No, by listings.xml I mean the file that actually contains the epg data. It'll contain a bunch of xml, mostly blocks that look like:<br><programme channel="[xmltv id for some channel]" start="[timestamp]" stop ="[timestamp]"><br>
<title lang="eng">[Program title]</title><br> <desc lang="eng">[Program description]</desc><br> [possibly other tags such as category and rating]<br></programme><br>
<br>That is the datafile that mythfilldatabase operates on - it takes that xml data and loads it into mythtv's database.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Actually to clarify further from the log I note the "default" (using mythfilldatabase arguments "-v xmltv" ) command seems to be:<br>
<div class="im"><br>
2010-06-20 16:30:17.508 Grabber Command: nice tv_grab_nz-py --config-file '/home/mythtv/.mythtv/T1.xmltv' --output /tmp/mythkthXCh<br></div></blockquote><div><br>tv_grab_nz-py is a "grabber" - a grabber obtains the above xml files somehow (in the case of tv_grab_nz-py I believe it downloads it from the net). The .xmltv config file presumably belongs to tv_grab_nz-py - but I don't use that grabber so I'm not sure. I believe that Hadley wrote that grabber so he can probably give better assistance.<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
</div>Marrying this with Steve's argument suggestions perhaps:<br>
<br>
mythfilldatabase --update --file 1 T1.xmltv --sourceid 1<br>
<br>
or maybe enough, as per Steve:<br>
<br>
mythfilldatabase --update --file 1 T1.xmltv<br>
<br>
or<br>
<br>
mythfilldatabase --update --file 1 '/home/mythtv/.mythtv/T1.xmltv'<br>
<br>
or referring to the default above possibly<br></blockquote><div><br>No, none of the above. Try:<br>mythfilldatabase --sourceid <id><br>where <id> is the video source id for the video source in question. Your system might be setup so that mythfilldatabase knows how to call the grabber itself.<br>
<br>But what are you actually trying to do? If you want to diagnose issues in the data then you should probably run tv_grab_nz-py to actually grab the data rather mythfilldatabase.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
mythfilldatabase --update --config-file 1 '/home/mythtv/.mythtv/T1.xmltv'<br>
<br>
<a href="http://mythtv.org/wiki/Mythfilldatabase" target="_blank">http://mythtv.org/wiki/Mythfilldatabase</a> does not refer to "--config-file" as an argument so I guess the system adds that one.<br></blockquote>
<div><br>No, definitely not.<br><br>Cheers,<br>Steve<br></div></div>