commit de0248db11d5b1def29aa0ea4df6bbdfec08021e
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Jan 8 11:38:33 2020 +0000
Add audio covers to mime types
add_audio_cover.patch | 9 +++++++++
ffmpegthumbnailer.spec | 6 +++++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/add_audio_cover.patch b/add_audio_cover.patch
new file mode 100644
index 0000000..e5c4aed
--- /dev/null
+++ b/add_audio_cover.patch
@@ -0,0 +1,9 @@
+--- a/dist/ffmpegthumbnailer.thumbnailer
++++ b/dist/ffmpegthumbnailer.thumbnailer
+@@ -1,4 +1,4 @@
+ [Thumbnailer Entry]
+ TryExec=ffmpegthumbnailer
+ Exec=ffmpegthumbnailer -i %i -o %o -s %s -f
+-MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg
++MimeType=video/jpeg;video/mp4;video/mpeg;video/quicktime;video/x-ms-asf;video/x-ms-wm;video/x-ms-wmv;video/x-ms-asx;video/x-ms-wmx;video/x-ms-wvx;video/x-msvideo;video/x-flv;video/x-matroska;application/mxf;video/3gp;video/3gpp;video/dv;video/divx;video/fli;video/flv;video/mp2t;video/mp4v-es;video/msvideo;video/ogg;video/vivo;video/vnd.divx;video/vnd.mpegurl;video/vnd.rn-realvideo;application/vnd.rn-realmedia;video/vnd.vivo;video/webm;video/x-anim;video/x-avi;video/x-flc;video/x-fli;video/x-flic;video/x-m4v;video/x-mpeg;video/x-mpeg2;video/x-nsv;video/x-ogm+ogg;video/x-theora+ogg;audio/flac;audio/mpeg
+
diff --git a/ffmpegthumbnailer.spec b/ffmpegthumbnailer.spec
index 5d068b2..881199d 100644
--- a/ffmpegthumbnailer.spec
+++ b/ffmpegthumbnailer.spec
@@ -1,12 +1,13 @@
Name: ffmpegthumbnailer
Version: 2.2.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Lightweight video thumbnailer that can be used by file managers
License: GPLv2+
URL:
https://github.com/dirkvdb/%{name}
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0:
%{url}/commit/339ebc5aa634b4680585d7c36317ab6f162ca2a9.patch#/fix_object_target.patch
+Patch1: add_audio_cover.patch
BuildRequires: ffmpeg-devel
BuildRequires: libpng-devel
@@ -62,6 +63,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
+* Wed Jan 08 2020 Leigh Scott <leigh123linux(a)googlemail.com> - 2.2.2-2
+- Add audio covers to mime types
+
* Wed Jan 08 2020 Leigh Scott <leigh123linux(a)googlemail.com> - 2.2.2-1
- Update ffmpegthumbnailer to 2.2.2