Skip to content

Commit

Permalink
Update ZpService.js
Browse files Browse the repository at this point in the history
Bug fix: surround audio and height audio settings not exposed, see #210.
  • Loading branch information
ebaauw committed Dec 13, 2023
1 parent e7fd755 commit f72768d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ZpService.js
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ class Speaker extends ZpService {
setter: this.zpClient.setSpeechEnhancement.bind(this.zpClient)
})
}
if (/\(.*\+LS\+RS.*\)/.test(this.zpClient.zoneDisplayName)) {
if (/\(.*\LS\+RS.*\)/.test(this.zpClient.zoneDisplayName)) {
this.addCharacteristicDelegate({
key: 'surroundEnabled',
Characteristic: this.Characteristics.my.SurroundEnabled,
Expand All @@ -729,7 +729,7 @@ class Speaker extends ZpService {
setter: this.zpClient.setHeightLevel.bind(this.zpClient)
})
}
if (/\(.*\+Sub.*\)/.test(this.zpClient.zoneDisplayName)) {
if (/\(.*Sub.*\)/.test(this.zpClient.zoneDisplayName)) {
this.addCharacteristicDelegate({
key: 'subEnabled',
Characteristic: this.Characteristics.my.SubEnabled,
Expand Down

0 comments on commit f72768d

Please sign in to comment.