MythTV  master
Classes | Functions
backendsettings.cpp File Reference
#include <cstdio>
#include <unistd.h>
#include <QNetworkInterface>
#include "libmythbase/mythcorecontext.h"
#include "libmythtv/channelsettings.h"
#include "libmythtv/frequencies.h"
#include "backendsettings.h"
Include dependency graph for backendsettings.cpp:

Go to the source code of this file.

Classes

class  IpAddressSettings
 
class  MythFillSettings
 

Functions

static TransMythUICheckBoxSettingIsMasterBackend ()
 
static GlobalTextEditSettingMasterServerName ()
 
static HostCheckBoxSettingAllowConnFromAll ()
 
static HostComboBoxSettingLocalServerIP ()
 
static HostComboBoxSettingLocalServerIP6 ()
 
static HostCheckBoxSettingUseLinkLocal ()
 
static HostTextEditSettingLocalStatusPort ()
 
static HostComboBoxSettingBackendServerAddr ()
 
static GlobalTextEditSettingMasterServerIP ()
 
static GlobalTextEditSettingMasterServerPort ()
 
static HostTextEditSettingLocalSecurityPin ()
 
static GlobalComboBoxSettingTVFormat ()
 
static GlobalComboBoxSettingVbiFormat ()
 
static GlobalComboBoxSettingFreqTable ()
 
static GlobalCheckBoxSettingSaveTranscoding ()
 
static HostCheckBoxSettingTruncateDeletes ()
 
static GlobalCheckBoxSettingDeletesFollowLinks ()
 
static GlobalSpinBoxSettingHDRingbufferSize ()
 
static GlobalComboBoxSettingStorageScheduler ()
 
static GlobalCheckBoxSettingDisableAutomaticBackup ()
 
static HostCheckBoxSettingDisableFirewireReset ()
 
static HostTextEditSettingMiscStatusScript ()
 
static GlobalSpinBoxSettingEITTransportTimeout ()
 
static GlobalCheckBoxSettingMasterBackendOverride ()
 
static GlobalSpinBoxSettingEITCrawIdleStart ()
 
static GlobalSpinBoxSettingEITScanPeriod ()
 
static GlobalSpinBoxSettingEITEventChunkSize ()
 
static GlobalCheckBoxSettingEITCachePersistent ()
 
static GlobalSpinBoxSettingWOLbackendReconnectWaitTime ()
 
static GlobalSpinBoxSettingWOLbackendConnectRetry ()
 
static GlobalTextEditSettingWOLbackendCommand ()
 
static HostTextEditSettingSleepCommand ()
 
static HostTextEditSettingWakeUpCommand ()
 
static GlobalTextEditSettingBackendStopCommand ()
 
static GlobalTextEditSettingBackendStartCommand ()
 
static GlobalSpinBoxSettingidleTimeoutSecs ()
 
static GlobalSpinBoxSettingidleWaitForRecordingTime ()
 
static GlobalSpinBoxSettingStartupSecsBeforeRecording ()
 
static GlobalTextEditSettingWakeupTimeFormat ()
 
static GlobalTextEditSettingSetWakeuptimeCommand ()
 
static GlobalTextEditSettingServerHaltCommand ()
 
static GlobalTextEditSettingpreSDWUCheckCommand ()
 
static GlobalCheckBoxSettingblockSDWUwithoutClient ()
 
static GlobalTextEditSettingstartupCommand ()
 
static HostSpinBoxSettingJobQueueMaxSimultaneousJobs ()
 
static HostSpinBoxSettingJobQueueCheckFrequency ()
 
static HostComboBoxSettingJobQueueCPU ()
 
static HostTimeBoxSettingJobQueueWindowStart ()
 
static HostTimeBoxSettingJobQueueWindowEnd ()
 
static GlobalCheckBoxSettingJobsRunOnRecordHost ()
 
static GlobalCheckBoxSettingAutoTranscodeBeforeAutoCommflag ()
 
static GlobalCheckBoxSettingAutoCommflagWhileRecording ()
 
static GlobalTextEditSettingUserJob (uint job_num)
 
static GlobalTextEditSettingUserJobDesc (uint job_num)
 
static HostCheckBoxSettingJobAllowMetadata ()
 
static HostCheckBoxSettingJobAllowCommFlag ()
 
static HostCheckBoxSettingJobAllowTranscode ()
 
static HostCheckBoxSettingJobAllowPreview ()
 
static GlobalTextEditSettingJobQueueTranscodeCommand ()
 
static GlobalTextEditSettingJobQueueCommFlagCommand ()
 
static HostCheckBoxSettingJobAllowUserJob (uint job_num)
 
static GlobalComboBoxSettingUPNPWmpSource ()
 
