MythTV master
Classes | Functions | Variables
hardwareprofile.smolt Namespace Reference

Classes

class  _HardwareProfile
 
class  Host
 
class  PubUUIDError
 
class  ServerError
 
class  SystemBusError
 
class  UUIDError
 

Functions

def to_ascii (o, current_encoding='utf-8')
 
def get_file_systems (gate)
 
def ignoreDevice (device)
 
def serverMessage (page)
 
def error (message)
 
def debug (message)
 
def reset_resolver ()
 
def read_cpuinfo ()
 
def read_memory ()
 
def read_memory_2_4 ()
 
def read_memory_2_6 ()
 
def create_profile_nocatch (gate, uuid)
 
def create_profile (gate, uuid)
 For refactoring, I'll probably want to make a library Of command line tool functions This is one of them. More...
 
def get_profile_link (smoonURL, pub_uuid)
 This is another. More...
 
def read_uuid ()
 
def read_pub_uuid (uuiddb, uuid, user_agent=user_agent, smoonURL=smoonURL, timeout=timeout, silent=False)
 

Variables

 long = int
 
string WITHHELD_MAGIC_STRING = 'WITHHELD'
 
int SELINUX_ENABLED = 1
 
int SELINUX_DISABLED = 0
 
int SELINUX_WITHHELD = -1
 
tuple EXCEPTIONS
 
 fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"])
 
 fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True)
 
 fs_m_filter = get_config_attr("FS_M_FILTER", False)
 
 fs_t_filter = get_config_attr("FS_T_FILTER", False)
 
 smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/")
 
 secure = get_config_attr("SECURE", 0)
 
 hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/hw-uuid")
 
 admin_token_file = get_config_attr("ADMIN_TOKEN", '' )
 
string clientVersion = '1.3.2'
 
string smoltProtocol = '0.97'
 
list supported_protocols = ['0.97',]
 
string user_agent = 'smolt/%s' % smoltProtocol
 
float timeout = 120.0
 
 proxies = dict()
 
bool DEBUG = False
 
int PCI_BASE_CLASS_STORAGE = 1
 
int PCI_CLASS_STORAGE_SCSI = 0
 
int PCI_CLASS_STORAGE_IDE = 1
 
int PCI_CLASS_STORAGE_FLOPPY = 2
 
int PCI_CLASS_STORAGE_IPI = 3
 
int PCI_CLASS_STORAGE_RAID = 4
 
int PCI_CLASS_STORAGE_OTHER = 80
 
int PCI_BASE_CLASS_NETWORK = 2
 
int PCI_CLASS_NETWORK_ETHERNET = 0
 
int PCI_CLASS_NETWORK_TOKEN_RING = 1
 
int PCI_CLASS_NETWORK_FDDI = 2
 
int PCI_CLASS_NETWORK_ATM = 3
 
int PCI_CLASS_NETWORK_OTHER = 80
 
int PCI_CLASS_NETWORK_WIRELESS = 128
 
int PCI_BASE_CLASS_DISPLAY = 3
 
int PCI_CLASS_DISPLAY_VGA = 0
 
int PCI_CLASS_DISPLAY_XGA = 1
 
int PCI_CLASS_DISPLAY_3D = 2
 
int PCI_CLASS_DISPLAY_OTHER = 80
 
int PCI_BASE_CLASS_MULTIMEDIA = 4
 
int PCI_CLASS_MULTIMEDIA_VIDEO = 0
 
int PCI_CLASS_MULTIMEDIA_AUDIO = 1
 
int PCI_CLASS_MULTIMEDIA_PHONE = 2
 
int PCI_CLASS_MULTIMEDIA_HD_AUDIO = 3
 
int PCI_CLASS_MULTIMEDIA_OTHER = 80
 
int PCI_BASE_CLASS_BRIDGE = 6
 
int PCI_CLASS_BRIDGE_HOST = 0
 
int PCI_CLASS_BRIDGE_ISA = 1
 
int PCI_CLASS_BRIDGE_EISA = 2
 
int PCI_CLASS_BRIDGE_MC = 3
 
int PCI_CLASS_BRIDGE_PCI = 4
 
int PCI_CLASS_BRIDGE_PCMCIA = 5
 
int PCI_CLASS_BRIDGE_NUBUS = 6
 
int PCI_CLASS_BRIDGE_CARDBUS = 7
 
