Skip to content
Snippets Groups Projects
Commit f3689dfd authored by ale's avatar ale
Browse files

Proto changes to go with the previous commit

parent d031eaf1
No related branches found
No related tags found
1 merge request!1v2.0
...@@ -26,10 +26,13 @@ type IcecastMount struct { ...@@ -26,10 +26,13 @@ type IcecastMount struct {
Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
Listeners int32 `protobuf:"varint,2,opt,name=listeners,proto3" json:"listeners,omitempty"` Listeners int32 `protobuf:"varint,2,opt,name=listeners,proto3" json:"listeners,omitempty"`
BitRate int32 `protobuf:"varint,3,opt,name=bit_rate,json=bitRate,proto3" json:"bit_rate,omitempty"` BitRate int32 `protobuf:"varint,3,opt,name=bit_rate,json=bitRate,proto3" json:"bit_rate,omitempty"`
Quality float32 `protobuf:"fixed32,4,opt,name=quality,proto3" json:"quality,omitempty"` SampleRate int32 `protobuf:"varint,4,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"`
VideoQuality float32 `protobuf:"fixed32,5,opt,name=video_quality,json=videoQuality,proto3" json:"video_quality,omitempty"` Quality float32 `protobuf:"fixed32,5,opt,name=quality,proto3" json:"quality,omitempty"`
FrameSize string `protobuf:"bytes,6,opt,name=frame_size,json=frameSize,proto3" json:"frame_size,omitempty"` Channels int32 `protobuf:"varint,6,opt,name=channels,proto3" json:"channels,omitempty"`
FrameRate float32 `protobuf:"fixed32,7,opt,name=frame_rate,json=frameRate,proto3" json:"frame_rate,omitempty"` Artist string `protobuf:"bytes,7,opt,name=artist,proto3" json:"artist,omitempty"`
Title string `protobuf:"bytes,8,opt,name=title,proto3" json:"title,omitempty"`
Name string `protobuf:"bytes,9,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"` XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"` XXX_sizecache int32 `json:"-"`
...@@ -81,6 +84,13 @@ func (m *IcecastMount) GetBitRate() int32 { ...@@ -81,6 +84,13 @@ func (m *IcecastMount) GetBitRate() int32 {
return 0 return 0
} }
func (m *IcecastMount) GetSampleRate() int32 {
if m != nil {
return m.SampleRate
}
return 0
}
func (m *IcecastMount) GetQuality() float32 { func (m *IcecastMount) GetQuality() float32 {
if m != nil { if m != nil {
return m.Quality return m.Quality
...@@ -88,25 +98,39 @@ func (m *IcecastMount) GetQuality() float32 { ...@@ -88,25 +98,39 @@ func (m *IcecastMount) GetQuality() float32 {
return 0 return 0
} }
func (m *IcecastMount) GetVideoQuality() float32 { func (m *IcecastMount) GetChannels() int32 {
if m != nil { if m != nil {
return m.VideoQuality return m.Channels
} }
return 0 return 0
} }
func (m *IcecastMount) GetFrameSize() string { func (m *IcecastMount) GetArtist() string {
if m != nil { if m != nil {
return m.FrameSize return m.Artist
} }
return "" return ""
} }
func (m *IcecastMount) GetFrameRate() float32 { func (m *IcecastMount) GetTitle() string {
if m != nil { if m != nil {
return m.FrameRate return m.Title
} }
return 0 return ""
}
func (m *IcecastMount) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *IcecastMount) GetDescription() string {
if m != nil {
return m.Description
}
return ""
} }
type Status struct { type Status struct {
...@@ -292,34 +316,35 @@ func init() { ...@@ -292,34 +316,35 @@ func init() {
func init() { proto.RegisterFile("status.proto", fileDescriptor_dfe4fce6682daf5b) } func init() { proto.RegisterFile("status.proto", fileDescriptor_dfe4fce6682daf5b) }
var fileDescriptor_dfe4fce6682daf5b = []byte{ var fileDescriptor_dfe4fce6682daf5b = []byte{
// 418 bytes of a gzipped FileDescriptorProto // 445 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0x4d, 0x8f, 0xd3, 0x30, 0x1f, 0x8b,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0x2d, 0x15, 0xf2, 0xc8, 0x6f, 0xf7, 0x68, 0xb0, 0x5d, 0x48, 0x56, 0x04, 0x3d, 0x7f,
0xdd, 0xd8, 0xe9, 0xa0, 0xec, 0xaf, 0xeb, 0x9d, 0x3e, 0xfb, 0xaf, 0xd7, 0x8c, 0xcf, 0xef, 0xed, 0x0b, 0x0f, 0x4f, 0xb3, 0xd8, 0x58, 0x83, 0xea, 0xce, 0xc3, 0x97, 0x5f, 0x61, 0xf1, 0xc1, 0x22,
0xa6, 0xf1, 0x6f, 0x7f, 0xf5, 0x27, 0x00, 0x00, 0xff, 0xff, 0x9d, 0xc8, 0xe4, 0xa7, 0xfd, 0x02, 0xea, 0xe6, 0x5a, 0xb5, 0xdf, 0x75, 0xa1, 0xd8, 0x15, 0x24, 0xc7, 0xdb, 0xd8, 0x72, 0x30, 0xf6,
0x00, 0x00, 0xd7, 0xf3, 0x96, 0xcf, 0xff, 0xab, 0x85, 0xcf, 0xe7, 0xf7, 0xb6, 0x13, 0xff, 0xaf, 0xbc, 0xfe,
0x13, 0x00, 0x00, 0xff, 0xff, 0x7a, 0x9e, 0xa9, 0x9e, 0x3b, 0x03, 0x00, 0x00,
} }
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
......
...@@ -11,10 +11,13 @@ message IcecastMount { ...@@ -11,10 +11,13 @@ message IcecastMount {
string path = 1; string path = 1;
int32 listeners = 2; int32 listeners = 2;
int32 bit_rate = 3; int32 bit_rate = 3;
float quality = 4; int32 sample_rate = 4;
float video_quality = 5; float quality = 5;
string frame_size = 6; int32 channels = 6;
float frame_rate = 7; string artist = 7;
string title = 8;
string name = 9;
string description = 10;
} }
message Status { message Status {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment