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