int PCI_CLASS_BRIDGE_RACEWAY = 8
 
int PCI_CLASS_BRIDGE_OTHER = 80
 
int PCI_BASE_CLASS_COMMUNICATION = 7
 
int PCI_CLASS_COMMUNICATION_SERIAL = 0
 
int PCI_CLASS_COMMUNICATION_PARALLEL = 1
 
int PCI_CLASS_COMMUNICATION_MULTISERIAL = 2
 
int PCI_CLASS_COMMUNICATION_MODEM = 3
 
int PCI_CLASS_COMMUNICATION_OTHER = 80
 
int PCI_BASE_CLASS_INPUT = 9
 
int PCI_CLASS_INPUT_KEYBOARD = 0
 
int PCI_CLASS_INPUT_PEN = 1
 
int PCI_CLASS_INPUT_MOUSE = 2
 
int PCI_CLASS_INPUT_SCANNER = 3
 
int PCI_CLASS_INPUT_GAMEPORT = 4
 
int PCI_CLASS_INPUT_OTHER = 80
 
int PCI_BASE_CLASS_SERIAL = 12
 
int PCI_CLASS_SERIAL_FIREWIRE = 0
 
int PCI_CLASS_SERIAL_ACCESS = 1
 
int PCI_CLASS_SERIAL_SSA = 2
 
int PCI_CLASS_SERIAL_USB = 3
 
int PCI_CLASS_SERIAL_FIBER = 4
 
int PCI_CLASS_SERIAL_SMBUS = 5
 
list FORMFACTOR_LIST
 

Function Documentation

◆ create_profile()

def hardwareprofile.smolt.create_profile (   gate,
  uuid 
)

For refactoring, I'll probably want to make a library Of command line tool functions This is one of them.

Definition at line 1296 of file smolt.py.

◆ create_profile_nocatch()

def hardwareprofile.smolt.create_profile_nocatch (   gate,
  uuid 
)

Definition at line 1289 of file smolt.py.

Referenced by hardwareprofile.smolt.create_profile().

◆ debug()

def hardwareprofile.smolt.debug (   message)

Definition at line 413 of file smolt.py.

Referenced by hardwareprofile.smolt._HardwareProfile.send().

◆ error()

def hardwareprofile.smolt.error (   message)

Definition at line 409 of file smolt.py.

Referenced by MythVTBSurfaceInterop.Acquire(), MHIText.AddText(), AudioConvertInternal.AudioConvertInternal(), avcodec_encode_audio(), nv_python_libs.common.common_api.Common.callCommandLine(), MythContext::Impl.ChooseBackend(), ChannelScannerGUIScanPane.Create(), MythTerminal.Create(), StandardSettingDialog.Create(), hardwareprofile.smolt.create_profile(), MythCodecContext.CreateDevice(), MHIBitmap.CreateFromMPEG(), MusicPlayer.customEvent(), MythInputDeviceHandler.customEvent(), AudioOutputUtil.DecodeAudio(), MHIDLA.DrawLineSub(), AudioOutputDigitalEncoder.Encode(), ExternIO.Fork(), hardwareprofile.distros.mythtv_data.uuiddb._UuidDb.get_pub_uuid(), CardUtil.GetASIBufferSize(), CardUtil.GetASIDeviceNumber(), CardUtil.GetASIMode(), CardUtil.GetASINumBuffers(), MHIText.GetBounds(), MythAVFormatWriter.GetCodecTimeBase(), ChannelScannerCLI.HandleEvent(), ChannelScannerGUI.HandleEvent(), MythHTTPService.HTTPRequest(), GalleryThumbView.Import(), ChannelScannerCLI.InformUser(), ChannelScannerGUI.InformUser(), ChannelScannerWeb.InformUser(), AudioOutputDXPrivate.InitDirectSound(), MythHTTPS.InitSSLSocket(), XmlConfiguration.Load(), MythVideoProfile.LoadDB(), RecExtEspnDataSource.loadPage(), RecExtMlbDataSource.loadPage(), hardwareprofile.deleteProfile.main(), hardwareprofile.getLink.main(), hardwareprofile.sendProfile.main_request_new_public_uuid(), MHIContext.MHIContext(), MythVideoProfile.MythVideoProfile(), ASIStreamHandler.Open(), MythRAOPConnection.OpenAudioDevice(), AvFormatDecoder.OpenAVCodec(), AvFormatDecoder.OpenFile(), PaneError.PaneError(), hardwareprofile.sendProfile.present_and_require_confirmation(), ASIConfigurationGroup.probeCard(), MythUDPListener.Process(), UPNPSubscription.ProcessRequest(), AvFormatDecoder.ProcessVideoPacket(), MythContext::Impl.PromptForDatabaseParams(), RemoteFile.Read(), hardwareprofile.smolt.read_pub_uuid(), MetadataDownload.readNFO(), MythControls.ResolveConflict(), FillData.Run(), IPTVStreamHandler.run(), ScanMonitor.ScanErrored(), hardwareprofile.smolt._HardwareProfile.send(), hardwareprofile.sendProfile.send_profile(), SendAppleEventToSystemProcess(), ZMServer.sendError(), SendMessage(), CardUtil.SetASIMode(), OSD.SetRegions(), setupTVs(), ShowNotification(), NetStream.slotFinished(), BackendSelection.TryDBfromURL(), HDHRStreamHandler.TunerGet(), HDHRStreamHandler.TunerSet(), TVRec.TuningFrequency(), MythContext::Impl.UPnPconnect(), RemoteFile.Write(), MythAVFormatWriter.WriteAudioFrame(), and MythAVFormatWriter.WriteVideoFrame().

