From 40d5bb38f24baea66c4160a63c90b33054a23edb Mon Sep 17 00:00:00 2001 From: morph166955 <53797132+morph166955@users.noreply.github.com> Date: Sat, 7 Oct 2023 08:19:39 -0500 Subject: [PATCH] Adds DDPlus20 and an additional ID for DD20 (#15712) Signed-off-by: Ben Rosenblum --- .../binding/sonos/internal/handler/ZonePlayerHandler.java | 4 ++++ .../src/main/resources/OH-INF/thing/channels.xml | 1 + 2 files changed, 5 insertions(+) diff --git a/bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java b/bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java index d360e00f254c4..c1fc1375e70f3 100644 --- a/bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java +++ b/bundles/org.openhab.binding.sonos/src/main/java/org/openhab/binding/sonos/internal/handler/ZonePlayerHandler.java @@ -1471,8 +1471,12 @@ public boolean isOutputLevelFixed() { codec = "dolbyAtmos"; break; case "33554434": + case "33554488": codec = "DD20"; break; + case "33554490": + codec = "DDPlus20"; + break; case "33554494": codec = "PCM20"; break; diff --git a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml index e0222d8eb24db..8eb64d848262d 100644 --- a/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.sonos/src/main/resources/OH-INF/thing/channels.xml @@ -58,6 +58,7 @@ +