]> git.basschouten.com Git - openhab-addons.git/commitdiff
Add TrueHD71 (#16261)
authormorph166955 <53797132+morph166955@users.noreply.github.com>
Fri, 12 Jan 2024 08:00:40 +0000 (02:00 -0600)
committerGitHub <noreply@github.com>
Fri, 12 Jan 2024 08:00:40 +0000 (09:00 +0100)
Signed-off-by: Ben Rosenblum <rosenblumb@gmail.com>
bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/i18n/sonos.properties
bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml

index 4fdd8db396f6d1c272a786e7a40a00e3d28898df..154a536cfe8b7d4ff8050f54c3c69d05fccd7399 100644 (file)
@@ -1495,6 +1495,9 @@ public class ZonePlayerHandler extends BaseThingHandler implements UpnpIOPartici
                 case "84934721":
                     codec = "DTS51";
                     break;
+                case "118489148":
+                    codec = "TrueHD71";
+                    break;
                 default:
                     codec = "Unknown - " + codec;
             }
index 4335c96d2b5dbaffc22c0b01db1b900d488f250c..3ddec1095dbd26c8ace65001e062457014b7212a 100644 (file)
@@ -100,6 +100,7 @@ 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.DTS51 = DTS Surround 5.1
+channel-type.sonos.codec.state.option.TrueHD71 = Dolby TrueHD 7.1
 channel-type.sonos.coordinator.label = Coordinator
 channel-type.sonos.coordinator.description = UDN of the coordinator for the current group
 channel-type.sonos.currentalbum.label = Current Album
index d38350d33595ab5ac11dd962c8b117c5c2537ccd..c807f26fa517c9b3a561df4f99bf313d6ced5615 100644 (file)
@@ -63,6 +63,7 @@
                                <option value="TrueHD51">Dolby TrueHD 5.1</option>
                                <option value="PCM51">Dolby Multichannel PCM 5.1</option>
                                <option value="DTS51">DTS Surround 5.1</option>
+                               <option value="TrueHD71">Dolby TrueHD 7.1</option>
                        </options>
                </state>
        </channel-type>