◆ get_file_systems()

def hardwareprofile.smolt.get_file_systems (   gate)

Definition at line 352 of file smolt.py.

◆ get_profile_link()

def hardwareprofile.smolt.get_profile_link (   smoonURL,
  pub_uuid 
)

This is another.

Definition at line 1306 of file smolt.py.

Referenced by hardwareprofile.deleteProfile.main().

◆ ignoreDevice()

def hardwareprofile.smolt.ignoreDevice (   device)

◆ read_cpuinfo()

def hardwareprofile.smolt.read_cpuinfo ( )

Definition at line 965 of file smolt.py.

Referenced by hardwareprofile.smolt.Host.__init__().

◆ read_memory()

def hardwareprofile.smolt.read_memory ( )

Definition at line 1217 of file smolt.py.

Referenced by hardwareprofile.smolt.Host.__init__().

◆ read_memory_2_4()

def hardwareprofile.smolt.read_memory_2_4 ( )

Definition at line 1231 of file smolt.py.

Referenced by hardwareprofile.smolt.read_memory().

◆ read_memory_2_6()

def hardwareprofile.smolt.read_memory_2_6 ( )

Definition at line 1255 of file smolt.py.

Referenced by hardwareprofile.smolt.read_memory().

◆ read_pub_uuid()

def hardwareprofile.smolt.read_pub_uuid (   uuiddb,
  uuid,
  user_agent = user_agent,
  smoonURL = smoonURL,
  timeout = timeout,
  silent = False 
)

Definition at line 1324 of file smolt.py.

◆ read_uuid()

def hardwareprofile.smolt.read_uuid ( )

Definition at line 1309 of file smolt.py.

◆ reset_resolver()

def hardwareprofile.smolt.reset_resolver ( )
Attempt to reset the system hostname resolver.
returns 0 on success, or -1 if an error occurs.

Definition at line 417 of file smolt.py.

Referenced by hardwareprofile.smolt._HardwareProfile.send().

◆ serverMessage()

def hardwareprofile.smolt.serverMessage (   page)

◆ to_ascii()

def hardwareprofile.smolt.to_ascii (   o,
  current_encoding = 'utf-8' 
)
 This shouldn't even be required in python3 

Definition at line 203 of file smolt.py.

Referenced by hardwareprofile.sendProfile.make_display_excerpts().

Variable Documentation

◆ admin_token_file

hardwareprofile.smolt.admin_token_file = get_config_attr("ADMIN_TOKEN", '' )

Definition at line 95 of file smolt.py.

◆ clientVersion

string hardwareprofile.smolt.clientVersion = '1.3.2'

Definition at line 97 of file smolt.py.

◆ DEBUG

bool hardwareprofile.smolt.DEBUG = False

Definition at line 103 of file smolt.py.

◆ EXCEPTIONS

tuple hardwareprofile.smolt.EXCEPTIONS
Initial value:
1= (requests.exceptions.HTTPError,
2 requests.exceptions.URLRequired,
3 requests.exceptions.Timeout,
4 requests.exceptions.ConnectionError,
5 requests.exceptions.InvalidURL)

