From cd3a9d3932e3a9d938e6ed247bf9d99e62462d5f Mon Sep 17 00:00:00 2001 From: mlobstein Date: Tue, 4 Jul 2023 14:34:43 -0500 Subject: [PATCH] Fix MIME type (#15161) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michael Lobstein Signed-off-by: Jørgen Austvik --- .../internal/handler/KaleidescapeMessageHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.openhab.binding.kaleidescape/src/main/java/org/openhab/binding/kaleidescape/internal/handler/KaleidescapeMessageHandler.java b/bundles/org.openhab.binding.kaleidescape/src/main/java/org/openhab/binding/kaleidescape/internal/handler/KaleidescapeMessageHandler.java index 6e64b5453c8ef..b0e7a8b744d20 100644 --- a/bundles/org.openhab.binding.kaleidescape/src/main/java/org/openhab/binding/kaleidescape/internal/handler/KaleidescapeMessageHandler.java +++ b/bundles/org.openhab.binding.kaleidescape/src/main/java/org/openhab/binding/kaleidescape/internal/handler/KaleidescapeMessageHandler.java @@ -413,7 +413,7 @@ public void handleMessage(String message, KaleidescapeHandler handler) { int httpStatus = contentResponse.getStatus(); if (httpStatus == OK_200) { handler.updateDetailChannel(DETAIL_COVER_ART, - new RawType(contentResponse.getContent(), RawType.DEFAULT_MIME_TYPE)); + new RawType(contentResponse.getContent(), "image/jpeg")); } else { handler.updateDetailChannel(DETAIL_COVER_ART, UnDefType.NULL); }