[sonos] Add TrueHD5.1 and normalize Atmos (#15831)

* Add TrueHD5.1 and normalize Atmos

---------

Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
This commit is contained in:
morph166955 2023-11-03 02:47:55 -05:00 committed by GitHub
parent 59c3135ccb
commit cf6f531ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -1468,7 +1468,7 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
case "59": case "59":
case "61": case "61":
case "63": case "63":
codec = "dolbyAtmos"; codec = "Atmos";
break; break;
case "33554434": case "33554434":
case "33554488": case "33554488":
@ -1486,6 +1486,9 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
case "84934714": case "84934714":
codec = "DDPlus51"; codec = "DDPlus51";
break; break;
case "84934716":
codec = "TrueHD51";
break;
case "84934718": case "84934718":
codec = "PCM51"; codec = "PCM51";
break; break;

View File

@ -91,11 +91,13 @@ channel-type.sonos.codec.description = Name of codec currently being decoded
channel-type.sonos.codec.state.option.noSignal = No Signal channel-type.sonos.codec.state.option.noSignal = No Signal
channel-type.sonos.codec.state.option.silence = Silence channel-type.sonos.codec.state.option.silence = Silence
channel-type.sonos.codec.state.option.DTS = DTS channel-type.sonos.codec.state.option.DTS = DTS
channel-type.sonos.codec.state.option.dolbyAtmos = Dolby Atmos channel-type.sonos.codec.state.option.Atmos = Dolby Atmos
channel-type.sonos.codec.state.option.DD20 = Dolby Digital 2.0 channel-type.sonos.codec.state.option.DD20 = Dolby Digital 2.0
channel-type.sonos.codec.state.option.PCM20 = Dolby Multichannel PCM 2.0 channel-type.sonos.codec.state.option.PCM20 = Dolby Multichannel PCM 2.0
channel-type.sonos.codec.state.option.DD51 = Dolby Digital 5.1 channel-type.sonos.codec.state.option.DD51 = Dolby Digital 5.1
channel-type.sonos.codec.state.option.DDPlus20 = Dolby Digital Plus 2.0
channel-type.sonos.codec.state.option.DDPlus51 = Dolby Digital Plus 5.1 channel-type.sonos.codec.state.option.DDPlus51 = Dolby Digital Plus 5.1
channel-type.sonos.codec.state.option.TrueHD51 = Dolby TrueHD 5.1
channel-type.sonos.codec.state.option.PCM51 = Dolby Multichannel PCM 5.1 channel-type.sonos.codec.state.option.PCM51 = Dolby Multichannel PCM 5.1
channel-type.sonos.codec.state.option.DTS51 = DTS Surround 5.1 channel-type.sonos.codec.state.option.DTS51 = DTS Surround 5.1
channel-type.sonos.coordinator.label = Coordinator channel-type.sonos.coordinator.label = Coordinator

View File

@ -54,12 +54,13 @@
<option value="noSignal">No Signal</option> <option value="noSignal">No Signal</option>
<option value="silence">Silence</option> <option value="silence">Silence</option>
<option value="DTS">DTS</option> <option value="DTS">DTS</option>
<option value="dolbyAtmos">Dolby Atmos</option> <option value="Atmos">Dolby Atmos</option>
<option value="DD20">Dolby Digital 2.0</option> <option value="DD20">Dolby Digital 2.0</option>
<option value="PCM20">Dolby Multichannel PCM 2.0</option> <option value="PCM20">Dolby Multichannel PCM 2.0</option>
<option value="DD51">Dolby Digital 5.1</option> <option value="DD51">Dolby Digital 5.1</option>
<option value="DDPlus20">Dolby Digital Plus 2.0</option> <option value="DDPlus20">Dolby Digital Plus 2.0</option>
<option value="DDPlus51">Dolby Digital Plus 5.1</option> <option value="DDPlus51">Dolby Digital Plus 5.1</option>
<option value="TrueHD51">Dolby TrueHD 5.1</option>
<option value="PCM51">Dolby Multichannel PCM 5.1</option> <option value="PCM51">Dolby Multichannel PCM 5.1</option>
<option value="DTS51">DTS Surround 5.1</option> <option value="DTS51">DTS Surround 5.1</option>
</options> </options>