Definition at line 81 of file smolt.py.

◆ FORMFACTOR_LIST

list hardwareprofile.smolt.FORMFACTOR_LIST
Initial value:
1= [ "Unknown",
2 "Other",
3 "Unknown",
4 "Desktop",
5 "Low Profile Desktop",
6 "Pizza Box",
7 "Mini Tower",
8 "Tower",
9 "Portable",
10 "Laptop",
11 "Notebook",
12 "Hand Held",
13 "Docking Station",
14 "All In One",
15 "Sub Notebook",
16 "Space-saving",
17 "Lunch Box",
18 "Main Server Chassis",
19 "Expansion Chassis",
20 "Sub Chassis",
21 "Bus Expansion Chassis",
22 "Peripheral Chassis",
23 "RAID Chassis",
24 "Rack Mount Chassis",
25 "Sealed-case PC",
26 "Multi-system",
27 "CompactPCI",
28 "AdvancedTCA"
29 ]

Definition at line 173 of file smolt.py.

◆ fs_m_filter

hardwareprofile.smolt.fs_m_filter = get_config_attr("FS_M_FILTER", False)

Definition at line 89 of file smolt.py.

◆ fs_mounts

hardwareprofile.smolt.fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True)

Definition at line 88 of file smolt.py.

◆ fs_t_filter

hardwareprofile.smolt.fs_t_filter = get_config_attr("FS_T_FILTER", False)

Definition at line 90 of file smolt.py.

◆ fs_types

hardwareprofile.smolt.fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"])

Definition at line 87 of file smolt.py.

◆ hw_uuid_file

hardwareprofile.smolt.hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/hw-uuid")

Definition at line 94 of file smolt.py.

◆ long

hardwareprofile.smolt.long = int

◆ PCI_BASE_CLASS_BRIDGE

int hardwareprofile.smolt.PCI_BASE_CLASS_BRIDGE = 6

Definition at line 135 of file smolt.py.

◆ PCI_BASE_CLASS_COMMUNICATION

int hardwareprofile.smolt.PCI_BASE_CLASS_COMMUNICATION = 7

Definition at line 147 of file smolt.py.

◆ PCI_BASE_CLASS_DISPLAY

int hardwareprofile.smolt.PCI_BASE_CLASS_DISPLAY = 3

Definition at line 122 of file smolt.py.

◆ PCI_BASE_CLASS_INPUT

int hardwareprofile.smolt.PCI_BASE_CLASS_INPUT = 9

Definition at line 154 of file smolt.py.

◆ PCI_BASE_CLASS_MULTIMEDIA

int hardwareprofile.smolt.PCI_BASE_CLASS_MULTIMEDIA = 4

Definition at line 128 of file smolt.py.

◆ PCI_BASE_CLASS_NETWORK

int hardwareprofile.smolt.PCI_BASE_CLASS_NETWORK = 2

Definition at line 114 of file smolt.py.

◆ PCI_BASE_CLASS_SERIAL

int hardwareprofile.smolt.PCI_BASE_CLASS_SERIAL = 12

Definition at line 162 of file smolt.py.

◆ PCI_BASE_CLASS_STORAGE

int hardwareprofile.smolt.PCI_BASE_CLASS_STORAGE = 1

Definition at line 106 of file smolt.py.

◆ PCI_CLASS_BRIDGE_CARDBUS

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_CARDBUS = 7

Definition at line 143 of file smolt.py.

◆ PCI_CLASS_BRIDGE_EISA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_EISA = 2

Definition at line 138 of file smolt.py.

◆ PCI_CLASS_BRIDGE_HOST

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_HOST = 0

Definition at line 136 of file smolt.py.

◆ PCI_CLASS_BRIDGE_ISA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_ISA = 1

Definition at line 137 of file smolt.py.

◆ PCI_CLASS_BRIDGE_MC

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_MC = 3

Definition at line 139 of file smolt.py.

◆ PCI_CLASS_BRIDGE_NUBUS

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_NUBUS = 6

Definition at line 142 of file smolt.py.

◆ PCI_CLASS_BRIDGE_OTHER

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_OTHER = 80

Definition at line 145 of file smolt.py.

◆ PCI_CLASS_BRIDGE_PCI

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_PCI = 4

Definition at line 140 of file smolt.py.

◆ PCI_CLASS_BRIDGE_PCMCIA

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_PCMCIA = 5

