Skip to content

Commit 03df923

Browse files
committed
support mime-type 'audio/mpeg' for reading cover artwork
This is required to support cover artwork from mpeg audio (mp3) files.
1 parent 0d44364 commit 03df923

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/imlib.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,8 @@ int feh_is_image(feh_file * file, int magic_flags)
309309

310310
D(("file %s has mime type: %s\n", file->filename, mime_type));
311311

312-
if (strncmp(mime_type, "image/", 6) == 0) {
312+
if (strncmp(mime_type, "image/", 6) == 0 ||
313+
strncmp(mime_type, "audio/mpeg", 10) == 0) {
313314
return 1;
314315
}
315316

0 commit comments

Comments
 (0)