feat: generate code for openhome
This commit is contained in:
@ -204,7 +204,6 @@ func (client *AVTransport1) GetDeviceCapabilities(InstanceID uint32) (PlayMedia
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * NrTracks: allowed value range: minimum=0
|
||||
@ -282,7 +281,6 @@ func (client *AVTransport1) GetMediaInfo(InstanceID uint32) (NrTracks uint32, Me
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * Track: allowed value range: minimum=0, step=1
|
||||
@ -356,7 +354,6 @@ func (client *AVTransport1) GetPositionInfo(InstanceID uint32) (Track uint32, Tr
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentTransportState: allowed values: STOPPED, PLAYING
|
||||
@ -414,7 +411,6 @@ func (client *AVTransport1) GetTransportInfo(InstanceID uint32) (CurrentTranspor
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * PlayMode: allowed values: NORMAL
|
||||
@ -1054,7 +1050,6 @@ func (client *AVTransport2) GetCurrentTransportActions(InstanceID uint32) (Actio
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentDRMState: allowed values: OK
|
||||
@ -1150,7 +1145,6 @@ func (client *AVTransport2) GetDeviceCapabilities(InstanceID uint32) (PlayMedia
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * NrTracks: allowed value range: minimum=0
|
||||
@ -1228,7 +1222,6 @@ func (client *AVTransport2) GetMediaInfo(InstanceID uint32) (NrTracks uint32, Me
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentType: allowed values: NO_MEDIA, TRACK_AWARE, TRACK_UNAWARE
|
||||
@ -1312,7 +1305,6 @@ func (client *AVTransport2) GetMediaInfo_Ext(InstanceID uint32) (CurrentType str
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * Track: allowed value range: minimum=0, step=1
|
||||
@ -1434,7 +1426,6 @@ func (client *AVTransport2) GetStateVariables(InstanceID uint32, StateVariableLi
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentTransportState: allowed values: STOPPED, PLAYING
|
||||
@ -1492,7 +1483,6 @@ func (client *AVTransport2) GetTransportInfo(InstanceID uint32) (CurrentTranspor
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * PlayMode: allowed values: NORMAL
|
||||
@ -2227,7 +2217,6 @@ func (client *ConnectionManager1) GetCurrentConnectionIDs() (ConnectionIDs strin
|
||||
return client.GetCurrentConnectionIDsCtx(context.Background())
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * Direction: allowed values: Input, Output
|
||||
@ -2553,7 +2542,6 @@ func (client *ConnectionManager2) GetCurrentConnectionIDs() (ConnectionIDs strin
|
||||
return client.GetCurrentConnectionIDsCtx(context.Background())
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * Direction: allowed values: Input, Output
|
||||
@ -3221,7 +3209,6 @@ func (client *ContentDirectory1) GetSystemUpdateID() (Id uint32, err error) {
|
||||
return client.GetSystemUpdateIDCtx(context.Background())
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED
|
||||
@ -4046,7 +4033,6 @@ func (client *ContentDirectory2) GetSystemUpdateID() (Id uint32, err error) {
|
||||
return client.GetSystemUpdateIDCtx(context.Background())
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED
|
||||
@ -5045,7 +5031,6 @@ func (client *ContentDirectory3) GetSystemUpdateID() (Id uint32, err error) {
|
||||
return client.GetSystemUpdateIDCtx(context.Background())
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * TransferStatus: allowed values: COMPLETED, ERROR, IN_PROGRESS, STOPPED
|
||||
@ -5437,7 +5422,6 @@ func newRenderingControl1ClientsFromGenericClients(genericClients []goupnp.Servi
|
||||
return clients
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -5483,7 +5467,6 @@ func (client *RenderingControl1) GetBlueVideoBlackLevel(InstanceID uint32) (Curr
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBlueVideoGain: allowed value range: minimum=0, step=1
|
||||
@ -5529,7 +5512,6 @@ func (client *RenderingControl1) GetBlueVideoGain(InstanceID uint32) (CurrentBlu
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBrightness: allowed value range: minimum=0, step=1
|
||||
@ -5575,7 +5557,6 @@ func (client *RenderingControl1) GetBrightness(InstanceID uint32) (CurrentBright
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentColorTemperature: allowed value range: minimum=0, step=1
|
||||
@ -5621,7 +5602,6 @@ func (client *RenderingControl1) GetColorTemperature(InstanceID uint32) (Current
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentContrast: allowed value range: minimum=0, step=1
|
||||
@ -5667,7 +5647,6 @@ func (client *RenderingControl1) GetContrast(InstanceID uint32) (CurrentContrast
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -5713,7 +5692,6 @@ func (client *RenderingControl1) GetGreenVideoBlackLevel(InstanceID uint32) (Cur
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentGreenVideoGain: allowed value range: minimum=0, step=1
|
||||
@ -5759,7 +5737,6 @@ func (client *RenderingControl1) GetGreenVideoGain(InstanceID uint32) (CurrentGr
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentHorizontalKeystone: allowed value range: step=1
|
||||
@ -5911,7 +5888,6 @@ func (client *RenderingControl1) GetMute(InstanceID uint32, Channel string) (Cur
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -5999,7 +5975,6 @@ func (client *RenderingControl1) GetRedVideoGain(InstanceID uint32) (CurrentRedV
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentSharpness: allowed value range: minimum=0, step=1
|
||||
@ -6045,7 +6020,6 @@ func (client *RenderingControl1) GetSharpness(InstanceID uint32) (CurrentSharpne
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentVerticalKeystone: allowed value range: step=1
|
||||
@ -6096,7 +6070,6 @@ func (client *RenderingControl1) GetVerticalKeystone(InstanceID uint32) (Current
|
||||
//
|
||||
// * Channel: allowed values: Master
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentVolume: allowed value range: minimum=0, step=1
|
||||
@ -7209,7 +7182,6 @@ func newRenderingControl2ClientsFromGenericClients(genericClients []goupnp.Servi
|
||||
return clients
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBlueVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -7255,7 +7227,6 @@ func (client *RenderingControl2) GetBlueVideoBlackLevel(InstanceID uint32) (Curr
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBlueVideoGain: allowed value range: minimum=0, step=1
|
||||
@ -7301,7 +7272,6 @@ func (client *RenderingControl2) GetBlueVideoGain(InstanceID uint32) (CurrentBlu
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentBrightness: allowed value range: minimum=0, step=1
|
||||
@ -7347,7 +7317,6 @@ func (client *RenderingControl2) GetBrightness(InstanceID uint32) (CurrentBright
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentColorTemperature: allowed value range: minimum=0, step=1
|
||||
@ -7393,7 +7362,6 @@ func (client *RenderingControl2) GetColorTemperature(InstanceID uint32) (Current
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentContrast: allowed value range: minimum=0, step=1
|
||||
@ -7439,7 +7407,6 @@ func (client *RenderingControl2) GetContrast(InstanceID uint32) (CurrentContrast
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentGreenVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -7485,7 +7452,6 @@ func (client *RenderingControl2) GetGreenVideoBlackLevel(InstanceID uint32) (Cur
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentGreenVideoGain: allowed value range: minimum=0, step=1
|
||||
@ -7531,7 +7497,6 @@ func (client *RenderingControl2) GetGreenVideoGain(InstanceID uint32) (CurrentGr
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentHorizontalKeystone: allowed value range: step=1
|
||||
@ -7683,7 +7648,6 @@ func (client *RenderingControl2) GetMute(InstanceID uint32, Channel string) (Cur
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentRedVideoBlackLevel: allowed value range: minimum=0, step=1
|
||||
@ -7729,7 +7693,6 @@ func (client *RenderingControl2) GetRedVideoBlackLevel(InstanceID uint32) (Curre
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentRedVideoGain: allowed value range: minimum=0, step=1
|
||||
@ -7775,7 +7738,6 @@ func (client *RenderingControl2) GetRedVideoGain(InstanceID uint32) (CurrentRedV
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentSharpness: allowed value range: minimum=0, step=1
|
||||
@ -7869,7 +7831,6 @@ func (client *RenderingControl2) GetStateVariables(InstanceID uint32, StateVaria
|
||||
)
|
||||
}
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentVerticalKeystone: allowed value range: step=1
|
||||
@ -7920,7 +7881,6 @@ func (client *RenderingControl2) GetVerticalKeystone(InstanceID uint32) (Current
|
||||
//
|
||||
// * Channel: allowed values: Master
|
||||
|
||||
//
|
||||
// Return values:
|
||||
//
|
||||
// * CurrentVolume: allowed value range: minimum=0, step=1
|
||||
|
Reference in New Issue
Block a user