Definition at line 141 of file smolt.py.

◆ PCI_CLASS_BRIDGE_RACEWAY

int hardwareprofile.smolt.PCI_CLASS_BRIDGE_RACEWAY = 8

Definition at line 144 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_MODEM

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MODEM = 3

Definition at line 151 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_MULTISERIAL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MULTISERIAL = 2

Definition at line 150 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_OTHER

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_OTHER = 80

Definition at line 152 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_PARALLEL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_PARALLEL = 1

Definition at line 149 of file smolt.py.

◆ PCI_CLASS_COMMUNICATION_SERIAL

int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_SERIAL = 0

Definition at line 148 of file smolt.py.

◆ PCI_CLASS_DISPLAY_3D

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_3D = 2

Definition at line 125 of file smolt.py.

◆ PCI_CLASS_DISPLAY_OTHER

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_OTHER = 80

Definition at line 126 of file smolt.py.

◆ PCI_CLASS_DISPLAY_VGA

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_VGA = 0

Definition at line 123 of file smolt.py.

◆ PCI_CLASS_DISPLAY_XGA

int hardwareprofile.smolt.PCI_CLASS_DISPLAY_XGA = 1

Definition at line 124 of file smolt.py.

◆ PCI_CLASS_INPUT_GAMEPORT

int hardwareprofile.smolt.PCI_CLASS_INPUT_GAMEPORT = 4

Definition at line 159 of file smolt.py.

◆ PCI_CLASS_INPUT_KEYBOARD

int hardwareprofile.smolt.PCI_CLASS_INPUT_KEYBOARD = 0

Definition at line 155 of file smolt.py.

◆ PCI_CLASS_INPUT_MOUSE

int hardwareprofile.smolt.PCI_CLASS_INPUT_MOUSE = 2

Definition at line 157 of file smolt.py.

◆ PCI_CLASS_INPUT_OTHER

int hardwareprofile.smolt.PCI_CLASS_INPUT_OTHER = 80

Definition at line 160 of file smolt.py.

◆ PCI_CLASS_INPUT_PEN

int hardwareprofile.smolt.PCI_CLASS_INPUT_PEN = 1

Definition at line 156 of file smolt.py.

◆ PCI_CLASS_INPUT_SCANNER

int hardwareprofile.smolt.PCI_CLASS_INPUT_SCANNER = 3

Definition at line 158 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_AUDIO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_AUDIO = 1

Definition at line 130 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_HD_AUDIO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_HD_AUDIO = 3

Definition at line 132 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_OTHER

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_OTHER = 80

Definition at line 133 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_PHONE

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_PHONE = 2

Definition at line 131 of file smolt.py.

◆ PCI_CLASS_MULTIMEDIA_VIDEO

int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_VIDEO = 0

Definition at line 129 of file smolt.py.

◆ PCI_CLASS_NETWORK_ATM

int hardwareprofile.smolt.PCI_CLASS_NETWORK_ATM = 3

Definition at line 118 of file smolt.py.

◆ PCI_CLASS_NETWORK_ETHERNET

int hardwareprofile.smolt.PCI_CLASS_NETWORK_ETHERNET = 0

Definition at line 115 of file smolt.py.

◆ PCI_CLASS_NETWORK_FDDI

int hardwareprofile.smolt.PCI_CLASS_NETWORK_FDDI = 2

Definition at line 117 of file smolt.py.

◆ PCI_CLASS_NETWORK_OTHER

int hardwareprofile.smolt.PCI_CLASS_NETWORK_OTHER = 80

Definition at line 119 of file smolt.py.

◆ PCI_CLASS_NETWORK_TOKEN_RING

int hardwareprofile.smolt.PCI_CLASS_NETWORK_TOKEN_RING = 1

Definition at line 116 of file smolt.py.

◆ PCI_CLASS_NETWORK_WIRELESS

int hardwareprofile.smolt.PCI_CLASS_NETWORK_WIRELESS = 128

Definition at line 120 of file smolt.py.

◆ PCI_CLASS_SERIAL_ACCESS

int hardwareprofile.smolt.PCI_CLASS_SERIAL_ACCESS = 1

Definition at line 164 of file smolt.py.

◆ PCI_CLASS_SERIAL_FIBER

int hardwareprofile.smolt.PCI_CLASS_SERIAL_FIBER = 4

Definition at line 168 of file smolt.py.

