MythTV
master
|
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) |
def hardwareprofile.smolt.to_ascii | ( | o, | |
current_encoding = 'utf-8' |
|||
) |
This shouldn't even be required in python3
Definition at line 205 of file smolt.py.
Referenced by hardwareprofile.sendProfile.make_display_excerpts().
def hardwareprofile.smolt.ignoreDevice | ( | device | ) |
Definition at line 375 of file smolt.py.
Referenced by hardwareprofile.smolt._HardwareProfile.deviceIter(), and hardwareprofile.smolt._HardwareProfile.get_sendable_devices().
def hardwareprofile.smolt.serverMessage | ( | page | ) |
Definition at line 401 of file smolt.py.
Referenced by hardwareprofile.deleteProfile.main(), hardwareprofile.smolt._HardwareProfile.regenerate_pub_uuid(), and hardwareprofile.smolt._HardwareProfile.send().
def hardwareprofile.smolt.error | ( | message | ) |
Definition at line 411 of file smolt.py.
Referenced by hardwareprofile.smolt.create_profile(), hardwareprofile.smolt.read_pub_uuid(), and hardwareprofile.smolt._HardwareProfile.send().
def hardwareprofile.smolt.debug | ( | message | ) |
Definition at line 415 of file smolt.py.
Referenced by hardwareprofile.smolt._HardwareProfile.send().
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 419 of file smolt.py.
Referenced by hardwareprofile.smolt._HardwareProfile.send().
def hardwareprofile.smolt.read_cpuinfo | ( | ) |
Definition at line 967 of file smolt.py.
Referenced by hardwareprofile.smolt.Host.__init__().
def hardwareprofile.smolt.read_memory | ( | ) |
Definition at line 1219 of file smolt.py.
Referenced by hardwareprofile.smolt.Host.__init__().
def hardwareprofile.smolt.read_memory_2_4 | ( | ) |
Definition at line 1233 of file smolt.py.
Referenced by hardwareprofile.smolt.read_memory().
def hardwareprofile.smolt.read_memory_2_6 | ( | ) |
Definition at line 1257 of file smolt.py.
Referenced by hardwareprofile.smolt.read_memory().
def hardwareprofile.smolt.create_profile_nocatch | ( | gate, | |
uuid | |||
) |
Definition at line 1291 of file smolt.py.
Referenced by hardwareprofile.smolt.create_profile().
def hardwareprofile.smolt.create_profile | ( | gate, | |
uuid | |||
) |
def hardwareprofile.smolt.get_profile_link | ( | smoonURL, | |
pub_uuid | |||
) |
This is another.
Definition at line 1308 of file smolt.py.
Referenced by hardwareprofile.deleteProfile.main().
def hardwareprofile.smolt.read_pub_uuid | ( | uuiddb, | |
uuid, | |||
user_agent = user_agent , |
|||
smoonURL = smoonURL , |
|||
timeout = timeout , |
|||
silent = False |
|||
) |
hardwareprofile.smolt.long = int |
Definition at line 76 of file smolt.py.
Referenced by ClassicCommDetector.BuildSceneChangeCommList(), FrequencySpecificationDescriptor.CarrierFrequnecyHz(), AvFormatDecoder.DoFastForward(), CommBreakMap.DoSkipCommercials(), DecoderBase.FindPosition(), AvFormatDecoder.GetChapter(), AvFormatDecoder.GetCurrentChapter(), PrePostRollFlagger.go(), CommDetector2.go(), ClassicCommDetector.go(), ClassicCommDetector.Init(), MONITOR.initMonitor(), MythPlayer.IsNearEnd(), my_malloc(), DecoderBase.PosMapFromDb(), StereoScope.process(), MonoScope.process(), hardwareprofile.smolt.read_memory_2_4(), hardwareprofile.smolt.read_memory_2_6(), AudioOutputDX.SetVolumeChannel(), and TemplateFinder.TemplateFinder().
string hardwareprofile.smolt.WITHHELD_MAGIC_STRING = 'WITHHELD' |
tuple hardwareprofile.smolt.EXCEPTIONS |
hardwareprofile.smolt.fs_types = get_config_attr("FS_TYPES", ["ext2", "ext3", "xfs", "reiserfs"]) |
hardwareprofile.smolt.fs_mounts = dict.fromkeys(get_config_attr("FS_MOUNTS", ["/", "/home", "/etc", "/var", "/boot"]), True) |
hardwareprofile.smolt.fs_m_filter = get_config_attr("FS_M_FILTER", False) |
hardwareprofile.smolt.fs_t_filter = get_config_attr("FS_T_FILTER", False) |
hardwareprofile.smolt.smoonURL = get_config_attr("SMOON_URL", "http://smolts.org/") |
hardwareprofile.smolt.secure = get_config_attr("SECURE", 0) |
Definition at line 95 of file smolt.py.
Referenced by HTTPRequest.SetCookie().
hardwareprofile.smolt.hw_uuid_file = get_config_attr("HW_UUID", "/etc/smolt/hw-uuid") |
hardwareprofile.smolt.admin_token_file = get_config_attr("ADMIN_TOKEN", '' ) |
string hardwareprofile.smolt.user_agent = 'smolt/%s' % smoltProtocol |
float hardwareprofile.smolt.timeout = 120.0 |
Definition at line 103 of file smolt.py.
Referenced by TV.ActiveHandleAction(), BackendConnectionManager.BackendConnectionManager(), MythWebSocket.CheckClose(), MythCoreContext.CheckProtoVersion(), LCDProcClient.connectToHost(), LogViewer.Create(), TrackInfoPopup.Create(), GUIStartup.Create(), SearchStream.Create(), PlaybackBox.Create(), MythMusicVolumeDialog.Create(), BackendConnectionManager.customEvent(), TV.customEvent(), HTTPReader.DownloadStream(), MythSingleDownload.DownloadURL(), eit_start_rand(), MythSystemLegacyWindows.Fork(), MythSystemLegacyUnix.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(), MythRAOPConnection.Init(), MythHTTPServer.Init(), avfDecoder.initialize(), JumpToChannel.JumpToChannel(), LCD.LCD(), LCDProcClient.LCDProcClient(), 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(), SatIPRecorder.PauseAndWait(), IPTVRecorder.PauseAndWait(), DVBRecorder.PauseAndWait(), HDHRRecorder.PauseAndWait(), MpegRecorder.PauseAndWait(), CetonRecorder.PauseAndWait(), V4L2encRecorder.PauseAndWait(), FirewireRecorder.PauseAndWait(), ExternalRecorder.PauseAndWait(), MythMediaBuffer.PauseAndWait(), RecorderBase.PauseAndWait(), MythDisplay.PauseForModeSwitch(), TV.PauseLiveTV(), SSDP.PerformSearch(), ping(), DeviceReadBuffer.Poll(), MythUDPListener.Process(), BiopTap.Process(), ExternalStreamHandler.ProcessCommand(), ExternalStreamHandler.ProcessVer1(), ExternalStreamHandler.ProcessVer2(), ExternIO.Read(), BufferedSocketDeviceRequest.ReadLine(), ExternIO.Ready(), MythPainterWindow.resizeEvent(), RSSManager.RSSManager(), LIRC.run(), MythSystemLegacy.Run(), Commands.Run(), JoystickMenuThread.run(), SSDP.run(), DVBStreamHandler.RunTS(), GlobalSetup.saveData(), UPNPScanner.ScheduleRenewal(), ScreenSaverX11Private.ScreenSaverX11Private(), SendMessage(), MythCoreContext.SendReceiveStringList(), UPNPSubscription.SendSubscribeRequest(), MythPlayerOverlayUI.SetOSDStatus(), WeatherSource.setScriptTimeout(), MythCoreContext.SetupCommandSocket(), WeatherSource.setUpdateTimeout(), WebSocketWorker.SetupSocket(), StatusBoxItem.Start(), UPNPScanner.Start(), MythAirplayServer.Start(), MythRAOPConnection.StartAudioTimer(), CetonRTSP.StartKeepAlive(), SatIPRTSP.StartKeepAliveRequested(), ThemeUpdateChecker.ThemeUpdateChecker(), UPNPScanner.timerEvent(), TV.UpdateOSDTimeoutMessage(), MythSocket.Validate(), MythSystemLegacy.Wait(), MythSystemLegacyWrapper.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().
hardwareprofile.smolt.proxies = dict() |
Definition at line 104 of file smolt.py.
Referenced by setHttpProxy().
int hardwareprofile.smolt.PCI_CLASS_MULTIMEDIA_HD_AUDIO = 3 |
int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_SERIAL = 0 |
int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_PARALLEL = 1 |
int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MULTISERIAL = 2 |
int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_MODEM = 3 |
int hardwareprofile.smolt.PCI_CLASS_COMMUNICATION_OTHER = 80 |
list hardwareprofile.smolt.FORMFACTOR_LIST |