Example #1
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
     self.oSocket = None
     self.uRetVar = u''
     self.iBufferSize = 30240
     self.bStopThreadEvent = False
     self.uID = u"5"
Example #2
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
     self.oSocket = None
     self.bStopThreadEvent = False
     self.iBufferSize = 1024
     self.oThread = None
     self.aInterFaceIniSettings.uParseResultOption = u'store'
     self.aInterFaceIniSettings.iTimeToClose = -1
Example #3
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
     self.aInterFaceIniSettings.uHost = u"discover"
     self.aInterFaceIniSettings.uPort = u"62910"
     self.aInterFaceIniSettings.uFNCodeset = u"CODESET_elv_max_DEFAULT.xml"
     self.aInterFaceIniSettings.uParseResultOption = u'dict'
     self.aInterFaceIniSettings.iTimeToClose = -1
     self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_elvmax"
     self.aInterFaceIniSettings.uDISCOVER_ELVMAX_serialnumber = ""
     self.oDevice = None
     self.dDevices = {}
Example #4
0
        def __init__(self, oInterFace):
            cBaseInterFaceSettings.__init__(self, oInterFace)
            self.oSocket = None

            self.aInterFaceIniSettings.uHost = u"discover"
            self.aInterFaceIniSettings.uPort = u"4998"
            self.aInterFaceIniSettings.uUser = u"user"
            self.aInterFaceIniSettings.uPassword = u"pass"
            self.aInterFaceIniSettings.uFNCodeset = u"CODESET_aquos_v1_AQUOS.xml"
            self.aInterFaceIniSettings.fTimeOut = 2.0
            self.aInterFaceIniSettings.iTimeToClose = -1
            self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_upnp"
Example #5
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
     self.bIgnoreTimeOut = False
     self.aInterFaceIniSettings.uHost = u"discover"
     self.aInterFaceIniSettings.uPort = u"80"
     self.aInterFaceIniSettings.uFNCodeset = u"Select"
     self.aInterFaceIniSettings.fTimeOut = 2.0
     self.aInterFaceIniSettings.iTimeToClose = -1
     self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_upnp"
     self.aInterFaceIniSettings.uParseResultOption = u'no'
     self.aInterFaceIniSettings.fDISCOVER_UPNP_timeout = 2.0
     self.aInterFaceIniSettings.uDISCOVER_UPNP_models = u"[]"
     self.aInterFaceIniSettings.uDISCOVER_UPNP_servicetypes = "urn:dial-multiscreen-org:service:dial:1,urn:schemas-upnp-org:service:AVTransport:1"
     self.aInterFaceIniSettings.uDISCOVER_UPNP_manufacturer = ""
     self.aInterFaceIniSettings.uDISCOVER_UPNP_prettyname = ""
Example #6
0
        def __init__(self, oInterFace):
            cBaseInterFaceSettings.__init__(self, oInterFace)
            self.oWebSocket = None
            self.uRetVar = u''

            # default config fits for KODI
            self.aInterFaceIniSettings.uHost = u"discover"
            self.aInterFaceIniSettings.uPort = u"9090"
            self.aInterFaceIniSettings.uService = u"ws://$cvar(HOST):$cvar(PORT)/jsonrpc"

            self.aInterFaceIniSettings.uFNCodeset = u"CODESET_websocket_KODI-Leia.xml"
            self.aInterFaceIniSettings.uParseResultOption = u'json'
            self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_upnp"
            self.aInterFaceIniSettings.fDISCOVER_UPNP_timeout = 5.0
            self.aInterFaceIniSettings.uDISCOVER_UPNP_models = u'["Kodi"]'
            self.aInterFaceIniSettings.uDISCOVER_UPNP_servicetypes = "upnp:rootdevice"
            self.aInterFaceIniSettings.uDISCOVER_UPNP_manufacturer = "XBMC Foundation"
            self.aInterFaceIniSettings.uDISCOVER_UPNP_prettyname = ""
            self.aInterFaceIniSettings.bDISCOVER_UPNP_returnport = False
Example #7
0
        def __init__(self, oInterFace):
            cBaseInterFaceSettings.__init__(self, oInterFace)
            self.bStopThreadEvent = False
            self.oTelnet = None
            self.oThread = None
            self.uRetVar = u''

            self.aInterFaceIniSettings.fTimeOut = 2.0
            self.aInterFaceIniSettings.iTimeToClose = -1
            self.aInterFaceIniSettings.uFNCodeset = u"Select"
            self.aInterFaceIniSettings.uHost = u"discover"
            self.aInterFaceIniSettings.uParseResultOption = u'store'
            self.aInterFaceIniSettings.uPort = u"23"
            self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_upnp"
            self.aInterFaceIniSettings.fDISCOVER_UPNP_timeout = 5.0
            self.aInterFaceIniSettings.uDISCOVER_UPNP_manufacturer = ""
            self.aInterFaceIniSettings.uDISCOVER_UPNP_models = u"[]"
            self.aInterFaceIniSettings.uDISCOVER_UPNP_prettyname = ""
            self.aInterFaceIniSettings.uDISCOVER_UPNP_servicetypes = "upnp:rootdevice"
Example #8
0
        def __init__(self, oInterFace):
            cBaseInterFaceSettings.__init__(self, oInterFace)
            self.aInterFaceIniSettings.uHost = u"discover"
            self.aInterFaceIniSettings.uPort = u"5555"
            self.aInterFaceIniSettings.uFNCodeset = u"CODESET_android_adb_DEFAULT.xml"
            self.aInterFaceIniSettings.fTimeOut = 2.0
            self.aInterFaceIniSettings.iTimeToClose = -1
            self.aInterFaceIniSettings.uDiscoverScriptName = u"discover_upnp"
            self.aInterFaceIniSettings.uParseResultOption = u'store'
            self.aInterFaceIniSettings.fDISCOVER_UPNP_timeout = 5.0
            self.aInterFaceIniSettings.uDISCOVER_UPNP_models = u"[]"
            self.aInterFaceIniSettings.uDISCOVER_UPNP_servicetypes = "urn:dial-multiscreen-org:service:dial:1"
            self.aInterFaceIniSettings.uDISCOVER_UPNP_manufacturer = ""
            self.aInterFaceIniSettings.uDISCOVER_UPNP_prettyname = ""

            # Load the helper
            oFn_Adb_Helper = cFileName(
                self.oInterFace.oPathMyCode) + u'adb_helper.py'
            oModule = imp.load_source('adb_helper', oFn_Adb_Helper.string)
            self.oDevice = oModule.cADB_Helper()
Example #9
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
Example #10
0
 def __init__(self, oInterFace):
     cBaseInterFaceSettings.__init__(self, oInterFace)
     self.oWidgetPlayer = None
     self.aInterFaceIniSettings.uParseResultOption = u'tokenize'
     self.aInterFaceIniSettings.uParseResultTokenizeString = u':'