◆ PCI_CLASS_SERIAL_FIREWIRE

int hardwareprofile.smolt.PCI_CLASS_SERIAL_FIREWIRE = 0

Definition at line 163 of file smolt.py.

◆ PCI_CLASS_SERIAL_SMBUS

int hardwareprofile.smolt.PCI_CLASS_SERIAL_SMBUS = 5

Definition at line 169 of file smolt.py.

◆ PCI_CLASS_SERIAL_SSA

int hardwareprofile.smolt.PCI_CLASS_SERIAL_SSA = 2

Definition at line 166 of file smolt.py.

◆ PCI_CLASS_SERIAL_USB

int hardwareprofile.smolt.PCI_CLASS_SERIAL_USB = 3

Definition at line 167 of file smolt.py.

◆ PCI_CLASS_STORAGE_FLOPPY

int hardwareprofile.smolt.PCI_CLASS_STORAGE_FLOPPY = 2

Definition at line 109 of file smolt.py.

◆ PCI_CLASS_STORAGE_IDE

int hardwareprofile.smolt.PCI_CLASS_STORAGE_IDE = 1

Definition at line 108 of file smolt.py.

◆ PCI_CLASS_STORAGE_IPI

int hardwareprofile.smolt.PCI_CLASS_STORAGE_IPI = 3

Definition at line 110 of file smolt.py.

◆ PCI_CLASS_STORAGE_OTHER

int hardwareprofile.smolt.PCI_CLASS_STORAGE_OTHER = 80

Definition at line 112 of file smolt.py.

◆ PCI_CLASS_STORAGE_RAID

int hardwareprofile.smolt.PCI_CLASS_STORAGE_RAID = 4

Definition at line 111 of file smolt.py.

◆ PCI_CLASS_STORAGE_SCSI

int hardwareprofile.smolt.PCI_CLASS_STORAGE_SCSI = 0

Definition at line 107 of file smolt.py.

◆ proxies

hardwareprofile.smolt.proxies = dict()

Definition at line 102 of file smolt.py.

Referenced by setHttpProxy().

◆ secure

hardwareprofile.smolt.secure = get_config_attr("SECURE", 0)

Definition at line 93 of file smolt.py.

Referenced by HTTPRequest.SetCookie().

◆ SELINUX_DISABLED

int hardwareprofile.smolt.SELINUX_DISABLED = 0

Definition at line 78 of file smolt.py.

◆ SELINUX_ENABLED

int hardwareprofile.smolt.SELINUX_ENABLED = 1

Definition at line 77 of file smolt.py.

◆ SELINUX_WITHHELD

int hardwareprofile.smolt.SELINUX_WITHHELD = -1

Definition at line 79 of file smolt.py.

◆ smoltProtocol

string hardwareprofile.smolt.smoltProtocol = '0.97'

Definition at line 98 of file smolt.py.

◆ smoonURL

hardwareprofile.smolt.smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/")

Definition at line 92 of file smolt.py.

◆ supported_protocols

list hardwareprofile.smolt.supported_protocols = ['0.97',]

Definition at line 99 of file smolt.py.

◆ timeout

float hardwareprofile.smolt.timeout = 120.0

Definition at line 101 of file smolt.py.

