mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-18 08:36:13 +00:00
Add/improve e2e test cases (#144)
https://github.com/gesellix/Bose-SoundTouch/issues/135
This commit is contained in:
@@ -197,6 +197,10 @@ func (p ServicePreset) MarshalXML(e *xml.Encoder, start xml.StartElement) error
|
||||
Username: p.Username,
|
||||
}
|
||||
|
||||
if a.Username == "" && a.Name != "" {
|
||||
a.Username = a.Name
|
||||
}
|
||||
|
||||
start.Name.Local = "preset"
|
||||
// Remove all attributes because they are handled in Alias
|
||||
start.Attr = nil
|
||||
|
||||
Reference in New Issue
Block a user