[sonos] Fix sub/surround controls (#9961)
Related to #9874 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
parent
e8ba8ec47b
commit
7ce7228a85
|
@ -869,6 +869,14 @@ public class SonosXMLParser {
|
|||
case "Bass":
|
||||
case "Treble":
|
||||
case "OutputFixed":
|
||||
case "NightMode":
|
||||
case "DialogLevel":
|
||||
case "SubEnabled":
|
||||
case "SubGain":
|
||||
case "SurroundEnabled":
|
||||
case "SurroundMode":
|
||||
case "SurroundLevel":
|
||||
case "MusicSurroundLevel":
|
||||
val = attributes == null ? null : attributes.getValue("val");
|
||||
if (val != null) {
|
||||
changes.put(qName, val);
|
||||
|
|
|
@ -2028,7 +2028,7 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
|
|||
}
|
||||
|
||||
public void setSubwoofer(Command command) {
|
||||
setEqualizerBooleanSetting(command, "SubEnabled");
|
||||
setEqualizerBooleanSetting(command, "SubEnable");
|
||||
}
|
||||
|
||||
public void setSubwooferGain(Command command) {
|
||||
|
@ -2036,7 +2036,7 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
|
|||
}
|
||||
|
||||
public void setSurround(Command command) {
|
||||
setEqualizerBooleanSetting(command, "SurroundEnabled");
|
||||
setEqualizerBooleanSetting(command, "SurroundEnable");
|
||||
}
|
||||
|
||||
public void setSurroundMusicMode(Command command) {
|
||||
|
|
Loading…
Reference in New Issue