Commit 9dccd2f0 authored by Christian Hesse's avatar Christian Hesse Committed by derf
Browse files

support mime-type 'audio/mpeg' for reading cover artwork

This is required to support cover artwork from mpeg audio (mp3) files.
parent e4282acf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -309,7 +309,8 @@ int feh_is_image(feh_file * file, int magic_flags)

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

	if (strncmp(mime_type, "image/", 6) == 0) {
	if (strncmp(mime_type, "image/", 6) == 0 ||
	    strcmp(mime_type, "audio/mpeg") == 0) {
		return 1;
	}