Ticket #8262: settings.xml

File settings.xml, 41.2 KB (added by danielk, 15 years ago)

the settings xml file

Line 
1<?xml version="1.0" encoding="utf-8"?>
2<config>
3  <group human_label="Host Address Backend Setup" unique_label="server">
4    <group human_label="Local Backend" unique_label="local_server">
5      <setting
6         value="BackendServerIP" default_data="127.0.0.1"
7         setting_type="host" label="IP address"
8         help_text="Enter the IP address of this machine.
9                    Use an externally accessible address (ie, not
10                    127.0.0.1) if you are going to be running a frontend
11                    on a different machine than this one."
12         data_type="localipaddress" />
13      <setting
14         value="BackendServerPort" default_data="6543"
15         setting_type="host" label="Port"
16         help_text= "Unless you've got good reason to, don't change this."
17         data_type="integer_range"
18         range_min="0" range_max="0xffff" />
19      <setting
20         value="BackendStatusPort" default_data="6544"
21         setting_type="host" label="Status Port"
22         help_text="Port which the server will listen to for HTTP requests."
23         data_type="integer_range"
24         range_min="0" range_max="0xffff" />
25      <setting
26         value="SecurityPin" default_data=""
27         setting_type="host" label="Security Pin (Required)"
28         help_text="Pin code required for a frontend to connect
29                    to the backend. Blank prevents all connections,
30                    0000 allows any client to connect."
31         data_type="string" />
32    </group>
33    <group human_label="Master Backend" unique_label="master_server">
34      <setting
35         value="MasterServerIP" default_data="127.0.0.1"
36         setting_type="global" label="IP address"
37         help_text="The IP address of the master backend server. All
38                    frontend and non-master backend machines will connect
39                    to this server.  If you only have one backend,
40                    this should be the same IP address as above."
41         data_type="ipaddress" />
42      <setting
43         value="MasterServerPort" default_data="6543"
44         setting_type="global" label="Port"
45         help_text="Unless you've got good reason to, don't change this."
46         data_type="integer_range"
47         range_min="0" range_max="0xffff" />
48    </group>
49    <group human_label="Locale Settings" unique_label="locale_settings">
50      <setting
51         value="TVFormat" default_data="ntsc"
52         setting_type="global" label="TV format"
53         help_text="The TV standard to use for viewing TV."
54         data_type="tvformat" />
55      <setting value="VbiFormat" default_data="ntsc"
56               setting_type="global" label="VBI format"
57               help_text="VBI stands for Vertical Blanking Interrupt.
58                          VBI is used to carry Teletext and
59                          Closed Captioning data."
60               data_type="select">
61        <option display="None" data="none" />
62        <option display="PAL Teletext" data="pal" />
63        <option display="NTSC Closed Caption" data="ntsc" />
64      </setting>
65      <setting value="FreqTable" default_data="us-cable"
66               setting_type="global" label="Channel frequency table"
67               help_text="Select the appropriate frequency table for
68                          your system. If you have an antenna, use a
69                          '-bcast' frequency."
70               data_type="frequency_table" />
71      <setting value="TimeOffset" default_data=""
72               setting_type="global" label="Your Local Timezone (for XMLTV)"
73               help_text="Used if the XMLTV data comes from a different
74                          timezone than your own. This adjust the times in
75                          the XMLTV EPG data to compensate. 'Auto' converts
76                          the XMLTV time to local time using your computer's
77                          timezone. 'None' ignores the XMLTV timezone,
78                          interpreting times as local."
79               data_type="select">
80        <option display="None" data="none" />
81        <option display="Auto" data="auto" />
82        <option display="+0030" data="+0030" />
83        <option display="+0100" data="+0100" />
84        <option display="+0130" data="+0130" />
85        <option display="+0200" data="+0200" />
86        <option display="+0230" data="+0230" />
87        <option display="+0300" data="+0300" />
88        <option display="+0330" data="+0330" />
89        <option display="+0400" data="+0400" />
90        <option display="+0430" data="+0430" />
91        <option display="+0500" data="+0500" />
92        <option display="+0530" data="+0530" />
93        <option display="+0600" data="+0600" />
94        <option display="+0630" data="+0630" />
95        <option display="+0700" data="+0700" />
96        <option display="+0730" data="+0730" />
97        <option display="+0800" data="+0800" />
98        <option display="+0830" data="+0830" />
99        <option display="+0900" data="+0900" />
100        <option display="+0930" data="+0930" />
101        <option display="+1000" data="+1000" />
102        <option display="+1030" data="+1030" />
103        <option display="+1100" data="+1100" />
104        <option display="+1130" data="+1130" />
105        <option display="+1200" data="+1200" />
106        <option display="-1100" data="-1100" />
107        <option display="-1030" data="-1030" />
108        <option display="-1000" data="-1000" />
109        <option display="-0930" data="-0930" />
110        <option display="-0900" data="-0900" />
111        <option display="-0830" data="-0830" />
112        <option display="-0800" data="-0800" />
113        <option display="-0730" data="-0730" />
114        <option display="-0700" data="-0700" />
115        <option display="-0630" data="-0630" />
116        <option display="-0600" data="-0600" />
117        <option display="-0530" data="-0530" />
118        <option display="-0500" data="-0500" />
119        <option display="-0430" data="-0430" />
120        <option display="-0400" data="-0400" />
121        <option display="-0330" data="-0330" />
122        <option display="-0300" data="-0300" />
123        <option display="-0230" data="-0230" />
124        <option display="-0200" data="-0200" />
125        <option display="-0130" data="-0130" />
126        <option display="-0100" data="-0100" />
127        <option display="-0030" data="-0030" />
128      </setting>
129    </group>
130    <group human_label="Miscellaneous Settings"
131           unique_label="miscellaneous_settings">
132      <group human_label="File Management Settings"
133             unique_label="file_management_settings">
134        <setting
135           value="MasterBackendOverride" default_data="1"
136           setting_type="global" label="Master Backend Override"
137           help_text="If enabled, the master backend will stream and
138                      delete files if it finds them in the video directory.
139                      Useful if you are using a central storage location, like
140                      a NFS share, and your slave backend isn't running."
141           data_type="checkbox" />
142        <setting
143           value="DeletesFollowLinks" default_data="0"
144           setting_type="global"
145           label="Follow symbolic links when deleting files"
146           help_text="This will cause Myth to follow symlinks
147                      when recordings and related files are deleted, instead
148                      of deleting the symlink and leaving the actual file."
149           data_type="checkbox" />
150        <setting
151           value="TruncateDeletesSlowly" default_data="0"
152           setting_type="global" label="Delete files slowly"
153           help_text="Some filesystems use a lot of resources when
154                      deleting large recording files.  This option makes Myth
155                      delete the file slowly on this backend to lessen the
156                      impact."
157           data_type="checkbox" />
158<!--
159        <setting
160           value="HDRingbufferSize" default_data="9400"
161           setting_type="global" label="HD Ringbuffer size (KB)"
162           help_text="The HD device ringbuffer allows the
163                      backend to weather moments of stress.
164                      The larger the ringbuffer, the longer
165                      the moments of stress can be. However,
166                      setting the size too large can cause
167                      swapping, which is detrimental."
168           data_type="integer_select"
169           range_min="4700" range_max="94000" step="4700" />
170-->
171        <setting
172           value="StorageScheduler" default_data="BalancedFreeSpace"
173           setting_type="global" label="Storage Group Disk Scheduler"
174           help_text="This setting controls how the Storage Group
175                      scheduling code will balance new recordings across
176                      directories. 'Balanced Free Space' is the recommended
177                      method for most users."
178           data_type="select">
179          <option display="Balanced Free Space" data="BalancedFreeSpace" />
180          <option display="Balanced Disk I/O" data="BalancedDiskIO" />
181          <option display="Combination" data="Combination" />
182        </setting>
183      </group>
184      <setting
185         value="MiscStatusScript" default_data=""
186         setting_type="global" label="Miscellaneous Status Application"
187         help_text="External application or script that outputs
188                    extra information for inclusion in the
189                    backend status page.  See
190                    contrib/info/misc_status_info/README"
191         data_type="string" />
192      <setting
193         value="DisableAutomaticBackup" default_data="0"
194         setting_type="global" label="Disable Automatic Database Backup"
195         help_text="This will prevent Myth from backing up the database
196                    before upgrades. If disabled, you should have your
197                    own backup strategy in place."
198         data_type="checkbox" />
199      <setting
200         value="DisableFirewireReset" default_data="0"
201         setting_type="global" label="Disable Firewire Reset"
202         help_text="By default MythTV will reset the firewire bus when a
203                    firewire recorder stops responding to commands. But
204                    if this causes problems you can disable this here for
205                    Linux firewire recorders."
206         data_type="checkbox" />
207    </group>
208    <group human_label="EIT Scanner Options"
209           unique_label="eit_scanner_options">
210<!--
211      <setting
212         value="EITTransportTimeout" default_data="5"
213         setting_type="global" label="EIT Transport Timeout (mins)"
214         help_text="Maximum time to spend waiting for listings
215                    data on one DTV channel before checking for
216                    new listings data on the next channel."
217         data_type="integer_select"
218         range_min="1" range_max="15" step="1" />
219-->
220      <setting
221         value="EITIgnoresSource" default_data="0"
222         setting_type="global" label="Cross Source EIT"
223         help_text="If enabled, listings data collected on one Video Source
224                    will be applied to the first matching DVB channel on
225                    any Video Source. This is sometimes useful for DVB-S,
226                    but may insert bogus data into any ATSC listings
227                    stored in the same database."
228         data_type="checkbox" />
229      <setting
230         value="EITCrawIdleStart" default_data="60"
231         setting_type="global"
232         label="Backend Idle Before EIT Crawl (seconds)"
233         help_text="The minimum number of seconds after a recorder
234                    becomes idle to wait before MythTV begins
235                    collecting EIT listings data."
236         data_type="select">
237        <option display="30" data="30" />
238        <option display="60" data="60" />
239        <option display="120" data="120" />
240        <option display="300" data="300" />
241        <option display="600" data="600" />
242        <option display="1200" data="1200" />
243        <option display="2400" data="2400" />
244        <option display="3600" data="3600" />
245        <option display="7200" data="7200" />
246      </setting>
247    </group>
248    <group human_label="Shutdown/Wakeup Options"
249           unique_label="shutdown_wakeup_options">
250      <setting data_type="string" value="startupCommand"
251               label="Startup command"
252               default_data=""
253               setting_type="global"
254               help_text="This command is executed right after starting
255                          the BE. As a parameter \'$status\' is replaced by either
256                          \'auto\' if the machine was started automatically or
257                          \'user\' if a user switched it on." />
258      <setting data_type="checkbox" value="blockSDWUwithoutClient"
259               label="Block shutdown before client connected"
260               default_data="1"
261               setting_type="global"
262               help_text="If set, the automatic shutdown routine will
263                          be disabled until a client connects." />
264      <setting data_type="select" value="idleTimeoutSecs"
265               label="Idle shutdown timeout (secs)"
266               default_data="0"
267               setting_type="global"
268               help_text="The amount of time the master backend idles
269                          before it shuts down all backends.">
270        <option display="Disabled" data="0" />
271        <option display="5" data="5" />
272        <option display="15" data="15" />
273        <option display="30" data="30" />
274        <option display="60" data="60" />
275        <option display="120" data="120" />
276        <option display="300" data="300" />
277        <option display="600" data="600" />
278        <option display="1200" data="1200" />
279      </setting>
280      <setting data_type="select" value="idleWaitForRecordingTime"
281               label="Max. wait for recording (min)"
282               default_data="15"
283               setting_type="global"
284               help_text="The amount of time the master backend waits
285                          for a recording.  If it's idle but a recording starts
286                          within this time period, the backends won't shut down.">
287        <option display="5" data="5" />
288        <option display="15" data="15" />
289        <option display="30" data="30" />
290        <option display="60" data="60" />
291        <option display="120" data="120" />
292      </setting>
293      <setting data_type="select" value="StartupSecsBeforeRecording"
294               label="Startup before rec. (secs)"
295               default_data="120"
296               setting_type="global"
297               help_text="The amount of time the master backend will be
298                          woken up before a recording starts.">
299        <option display="5" data="5" />
300        <option display="15" data="15" />
301        <option display="30" data="30" />
302        <option display="60" data="60" />
303        <option display="120" data="120" />
304        <option display="300" data="300" />
305        <option display="600" data="600" />
306        <option display="1200" data="1200" />
307      </setting>
308      <setting data_type="string" value="WakeupTimeFormat"
309               label="Wakeup time format"
310               default_data="hh:mm yyyy-MM-dd"
311               setting_type="global"
312               help_text="The format of the time string passed to the
313                          'setWakeuptime Command' as $time. See
314                          QT::QDateTime.toString() for details. Set to 'time_t' for
315                          seconds since epoch." />
316      <setting data_type="string" value="SetWakeuptimeCommand"
317               label="Command to set Wakeup Time"
318               default_data=""
319               setting_type="global"
320               help_text="The command used to set the wakeup time (passed as
321                          $time) for the Master Backend" />
322      <setting data_type="string" value="ServerHaltCommand"
323               label="Server halt command"
324               default_data="sudo /sbin/halt -p"
325               setting_type="global"
326               help_text="The command used to halt the backends." />
327      <setting data_type="string" value="preSDWUCheckCommand"
328               label="Pre Shutdown check-command"
329               default_data=""
330               setting_type="global"
331               help_text="A command executed before the backend would
332                          shutdown. The return value determines if
333                          the backend can shutdown. 0 - yes,
334                          1 - restart idling,
335                          2 - reset the backend to wait for a frontend." />
336    </group>
337    <group human_label="Backend Wakeup settings"
338           unique_label="backend_wakeup_settings">
339
340      <group human_label="Master Backends"
341             unique_label="backend_wakeup_settings_master_backends">
342        <setting data_type="select" value="WOLbackendReconnectWaitTime"
343                 label="Delay between wake attempts (secs)"
344                 default_data="0"
345                 setting_type="global"
346                 help_text="Length of time the frontend waits between
347                            tries to wake up the master backend. This should be the
348                            time your master backend needs to startup.">
349          <option display="Disabled" data="0" />
350          <option display="1" data="1" />
351          <option display="2" data="2" />
352          <option display="4" data="4" />
353          <option display="8" data="8" />
354          <option display="15" data="15" />
355          <option display="30" data="30" />
356          <option display="60" data="60" />
357          <option display="120" data="120" />
358          <option display="300" data="300" />
359          <option display="600" data="600" />
360          <option display="1200" data="1200" />
361        </setting>
362        <setting data_type="select" value="WOLbackendConnectRetry"
363                 label="Wake Attempts"
364                 setting_type="global"
365                 help_text="Number of times the frontend will try to wake
366                            up the master backend."
367                 default_data="5">
368          <option display="1" data="1" />
369          <option display="2" data="2" />
370          <option display="5" data="5" />
371          <option display="10" data="10" />
372          <option display="20" data="20" />
373          <option display="40" data="40" />
374          <option display="60" data="60" />
375        </setting>
376        <setting data_type="string" value="WOLbackendCommand"
377                 label="Wake Command"
378                 default_data=""
379                 setting_type="global"
380                 help_text="The command used to wake up your master
381                            backend server. For example
382                            'sudo /etc/init.d/mythtv-backend restart'." />
383      </group>
384
385      <group human_label="Slave Backends"
386             unique_label="backend_wakeup_settings_slave_backends">
387        <setting data_type="string" value="SleepCommand"
388                 label="Sleep Command"
389                 default_data=""
390                 setting_type="host"
391                 help_text="The command used to put this slave to sleep.
392                            If set, the master backend will use this
393                            command to put this slave to sleep when it
394                            is not needed for recording." />
395        <setting data_type="string" value="WakeUpCommand"
396                 label="Wake Command"
397                 default_data=""
398                 setting_type="host"
399                 help_text="The command used to wake up this slave from sleep.
400                            This setting is not used on the master backend." />
401      </group>
402    </group>
403    <group human_label="Backend Control"
404           unique_label="backend_control">
405      <setting data_type="string" value="BackendStopCommand"
406               label="Backend Stop Command"
407               default_data="killall mythbackend"
408               setting_type="global"
409               help_text="The command used to stop the backend
410                          when running on the master backend server.
411                          For example 'sudo /etc/init.d/mythtv-backend stop'." />
412      <setting data_type="string" value="BackendStartCommand"
413               label="Backend Start Command"
414               default_data="mythbackend"
415               setting_type="global"
416               help_text="The command used to start the backend
417                          when running on the master backend server.
418                          For example, 'sudo /etc/init.d/mythtv-backend start'." />
419    </group>
420    <group human_label="Job Queue (Backend-Specific)"
421           unique_label="job_queue_host">
422      <setting data_type="select" value="JobQueueMaxSimultaneousJobs"
423               label="Maximum simultaneous jobs on this backend"
424               setting_type="host"
425               help_text="The Job Queue will be limited to running
426                          this many simultaneous jobs on this backend."
427               default_data="1">
428        <option display="0" data="0" />
429        <option display="1" data="1" />
430        <option display="2" data="2" />
431        <option display="3" data="3" />
432        <option display="4" data="4" />
433        <option display="5" data="5" />
434        <option display="6" data="6" />
435        <option display="7" data="7" />
436        <option display="8" data="8" />
437        <option display="9" data="9" />
438        <option display="10" data="10" />
439      </setting>
440      <setting data_type="select" value="JobQueueCheckFrequency"
441               label="Job Queue Check frequency (in seconds)"
442               setting_type="host"
443               help_text="When looking for new jobs to process, the
444                          Job Queue will wait this long between checks."
445               default_data="60">
446        <option display="5" data="5" />
447        <option display="10" data="10" />
448        <option display="15" data="15" />
449        <option display="30" data="30" />
450        <option display="60" data="60" />
451        <option display="90" data="90" />
452        <option display="200" data="200" />
453        <option display="300" data="300" />
454      </setting>
455      <setting data_type="timeofday" value="JobQueueWindowStart"
456               default_value="00:00" label="Job Queue Start Time"
457               setting_type="host"
458               help_text="This setting controls the start of the Job Queue time
459                          window which determines when new jobs will be
460                          started." />
461      <setting data_type="timeofday" value="JobQueueWindowEnd"
462               default_value="23:59" label="Job Queue End Time"
463               setting_type="host"
464               help_text="This setting controls the end of the Job Queue time
465                          window which determines when new jobs will be
466                          started." />
467      <setting data_type="select" value="JobQueueCPU"
468               label="CPU Usage"
469               setting_type="host"
470               help_text="This setting controls approximately how
471                          much CPU jobs in the queue may consume.
472                          On 'High', all available CPU time may be used
473                          which could cause problems on slower systems.">
474        <option display="Low"    data="0" />
475        <option display="Medium" data="1" />
476        <option display="High"   data="2" />
477      </setting>
478      <setting data_type="checkbox" value="JobAllowCommFlag"
479               label="Allow Commercial Detection jobs"
480               default_data="true"
481               setting_type="host"
482               help_text="Allow jobs of this type to run on this backend." />
483      <setting data_type="checkbox" value="JobAllowTranscode"
484               label="Allow Transcoding jobs"
485               default_data="true"
486               setting_type="host"
487               help_text="Allow jobs of this type to run on this backend." />
488      <setting data_type="checkbox" value="JobAllowUserJob1"
489               label="Allow User Job #1 on this backend"
490               default_data="0"
491               setting_type="host"
492               help_text="Allow jobs of this type to run on this backend." />
493      <setting data_type="checkbox" value="JobAllowUserJob2"
494               label="Allow User Job #2 on this backend"
495               default_data="0"
496               setting_type="host"
497               help_text="Allow jobs of this type to run on this backend." />
498      <setting data_type="checkbox" value="JobAllowUserJob3"
499               label="Allow User Job #3 on this backend"
500               default_data="0"
501               setting_type="host"
502               help_text="Allow jobs of this type to run on this backend." />
503      <setting data_type="checkbox" value="JobAllowUserJob4"
504               label="Allow User Job #4 on this backend"
505               default_data="0"
506               setting_type="host"
507               help_text="Allow jobs of this type to run on this backend." />
508    </group>
509    <group human_label="Job Queue (Global)"
510           unique_label="job_queue_global">
511      <setting data_type="checkbox" value="JobsRunOnRecordHost"
512               label="Run Jobs only on original recording backend" default_data="0"
513               setting_type="global"
514               help_text="If set, jobs in the queue will be required
515                          to run on the backend that made the
516                          original recording." />
517      <setting data_type="checkbox" value="AutoCommflagWhileRecording"
518               label="Start Auto-Commercial Flagging jobs when the recording starts"
519               default_data="0"
520               setting_type="global"
521               help_text="If set and Auto Commercial Flagging is ON for
522                          a recording, the flagging job will be started
523                          as soon as the recording starts.  NOT
524                          recommended on underpowered systems." />
525      <setting data_type="string" value="JobQueueCommFlagCommand"
526               label="Commercial Flagger command"
527               default_data="mythcommflag"
528               setting_type="global"
529               help_text="The program used to detect commercials in a
530                          recording.  The default is 'mythcommflag'
531                          if this setting is empty." />
532      <setting data_type="string" value="JobQueueTranscodeCommand"
533               label="Transcoder command"
534               default_data="mythtranscode"
535               setting_type="global"
536               help_text="The program used to transcode recordings.
537                          The default is 'mythtranscode' if this
538                          setting is empty." />
539      <setting data_type="checkbox" value="AutoTranscodeBeforeAutoCommflag"
540               label="Run Transcode Jobs before Auto-Commercial Flagging"
541               default_data="0"
542               setting_type="global"
543               help_text="If set, if both auto-transcode and
544                          auto commercial flagging are turned ON for a
545                          recording, transcoding will run first,
546                          otherwise, commercial flagging runs first." />
547      <setting data_type="checkbox" value="SaveTranscoding"
548               label="Save original files after transcoding (globally)"
549               default_data="0"
550               setting_type="global"
551               help_text="When set and the transcoder is active, the
552                          original files will be renamed to .old once the
553                          transcoding is complete." />
554    </group>
555    <group human_label="Job Queue (Job Commands)"
556           unique_label="job_queue_job_commands">
557      <setting data_type="string" value="UserJobDesc1"
558               label="User Job #1 Description"
559               default_data="User Job #1"
560               setting_type="global"
561               help_text="The Description for this User Job."   />
562      <setting data_type="string" value="UserJob1"
563               label="User Job #1 Command"
564               default_data=""
565               setting_type="global"
566               help_text="The command to run whenever this User Job
567                          number is scheduled." />
568      <setting data_type="string" value="UserJobDesc2"
569               label="User Job #2 Description"
570               default_data="User Job #2"
571               setting_type="global"
572               help_text="The Description for this User Job."   />
573      <setting data_type="string" value="UserJob2"
574               label="User Job #2 Command"
575               default_data=""
576               setting_type="global"
577               help_text="The command to run whenever this User Job
578                          number is scheduled." />
579      <setting data_type="string" value="UserJobDesc3"
580               label="User Job #3 Description"
581               default_data="User Job #3"
582               setting_type="global"
583               help_text="The Description for this User Job."   />
584      <setting data_type="string" value="UserJob3"
585               label="User Job #3 Command"
586               default_data=""
587               setting_type="global"
588               help_text="The command to run whenever this User Job
589                          number is scheduled." />
590      <setting data_type="string" value="UserJobDesc4"
591               label="User Job #4 Description"
592               default_data="User Job #4"
593               setting_type="global"
594               help_text="The Description for this User Job."   />
595      <setting data_type="string" value="UserJob4"
596               label="User Job #4 Command"
597               default_data=""
598               setting_type="global"
599               help_text="The command to run whenever this User Job
600                          number is scheduled." />
601    </group>
602    <group human_label="UPNP Server Settings"
603           unique_label="upnp_server_settings">
604<!--
605      <setting data_type="checkbox" value="UPnP/RecordingsUnderVideos"
606               label="Include Recordings in Video List" default_data="0"
607               setting_type="global"
608               help_text="If enabled, the master backend will include the
609                          list of recorded shows in the list of videos
610                          This is mainly to accommodate UPnP players which do not
611                          allow more than 1 video section."  />
612-->
613      <setting data_type="select" value="UPnP/WMPSource"
614               label="Video content to show a WMP Client"
615               default_data="0"
616               setting_type="global"
617               help_text="This forces us to show WMP clients
618                          either the Recordings tree or the Video tree
619                          when they request a list of videos ">
620        <option display="Recordings" data="0" />
621        <option display="Videos" data="1" />
622      </setting>
623      <setting data_type="select" value="UPnP/RebuildDelay"
624               label="UPnP Media Update Time"
625               setting_type="host"
626               help_text="The number of minutes between mythbackend checking
627                          for new videos to serve via upnp. 0 = Off. "
628               default_data="30">
629                <option display="30" data="30" />
630        <option display="Off" data="0" />
631        <option display="1" data="1" />
632        <option display="5" data="5" />
633        <option display="15" data="15" />
634        <option display="30" data="30" />
635        <option display="60" data="60" />
636        <option display="120" data="120" />
637        <option display="300" data="300" />
638        <option display="600" data="600" />
639        <option display="1440" data="1440" />
640      </setting>
641    </group>
642    <group human_label="Database Logging"
643           unique_label="database_logging">
644      <setting data_type="checkbox" value="LogEnabled"
645               label="Log MythTV events to database"
646               default_data="0"
647               setting_type="global"
648               help_text="If enabled, MythTV modules will send event
649                          details to the database, where they can be viewed with
650                          MythLog or periodically emailed to the administrator." />
651      <setting data_type="select" value="LogPrintLevel"
652               label="Log Print Threshold"
653               setting_type="host" default_data="-1"
654               help_text="This controls what messages will be printed
655                          out as well as being logged to the database.">
656        <option display="All Messages" data="8" />
657        <option display="Debug and Higher" data="7" />
658        <option display="Info and Higher" data="6" />
659        <option display="Notice and Higher" data="5" />
660        <option display="Warning and Higher" data="4" />
661        <option display="Error and Higher" data="3" />
662        <option display="Critical and Higher" data="2" />
663        <option display="Alert and Higher" data="1" />
664        <option display="Emergency Only" data="0" />
665        <option display="Disable Printed Output" data="-1" />
666      </setting>
667      <setting data_type="checkbox" value="LogCleanEnabled"
668               label="Automatic Log Cleaning Enabled" default_data="0"
669               setting_type="host"
670               help_text="This enables the periodic cleanup of the
671                          events stored in the Myth database (see 'Log MythTV
672                          events to database')." />
673      <setting data_type="select" value="LogCleanPeriod"
674               label="Log Cleanup Frequency (Days)" default_data="14"
675               setting_type="host"
676               help_text="The number of days between log cleanup runs.">
677        <option display="Never cleanup" data="0" />
678        <option display="1" data="1" />
679        <option display="2" data="2" />
680        <option display="4" data="4" />
681        <option display="7" data="7" />
682        <option display="14" data="14" />
683        <option display="30" data="30" />
684        <option display="60" data="60" />
685      </setting>
686      <setting data_type="select" value="LogCleanDays"
687               label="Number of days to keep acknowledged log entries"
688               default_data="14"
689               setting_type="host"
690               help_text="The number of days before a log entry that has been
691                          acknowledged will be deleted by the log cleanup
692                          process.">
693        <option display="Never cleanup" data="0" />
694        <option display="1" data="1" />
695        <option display="2" data="2" />
696        <option display="4" data="4" />
697        <option display="7" data="7" />
698        <option display="14" data="14" />
699        <option display="30" data="30" />
700        <option display="60" data="60" />
701      </setting>
702      <setting data_type="select" value="LogCleanMax"
703               label="Number of days to keep unacknowledged log entries"
704               default_data="30"
705               setting_type="host"
706               help_text="The number of days before a log entry that
707                          has NOT been acknowledged will be deleted by the log
708                          cleanup process.">
709        <option display="Never cleanup" data="0" />
710        <option display="1" data="1" />
711        <option display="2" data="2" />
712        <option display="4" data="4" />
713        <option display="7" data="7" />
714        <option display="14" data="14" />
715        <option display="30" data="30" />
716        <option display="60" data="60" />
717      </setting>
718      <setting data_type="select" value="LogMaxCount"
719               label="Maximum Number of Entries per Module"
720               default_data="100"
721               setting_type="host"
722               help_text="If there are more than this number of entries for a
723                          module, the oldest log entries will be deleted to
724                          reduce the count to this number.  Set to 0 to disable.">
725        <option display="Disabled" data="0" />
726        <option display="10" data="10" />
727        <option display="25" data="25" />
728        <option display="50" data="50" />
729        <option display="100" data="100" />
730        <option display="250" data="250" />
731        <option display="500" data="500" />
732      </setting>
733    </group>
734    <group human_label="Program Schedule Downloading Options"
735           unique_label="program_schedule_downloading_options">
736      <setting data_type="checkbox" value="MythFillEnabled"
737               label="Automatically run mythfilldatabase"
738               default_data="1"
739               setting_type="global"
740               help_text="This enables the automatic execution of
741                          mythfilldatabase." />
742      <setting data_type="string" value="MythFillDatabasePath"
743               setting_type="global"
744               label="mythfilldatabase Program"
745               default_data="mythfilldatabase"
746               help_text="Use 'mythfilldatabase' or the name of a custom
747                          script that will populate the program guide info
748                          for all your video sources." />
749      <setting data_type="string" value="MythFillDatabaseArgs"
750               setting_type="global"
751               label="mythfilldatabase Arguments"
752               default_data=""
753               help_text="Any arguments you want passed to the
754                          mythfilldatabase program." />
755      <setting data_type="string" value="MythFillDatabaseLog"
756               setting_type="global"
757               label="mythfilldatabase Log Path"
758               default_data=""
759               help_text="File or directory to use for logging
760                          output from the mythfilldatabase program.
761                          Leave blank to disable logging." />
762      <setting data_type="select" value="MythFillPeriod"
763               label="mythfilldatabase Run Frequency (Days)"
764               default_data="1"
765               setting_type="global"
766               help_text="The number of days between mythfilldatabase runs.">
767        <option display="1" data="1" />
768        <option display="2" data="2" />
769        <option display="3" data="3" />
770        <option display="4" data="4" />
771        <option display="5" data="5" />
772        <option display="6" data="6" />
773        <option display="7" data="7" />
774        <option display="8" data="8" />
775        <option display="9" data="9" />
776        <option display="10" data="10" />
777        <option display="20" data="20" />
778        <option display="30" data="30" />
779      </setting>
780
781      <setting data_type="select" value="MythFillMinHour"
782               label="mythfilldatabase Execution Start"
783               default_data="2"
784               setting_type="global"
785               help_text="This setting and the following one define a
786                          time period when the mythfilldatabase process is
787                          allowed to run.">
788        <option display="12 AM" data="0" />
789        <option display="1 AM"  data="1" />
790        <option display="2 AM"  data="2" />
791        <option display="3 AM"  data="3" />
792        <option display="4 AM"  data="4" />
793        <option display="5 AM"  data="5" />
794        <option display="6 AM"  data="6" />
795        <option display="7 AM"  data="7" />
796        <option display="8 AM"  data="8" />
797        <option display="9 AM"  data="9" />
798        <option display="10 AM" data="10" />
799        <option display="11 AM" data="11" />
800        <option display="12 PM" data="12" />
801        <option display="1 PM"  data="13" />
802        <option display="2 PM"  data="14" />
803        <option display="3 PM"  data="15" />
804        <option display="4 PM"  data="16" />
805        <option display="5 PM"  data="17" />
806        <option display="6 PM"  data="18" />
807        <option display="7 PM"  data="19" />
808        <option display="8 PM"  data="20" />
809        <option display="9 PM"  data="21" />
810        <option display="10 PM" data="22" />
811        <option display="11 PM" data="23" />
812      </setting>
813
814      <setting data_type="select" value="MythFillMaxHour"
815               label="mythfilldatabase Execution End"
816               default_data="5"
817               setting_type="global"
818               help_text="This setting and the preceding one define a
819                          time period when the mythfilldatabase process is
820                          allowed to run.">
821        <option display="12 AM" data="0" />
822        <option display="1 AM"  data="1" />
823        <option display="2 AM"  data="2" />
824        <option display="3 AM"  data="3" />
825        <option display="4 AM"  data="4" />
826        <option display="5 AM"  data="5" />
827        <option display="6 AM"  data="6" />
828        <option display="7 AM"  data="7" />
829        <option display="8 AM"  data="8" />
830        <option display="9 AM"  data="9" />
831        <option display="10 AM" data="10" />
832        <option display="11 AM" data="11" />
833        <option display="12 PM" data="12" />
834        <option display="1 PM"  data="13" />
835        <option display="2 PM"  data="14" />
836        <option display="3 PM"  data="15" />
837        <option display="4 PM"  data="16" />
838        <option display="5 PM"  data="17" />
839        <option display="6 PM"  data="18" />
840        <option display="7 PM"  data="19" />
841        <option display="8 PM"  data="20" />
842        <option display="9 PM"  data="21" />
843        <option display="10 PM" data="22" />
844        <option display="11 PM" data="23" />
845      </setting>
846      <setting data_type="checkbox" value="MythFillGrabberSuggestsTime"
847               label="Run mythfilldatabase at time suggested by the grabber."
848               default_data="1"
849               setting_type="global"
850               help_text="This setting allows a DataDirect guide data provider
851                          to specify the next download time in order to
852                          distribute load on their servers. If this setting is
853                          enabled, mythfilldatabase Execution Start/End times
854                          are ignored." />
855    </group>
856  </group>
857</config>