Referenced by TV.ActiveHandleAction(), BackendConnectionManager.BackendConnectionManager(), MythWebSocket.CheckClose(), MythCoreContext.CheckProtoVersion(), LCDProcClient.connectToHost(), SearchStream.Create(), LogViewer.Create(), MythMusicVolumeDialog.Create(), TrackInfoPopup.Create(), GUIStartup.Create(), PlaybackBox.Create(), TV.customEvent(), BackendConnectionManager.customEvent(), HTTPReader.DownloadStream(), MythSingleDownload.DownloadURL(), eit_start_rand(), MythSystemLegacyUnix.Fork(), MythSystemLegacyWindows.Fork(), GallerySlideView.GallerySlideView(), ExternalSignalMonitor.GetLockTimeout(), HLSRingBuffer.GetSegment(), RemoteEncoder.GetSignalLockTimeout(), HttpServer.GetSocketTimeout(), ExternIO.GetStatus(), GrabberManager.GrabberManager(), GuideGrid.GuideGrid(), FileServerHandler.HandleAnnounce(), HouseKeeper.HouseKeeper(), IdleScreen.IdleScreen(), InfoList.InfoList(), MythHTTPServer.Init(), MythRAOPConnection.Init(), avfDecoder.initialize(), JumpToChannel.JumpToChannel(), LCD.LCD(), LCDProcClient.LCDProcClient(), anonymous_namespace{videodlg.cpp}::FanartLoader.LoadImage(), main(), MainServer.MainServer(), MainVisual.MainVisual(), MiniPlayer.MiniPlayer(), myth_system(), MythHTTPSocket.MythHTTPSocket(), MythMainWindow.MythMainWindow(), MythNews.MythNews(), MythNotificationScreen.MythNotificationScreen(), MythPlayerOverlayUI.MythPlayerOverlayUI(), MythPlayerUI.MythPlayerUI(), MythPower.MythPower(), MythPowerDBus.MythPowerDBus(), MythUIButton.MythUIButton(), MythUIFileBrowser.MythUIFileBrowser(), MythWakeup(), MythWebSocket.MythWebSocket(), MythPlayer.OpenFile(), OutboundRequestHandler.OutboundRequestHandler(), UPNPScanner.ParseDescription(), RecorderBase.PauseAndWait(), CetonRecorder.PauseAndWait(), DVBRecorder.PauseAndWait(), ExternalRecorder.PauseAndWait(), FirewireRecorder.PauseAndWait(), HDHRRecorder.PauseAndWait(), IPTVRecorder.PauseAndWait(), MpegRecorder.PauseAndWait(), SatIPRecorder.PauseAndWait(), V4L2encRecorder.PauseAndWait(), MythMediaBuffer.PauseAndWait(), MythDisplay.PauseForModeSwitch(), TV.PauseLiveTV(), SSDP.PerformSearch(), ping(), DeviceReadBuffer.Poll(), MythUDPListener.Process(), BiopTap.Process(), ExternalStreamHandler.ProcessCommand(), ExternalStreamHandler.ProcessJson(), ExternalStreamHandler.ProcessVer1(), ExternalStreamHandler.ProcessVer2(), ExternIO.Read(), BufferedSocketDeviceRequest.ReadLine(), ExternIO.Ready(), RSSManager.RSSManager(), JoystickMenuThread.run(), SSDP.run(), MythSystemLegacy.Run(), Commands.Run(), LIRC.run(), DVBStreamHandler.RunTS(), GlobalSetup.saveData(), UPNPScanner.ScheduleRenewal(), ScreenSaverX11Private.ScreenSaverX11Private(), SendMessage(), MythCoreContext.SendReceiveStringList(), UPNPSubscription.SendSubscribeRequest(), MythPlayerOverlayUI.SetOSDStatus(), WeatherSource.setScriptTimeout(), MythCoreContext.SetupCommandSocket(), WeatherSource.setUpdateTimeout(), WebSocketWorker.SetupSocket(), MythAirplayServer.Start(), UPNPScanner.Start(), StatusBoxItem.Start(), MythRAOPConnection.StartAudioTimer(), CetonRTSP.StartKeepAlive(), SatIPRTSP.StartKeepAliveRequested(), ThemeUpdateChecker.ThemeUpdateChecker(), UPNPScanner.timerEvent(), TV.UpdateOSDTimeoutMessage(), MythSocket.Validate(), MythSystemLegacyWrapper.Wait(), MythSystemLegacy.Wait(), MythDisplay.WaitForNewScreen(), RecorderBase.WaitForPause(), DeviceReadBuffer.WaitForPaused(), MythDisplay.WaitForScreenChange(), DeviceReadBuffer.WaitForUnpause(), MythCoreContextPrivate.WaitForWOL(), NetStream.WaitTillFinished(), NetStream.WaitTillReady(), Weather.Weather(), WeatherSource.WeatherSource(), WelcomeDialog.WelcomeDialog(), ZMClient.ZMClient(), ZMConsole.ZMConsole(), ZMLivePlayer.ZMLivePlayer(), ZMMiniPlayer.ZMMiniPlayer(), and ZMPlayer.ZMPlayer().

◆ user_agent

string hardwareprofile.smolt.user_agent = 'smolt/%s' % smoltProtocol

Definition at line 100 of file smolt.py.

◆ WITHHELD_MAGIC_STRING

string hardwareprofile.smolt.WITHHELD_MAGIC_STRING = 'WITHHELD'

Definition at line 76 of file smolt.py.