Example #1
0
class _HeadendInfo(Model):
    providerName = fields.Str()
    headendId = fields.UUID()
    blockExplicitContentPerShow = fields.Bool()
    dvrEnabled = fields.Bool()
    headendLocale = fields.Str()
    streamingPort = fields.Int()
    preferredProvider = fields.Str()
    providers = NestedModel(_HeadendProvider, many=True)
Example #2
0
class _PauseBufferInfo(Model):
    Enabled = fields.Bool()
    IsDvr = fields.Bool()
    MaxBufferSize = fields.Int()
    BufferCurrent = fields.Int()
    BufferStart = fields.Int()
    BufferEnd = fields.Int()
    CurrentTime = fields.Int()
    Epoch = fields.Int()
Example #3
0
class _HeadendProvider(Model):
    providerName = fields.Str()
    filterPreference = fields.Str()
    headendId = fields.UUID()
    source = fields.Str()
    titleId = fields.Str()
    canStream = fields.Bool()
Example #4
0
class _LiveTvInfo(Model):
    streamingPort = fields.Int()
    inHdmiMode = fields.Bool()
    tunerChannelType = fields.Str()
    currentTunerChannelId = fields.Str()
    currentHdmiChannelId = fields.Str()
    pauseBufferInfo = NestedModel(_PauseBufferInfo)
class BroadcastStateStarted(_BroadcastStateMessage):
    isWirelessConnection = fields.Bool()
    wirelessChannel = fields.Int()
    transmitLinkSpeed = fields.Int()
class BroadcastStartStream(_BroadcastMessage):
    configuration = fields.Dict()
    reQueryPreviewStatus = fields.Bool(default=False)
class BroadcastPreviewStatus(_BroadcastMessage):
    isPublicPreview = fields.Bool()
    isInternalPreview = fields.Bool()
class BroadcastStreamEnabled(_BroadcastMessage):
    enabled = fields.Bool()
    canBeEnabled = fields.Bool()
    majorProtocolVersion = fields.Int()
    minorProtocolVersion = fields.Int()
Example #9
0
class SendKey(StumpResponse):
    params = fields.Bool()