[sonos] Fix sub/surround controls (#9961)
Related to #9874 Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user