<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-text-html" lang="x-unicode">
      <div dir="ltr">
        <div>Hi Guys</div>
        <div>I need some help please, my linux knowledge and all my myth
          knowledge is google based and lurking on this forum for years.</div>
        <div> I have a dual core 2.6 running box 4 gig of ram</div>
        <div> nova 550t tuner and gt 220 vid card</div>
        <div> new drive are 120g solid state and I have a 2 t wd black.</div>
        <div> I have not configured the wd on to the system yet and that
          will be another challenge<br>
        </div>
        <div> I have been meaning to upgrade my box for a while. It was
          running version 0.24</div>
        <div>And now I need to as it has died</div>
        <div>I had a partially installed version of Ubuntu 12 on the
          120g</div>
        <div>So I upgraded to 14.04</div>
        <div>Did channel scan and have channels work and had a 2 hr epg
          as it was looking at EIT data</div>
        <div> Changed it from a localhost to its ip on the network and
          upgraded  the other front end.</div>
        <div> And then copied the script I have attached below and I am
          stuck on why this does not work,</div>
        <div> Also now I am not getting any epg data now</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>#! /bin/bash</div>
        <div>wget <a href="http://epg.org.nz/freeview.xml.gz">http://epg.org.nz/freeview.xml.gz</a> </div>
        <div>gunzip freeview.xml.gz </div>
        <div>mythfilldatabase --file 1 freeview.xml --manual</div>
        <div><br>
        </div>
        <div> I realize the has to be changed to --update once I have
          run this once and I may have to remove the freeview file </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Terminal readout as follows</div>
        <div>
          <div>stugo@stugo-G33M-DS2R:~$ #! /bin/bash</div>
          <div>stugo@stugo-G33M-DS2R:~$ wget <a
              href="http://epg.org.nz/freeview.xml.gz">http://epg.org.nz/freeview.xml.gz</a> </div>
          <div>--2015-02-06 18:29:10--  <a
              href="http://epg.org.nz/freeview.xml.gz">http://epg.org.nz/freeview.xml.gz</a></div>
          <div>Resolving <a href="http://epg.org.nz">epg.org.nz</a> (<a
              href="http://epg.org.nz">epg.org.nz</a>)... 120.138.17.20</div>
          <div>Connecting to <a href="http://epg.org.nz">epg.org.nz</a>
            (<a href="http://epg.org.nz">epg.org.nz</a>)|120.138.17.20|:80...
            connected.</div>
          <div>HTTP request sent, awaiting response... 200 OK</div>
          <div>Length: 198456 (194K) [application/octet-stream]</div>
          <div>Saving to: ‘freeview.xml.gz’</div>
          <div><br>
          </div>
          <div>100%[======================================>] 198,456
                1.25MB/s   in 0.2s   </div>
          <div><br>
          </div>
          <div>2015-02-06 18:29:10 (1.25 MB/s) - ‘freeview.xml.gz’ saved
            [198456/198456]</div>
          <div><br>
          </div>
          <div>stugo@stugo-G33M-DS2R:~$ gunzip freeview.xml.gz </div>
          <div>stugo@stugo-G33M-DS2R:~$ mythfilldatabase --file 1
            freeview.xml --manual</div>
          <div>Boolean type options do not accept values:</div>
          <div>    --file</div>
          <div>Received '1' but unassociated arguments have not been
            enabled</div>
          <div>mythfilldatabase version: fixes/0.27
            [v0.27.4-30-g3b43903] <a href="http://www.mythtv.org">www.mythtv.org</a></div>
          <div>Misc. Options:</div>
          <div>--dd-file                       Bypass grabber, and read
            SD data from file</div>
          <div>  --lineupid                      DataDirect lineup of
            input xml file</div>
          <div>  --offset                        Day offset of input xml
            file</div>
          <div>  --xmlfile                       XML file to import
            manually</div>
          <div>--dd-grab-all                   refresh full data using
            DataDirect</div>
          <div>--file                          Bypass grabbers and
            define sourceid and file</div>
          <div>  --xmlfile                       XML file to import
            manually</div>
          <div>--manual                        Run interactive
            configuration</div>
          <div>--no-mark-repeats               do not mark repeats</div>
          <div>--preset                        Use channel preset values
            instead of numbers</div>
          <div>-h OR --help OR --usage         Display this help
            printout, or give detailed</div>
          <div>                                information of selected
            option.</div>
          <div>--version                       Display version
            information.</div>
          <div>--sourceid                      Operate on single source</div>
          <div><br>
          </div>
          <div>Channel List Handling Options:</div>
          <div>--do-channel-updates            update channels using
            datadirect</div>
          <div>--do-not-filter-new-channels    don't filter ATSC
            channels for addition</div>
          <div>--only-update-channels          only update channel
            lineup</div>
          <div>--remove-new-channels           disable new channels on
            datadirect web interface</div>
          <div><br>
          </div>
          <div>Filtering Options:</div>
          <div>--dont-refresh-tba              don't refresh "To be
            announced" programs</div>
          <div>--max-days                      force number of days to
            update</div>
          <div>--refresh                       Provide a day or range of
            days to refresh. Can</div>
          <div>                                be used repeatedly.</div>
          <div><br>
          </div>
          <div>Logging Options:</div>
          <div>--enable-dblog                  Enable logging to
            database.</div>
          <div>--loglevel                      Set the logging level. 
            All log messages at</div>
          <div>                                lower levels will be
            discarded.</div>
          <div>                                In descending order:
            emerg, alert, crit, err,</div>
          <div>                                warning, notice, info,
            debug</div>
          <div>                                defaults to info</div>
          <div>--logpath                       Writes logging messages
            to a file in the</div>
          <div>                                directory logpath with
            filenames in the format:</div>
          <div>                               
            applicationName.date.pid.log.</div>
          <div>                                This is typically used in
            combination with</div>
          <div>                                --daemon, and if used in
            combination with</div>
          <div>                                --pidfile, this can be
            used with log rotators,</div>
          <div>                                using the HUP call to
            inform MythTV to reload</div>
          <div>                                the file</div>
          <div>--nologserver                   Disable all logging but
            console.</div>
          <div>-q OR --quiet                   Don't log to the console
            (-q).  Don't log</div>
          <div>                                anywhere (-q -q)</div>
          <div>--syslog                        Set the syslog logging
            facility.</div>
          <div>                                Set to "none" to disable,
            defaults to none.</div>
          <div>-v OR --verbose                 Specify log filtering.
            Use '-v help' for level</div>
          <div>                                info.</div>
          <div><br>
          </div>
          <div>Guide Data Handling Options:</div>
          <div>--only-update-guide             Only update guide data</div>
        </div>
        <div><br>
        </div>
        <div>
          <div>Have i got the script wrong, as I can see I am getting
            the file and unzipping it, but it is not allowing me to set
            it to myth database I have set all the backend channel Id to
            the scanned channels</div>
          <div> </div>
        </div>
        <div> </div>
      </div>
    </div>
    <br>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                This email has been checked for viruses by Avast antivirus software.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>