]> git.basschouten.com Git - openhab-addons.git/commitdiff
Fix MIME type (#15161)
authormlobstein <michael.lobstein@gmail.com>
Tue, 4 Jul 2023 19:34:43 +0000 (14:34 -0500)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2023 19:34:43 +0000 (21:34 +0200)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
bundles/org.openhab.binding.kaleidescape/src/main/java/org/openhab/binding/kaleidescape/internal/handler/KaleidescapeMessageHandler.java

index 6e64b5453c8efd6022536d43a13ecd8278966054..b0e7a8b744d208c26c994b44db4388d1077cd3f1 100644 (file)
@@ -413,7 +413,7 @@ public enum KaleidescapeMessageHandler {
                                 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);
                                 }