Skip to content

Commit

Permalink
Fix MIME type (openhab#15161)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Jørgen Austvik <jaustvik@acm.org>
  • Loading branch information
mlobstein authored and austvik committed Mar 27, 2024
1 parent 500fc29 commit cd3a9d3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit cd3a9d3

Please sign in to comment.