static GlobalCheckBoxSettingMythFillEnabled ()
 
static GlobalSpinBoxSettingMythFillMinHour ()
 
static GlobalSpinBoxSettingMythFillMaxHour ()
 
static GlobalCheckBoxSettingMythFillGrabberSuggestsTime ()
 
static GlobalTextEditSettingMythFillDatabasePath ()
 
static GlobalTextEditSettingMythFillDatabaseArgs ()
 

Function Documentation

◆ IsMasterBackend()

static TransMythUICheckBoxSetting* IsMasterBackend ( )
static

Definition at line 16 of file backendsettings.cpp.

◆ MasterServerName()

static GlobalTextEditSetting* MasterServerName ( )
static

Definition at line 31 of file backendsettings.cpp.

◆ AllowConnFromAll()

static HostCheckBoxSetting* AllowConnFromAll ( )
static

Definition at line 44 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ LocalServerIP()

static HostComboBoxSetting* LocalServerIP ( )
static

Definition at line 56 of file backendsettings.cpp.

◆ LocalServerIP6()

static HostComboBoxSetting* LocalServerIP6 ( )
static

Definition at line 78 of file backendsettings.cpp.

◆ UseLinkLocal()

static HostCheckBoxSetting* UseLinkLocal ( )
static

Definition at line 113 of file backendsettings.cpp.

Referenced by IpAddressSettings::IpAddressSettings().

◆ LocalStatusPort()

static HostTextEditSetting* LocalStatusPort ( )
static

Definition at line 168 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ BackendServerAddr()

static HostComboBoxSetting* BackendServerAddr ( )
static

Definition at line 179 of file backendsettings.cpp.

◆ MasterServerIP()

static GlobalTextEditSetting* MasterServerIP ( )
static

Definition at line 196 of file backendsettings.cpp.

◆ MasterServerPort()

static GlobalTextEditSetting* MasterServerPort ( )
static

Definition at line 205 of file backendsettings.cpp.

◆ LocalSecurityPin()

static HostTextEditSetting* LocalSecurityPin ( )
static

Definition at line 213 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ TVFormat()

static GlobalComboBoxSetting* TVFormat ( )
static

Definition at line 225 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ VbiFormat()

static GlobalComboBoxSetting* VbiFormat ( )
static

Definition at line 238 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ FreqTable()

static GlobalComboBoxSetting* FreqTable ( )
static

◆ SaveTranscoding()

static GlobalCheckBoxSetting* SaveTranscoding ( )
static

Definition at line 265 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ TruncateDeletes()

static HostCheckBoxSetting* TruncateDeletes ( )
static

Definition at line 276 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ DeletesFollowLinks()

static GlobalCheckBoxSetting* DeletesFollowLinks ( )
static

Definition at line 288 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ HDRingbufferSize()

static GlobalSpinBoxSetting* HDRingbufferSize ( )
static

Definition at line 299 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ StorageScheduler()

static GlobalComboBoxSetting* StorageScheduler ( )
static

Definition at line 314 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ DisableAutomaticBackup()

static GlobalCheckBoxSetting* DisableAutomaticBackup ( )
static

Definition at line 330 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ DisableFirewireReset()

static HostCheckBoxSetting* DisableFirewireReset ( )
static

Definition at line 342 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ MiscStatusScript()

static HostTextEditSetting* MiscStatusScript ( )
static

Definition at line 356 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ EITTransportTimeout()

static GlobalSpinBoxSetting* EITTransportTimeout ( )
static

Definition at line 368 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ MasterBackendOverride()

static GlobalCheckBoxSetting* MasterBackendOverride ( )
static

Definition at line 381 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ EITCrawIdleStart()

static GlobalSpinBoxSetting* EITCrawIdleStart ( )
static

Definition at line 393 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ EITScanPeriod()

static GlobalSpinBoxSetting* EITScanPeriod ( )
static

Definition at line 405 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ EITEventChunkSize()

static GlobalSpinBoxSetting* EITEventChunkSize ( )
static

Definition at line 419 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ EITCachePersistent()

static GlobalCheckBoxSetting* EITCachePersistent ( )
static

Definition at line 433 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ WOLbackendReconnectWaitTime()

static GlobalSpinBoxSetting* WOLbackendReconnectWaitTime ( )
static

Definition at line 447 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ WOLbackendConnectRetry()

static GlobalSpinBoxSetting* WOLbackendConnectRetry ( )
static

Definition at line 459 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ WOLbackendCommand()

static GlobalTextEditSetting* WOLbackendCommand ( )
static

Definition at line 469 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ SleepCommand()

static HostTextEditSetting* SleepCommand ( )
static

Definition at line 479 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ WakeUpCommand()

static HostTextEditSetting* WakeUpCommand ( )
static

