Mythfilldatabase

From MattWiki

Commands

  • Update all the data in the database
mythfilldatabase --refresh-all
  • Update The Channel Icons from zip2it
mythfilldatabase --update-icon-map

Help File

Here is the help file form SVN 12567

usage:
--manual
   Run in manual channel configuration mode
   This will ask you questions about every channel

--update
   For running non-destructive updates on the database for
   users in xmltv zones that do not provide channel data

--preset
   Use it in case that you want to assign a preset number for
   each channel, useful for non US countries where people
   are used to assigning a sequenced number for each channel, i.e.:
   1->TVE1(S41), 2->La 2(SE18), 3->TV3(21), 4->Canal 33(60)...

--no-delete
   Do not delete old programs from the database until 7 days old.

--file <sourceid> <offset> <xmlfile>
   Bypass the grabbers and read data directly from a file
   <sourceid> = number for the video source to use with this file
   <offset>   = days from today that xmlfile defines
                (-1 means to replace all data, up to 10 days)
   <xmlfile>  = file to read

--dd-file <sourceid> <offset> <lineupid> <xmlfile>
   <sourceid> = see --file
   <offset>   = see --file
   <lineupid> = the lineup id
   <xmlfile>  = see --file

--xawchannels <sourceid> <xawtvrcfile>
   (--manual flag works in combination with this)
   Read channels as defined in xawtvrc file given
   <sourceid>    = cardinput
   <xawtvrcfile> = file to read

--do-channel-updates
   When using DataDirect, ask mythfilldatabase to
   overwrite channel names, frequencies, etc. with the
   values available from the data source. This will
   override custom channel names, which is why it is
   off by default.

--remove-new-channels
   When using DataDirect, ask mythfilldatabase to
   remove new channels (those not in the database)
   from the DataDirect lineup.  These channels are
   removed from the lineup as if you had done so
   via the DataDirect website's Lineup Wizard, but
   may be re-added manually and incorporated into
   MythTV by running mythfilldatabase without this
   option.  New channels are automatically removed
   for DVB and HDTV sources that use DataDirect.

--graboptions <"options">
   Pass options to grabber

--sourceid <number>
   Only refresh data for sourceid given

--max-days <number>
   Force the maximum number of days, counting today,
   for the grabber to check for future listings
--only-update-channels
   Get as little listings data as possible to update channels
--refresh-today
--refresh-second
--refresh-all
   (Only valid for selected grabbers: e.g. DataDirect)
   Force a refresh today or two days (or every day) from now,
   to catch the latest changes
--dont-refresh-tomorrow
   Tomorrow will always be refreshed unless this argument is used
--dont-refresh-tba
   "To be announced" programs will always be refreshed
   unless this argument is used

--export-icon-map [<filename>]
   Exports your current icon map to <filename> (default: iconmap.xml)
--import-icon-map [<filename>]
   Imports an icon map from <filename> (default: iconmap.xml)
--update-icon-map
   Updates icon map icons only
--reset-icon-map [all]
   Resets your icon map (pass all to reset channel icons as well)

--mark-repeats
   Marks any programs with a OriginalAirDate earlier
   than their start date as a repeat

-v or --verbose debug-level
   Use '-v help' for level info

--help
   This text
 
--manual and --update can not be used together.


Also See