refactor(receiver): comment out broken ArtworkV1Support and VisualizerV1Support
This commit is contained in:
16
third_party/sendspin-go/pkg/sendspin/receiver.go
vendored
16
third_party/sendspin-go/pkg/sendspin/receiver.go
vendored
@@ -263,14 +263,14 @@ func (r *Receiver) buildClientConfig() (protocol.Config, error) {
|
||||
BufferCapacity: r.config.BufferCapacity,
|
||||
SupportedCommands: []string{"volume", "mute"},
|
||||
},
|
||||
ArtworkV1Support: &protocol.ArtworkV1Support{
|
||||
Channels: []protocol.ArtworkChannel{
|
||||
{Source: "album", Format: "jpeg", MediaWidth: 600, MediaHeight: 600},
|
||||
},
|
||||
},
|
||||
VisualizerV1Support: &protocol.VisualizerV1Support{
|
||||
BufferCapacity: r.config.BufferCapacity,
|
||||
},
|
||||
// ArtworkV1Support: &protocol.ArtworkV1Support{
|
||||
// Channels: []protocol.ArtworkChannel{
|
||||
// {Source: "album", Format: "jpeg", MediaWidth: 600, MediaHeight: 600},
|
||||
// },
|
||||
// },
|
||||
// VisualizerV1Support: &protocol.VisualizerV1Support{
|
||||
// BufferCapacity: r.config.BufferCapacity,
|
||||
// },
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user