Definition at line 490 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ BackendStopCommand()

static GlobalTextEditSetting* BackendStopCommand ( )
static

Definition at line 501 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ BackendStartCommand()

static GlobalTextEditSetting* BackendStartCommand ( )
static

Definition at line 512 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ idleTimeoutSecs()

static GlobalSpinBoxSetting* idleTimeoutSecs ( )
static

◆ idleWaitForRecordingTime()

static GlobalSpinBoxSetting* idleWaitForRecordingTime ( )
static

◆ StartupSecsBeforeRecording()

static GlobalSpinBoxSetting* StartupSecsBeforeRecording ( )
static

Definition at line 546 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ WakeupTimeFormat()

static GlobalTextEditSetting* WakeupTimeFormat ( )
static

Definition at line 556 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ SetWakeuptimeCommand()

static GlobalTextEditSetting* SetWakeuptimeCommand ( )
static

Definition at line 568 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ ServerHaltCommand()

static GlobalTextEditSetting* ServerHaltCommand ( )
static

Definition at line 578 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ preSDWUCheckCommand()

static GlobalTextEditSetting* preSDWUCheckCommand ( )
static

◆ blockSDWUwithoutClient()

static GlobalCheckBoxSetting* blockSDWUwithoutClient ( )
static

Definition at line 600 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ startupCommand()

static GlobalTextEditSetting* startupCommand ( )
static

◆ JobQueueMaxSimultaneousJobs()

static HostSpinBoxSetting* JobQueueMaxSimultaneousJobs ( )
static

Definition at line 622 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueCheckFrequency()

static HostSpinBoxSetting* JobQueueCheckFrequency ( )
static

Definition at line 632 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueCPU()

static HostComboBoxSetting* JobQueueCPU ( )
static

Definition at line 642 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueWindowStart()

static HostTimeBoxSetting* JobQueueWindowStart ( )
static

Definition at line 656 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueWindowEnd()

static HostTimeBoxSetting* JobQueueWindowEnd ( )
static

Definition at line 666 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobsRunOnRecordHost()

static GlobalCheckBoxSetting* JobsRunOnRecordHost ( )
static

Definition at line 676 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ AutoTranscodeBeforeAutoCommflag()

static GlobalCheckBoxSetting* AutoTranscodeBeforeAutoCommflag ( )
static

Definition at line 687 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ AutoCommflagWhileRecording()

static GlobalCheckBoxSetting* AutoCommflagWhileRecording ( )
static

Definition at line 700 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ UserJob()

static GlobalTextEditSetting* UserJob ( uint  job_num)
static

Definition at line 713 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ UserJobDesc()

static GlobalTextEditSetting* UserJobDesc ( uint  job_num)
static

Definition at line 723 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobAllowMetadata()

static HostCheckBoxSetting* JobAllowMetadata ( )
static

Definition at line 733 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobAllowCommFlag()

static HostCheckBoxSetting* JobAllowCommFlag ( )
static

Definition at line 743 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobAllowTranscode()

static HostCheckBoxSetting* JobAllowTranscode ( )
static

Definition at line 753 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobAllowPreview()

static HostCheckBoxSetting* JobAllowPreview ( )
static

Definition at line 763 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueTranscodeCommand()

static GlobalTextEditSetting* JobQueueTranscodeCommand ( )
static

Definition at line 773 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobQueueCommFlagCommand()

static GlobalTextEditSetting* JobQueueCommFlagCommand ( )
static

Definition at line 783 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ JobAllowUserJob()

static HostCheckBoxSetting* JobAllowUserJob ( uint  job_num)
static

Definition at line 794 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ UPNPWmpSource()

static GlobalComboBoxSetting* UPNPWmpSource ( )
static

Definition at line 829 of file backendsettings.cpp.

Referenced by BackendSettings::BackendSettings().

◆ MythFillEnabled()

static GlobalCheckBoxSetting* MythFillEnabled ( )
static

Definition at line 841 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().

◆ MythFillMinHour()

static GlobalSpinBoxSetting* MythFillMinHour ( )
static

Definition at line 851 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().

◆ MythFillMaxHour()

static GlobalSpinBoxSetting* MythFillMaxHour ( )
static

Definition at line 864 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().

◆ MythFillGrabberSuggestsTime()

static GlobalCheckBoxSetting* MythFillGrabberSuggestsTime ( )
static

Definition at line 877 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().

◆ MythFillDatabasePath()

static GlobalTextEditSetting* MythFillDatabasePath ( )
static

Definition at line 890 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().

◆ MythFillDatabaseArgs()

static GlobalTextEditSetting* MythFillDatabaseArgs ( )
static

Definition at line 902 of file backendsettings.cpp.

Referenced by MythFillSettings::MythFillSettings().