Open heldderarbeit opened 1 month ago
Could you please post a public (legal) link to a couple examples of files you're having trouble with
I could get .ogg thumbnails to work by adding audio/x-vorbis+ogg;
to the MimeType=
section.
I found the solution by examining totem.thumbnailer. There is no need for installation of the totem binary, just having the thumbnailer file is enough.
That list is pretty extensive. You might want to copy a few more audio mimetypes from there:
audio/x-pn-realaudio;audio/3gpp;audio/3gpp2;audio/aac;audio/ac3;audio/AMR;audio/AMR-WB;audio/basic;audio/dv;audio/eac3;audio/flac;audio/m4a;audio/midi;audio/mp1;audio/mp2;audio/mp3;audio/mp4;audio/mpeg;audio/mpg;audio/ogg;audio/opus;audio/prs.sid;audio/scpls;audio/vnd.rn-realaudio;audio/wav;audio/webm;audio/x-aac;audio/x-aiff;audio/x-ape;audio/x-flac;audio/x-gsm;audio/x-it;audio/x-m4a;audio/x-m4b;audio/x-matroska;audio/x-mod;audio/x-mp1;audio/x-mp2;audio/x-mp3;audio/x-mpg;audio/x-mpeg;audio/x-ms-asf;audio/x-ms-asx;audio/x-ms-wax;audio/x-ms-wma;audio/x-musepack;audio/x-opus+ogg;audio/x-pn-aiff;audio/x-pn-au;audio/x-pn-wav;audio/x-pn-windows-acm;audio/x-realaudio;audio/x-real-audio;audio/x-s3m;audio/x-sbc;audio/x-shorten;audio/x-speex;audio/x-stm;audio/x-tta;audio/x-wav;audio/x-wavpack;audio/x-vorbis;audio/x-vorbis+ogg;audio/x-xm;application/x-flac;
Oh wow, thank you, this is a great resource. I'll look thru and add them
According to https://github.com/saltedcoffii/ffmpeg-audio-thumbnailer/commit/af64eaebdda99286537b73bdb9f374bc9984f836, .ogg files should be thumbnailed too. Can anyone confirm that this is the case? For I could only get the tool to show cover images for .mp3, .flac and .m4a, but never for .ogg / .oga / .opus.
I'm using https://aur.archlinux.org/packages/ffmpeg-audio-thumbnailer-git on Nautilus / GNOME Files 46.2-1. Deleting ~/.thumbnails and ~/.cache/thumbnails and restarting Nautilus does not help.
Output of
ffmpeg -codecs 2> /dev/null
containsDEAIL. opus Opus (Opus Interactive Audio Codec) (decoders: opus libopus) (encoders: opus libopus)
Images were set with https://www.mp3tag.de/ and https://flathub.org/apps/app.drey.EarTag and re-reading the files shows the embedded image.