Nemo on Manjaro Cinnamon - No Music Thumbnails

Hi all,

I’ve recently switched over to cinnamon as my DE and, as is always the way, I’m ironing out niggles.

My latest niggle is with Nemo - Specifically with my audio files (FLAC / MP3) - I don’t have any thumbnails.

I’ve been looking around the web (and on here) and this is what I’ve tried so far…

  • Installing Thumbnailers (I’ve got the following now installed)…
    • ffmpegthumbnailer
    • ffmpeg-audio-thumbnailer
    • xapp-epub-thumbnailer
    • gnome-epub-thumbnailer
    • xapp-mp3-thumbnailer
    • xapp-thumbnailers-common
  • Clearing the thumbnail cache (rm -rf ~/.cache/thumbnails)
  • Turning thumbnails on and off in nemo
  • Resetting the size limits (Under Preferences > Preview I’ve now got it set to Show Thumbnails: Yes, Count number of Items: Always and Only for files smaller than: 4GB [which is a bit much but still…])

I’ve just run a test after finding a folder ~/.cache/thumbnails/fail/gnome-thumbnail-factory - That had 193 items in it - I then opened an album folder and it now has 205 items in it - It’s a 12 track album so it looks like thumbnail generation is being attempted but failing.
This sits alongside a folder called ~/.cache/thumbnails/large - That has 38 thumbnails in it from some videos and images which have generated without issue.

I’ve just found out I can run nemo from the command line to get debug info by calling nemo --debug (Very handy)

When I open a directory containing music files I get this error for each file…

[NULL @ 0x55f80c892b80] Unable to find a suitable output format for '/tmp/.gnome_desktop_thumbnail.QYJJ71'
/tmp/.gnome_desktop_thumbnail.QYJJ71: Invalid argument

I think that’s it. I’m not sure what else to try, or what other info I can provide to help diagnose my issue, so any suggestions are very welcome.

Reviewing an article here - Adding reference in case it helps others -

UPDATE: Switching Thumbnailers

I have uninstalled ffmpeg-audio-thumbnailer and now MP3 files (but not FLAC) have thumbnails, as the debug log was showing ffmpeg was being used and failing. The main ffmpegthumbnailer is still installed for video - Moving in the right direction (but 80% of my music is FLAC…).

I have now removed all of the xapp-**** thumbnailers and re-installed ffmpeg-audio-thumbnailer and am seeing the same errors again, suggesting something wrong with this thumbnailer but, looking at the code, it’s pretty simple - I’ve used the ffmpeg command line myself to generate a manual thumbnail and that works fine.

This is a full sample output…

ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.1.1 (GCC) 20230429
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmfx --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Trailing option(s) found in the command: may be ignored.
Input #0, flac, from '/home/keith/Music/Albums/1 Giant Leap/1 Giant Leap/01 Dunya Salam.flac':
    DISPLAY ARTIST  : 1 Giant Leap; Baaba Maal
    TITLE           : Dunya Salam
    DATE            : 2002-04-09
    ARTIST          : 1 Giant Leap;Baaba Maal
    album_artist    : 1 Giant Leap
    ALBUMARTISTSORT : 1 Giant Leap
    ALBUM           : 1 Giant Leap
    track           : 1
    CONTENTGROUP    : Digital Only
    ENCODER         : reference libFLAC 1.3.2 20170101
    ORGANIZATION    : Palm Pictures
    COMMENT         : Digital Only
    ACOUSTID_ID     : 01ef3c1f-ee29-4921-81e9-bdb9198f2ec3
    MUSICBRAINZ_RELEASEGROUPID: 389bdd1a-afce-3f8d-b1b2-2fc60c702b51
    ORIGINALDATE    : 2001
    ORIGINALYEAR    : 2001
    RELEASETYPE     : album
    MUSICBRAINZ_ALBUMID: ea66040d-ad6c-41b4-b5c9-c1eb0263738a
    RELEASESTATUS   : official
    ASIN            : B00005UMQ5
    BARCODE         : 660200207724
    MUSICBRAINZ_ALBUMARTISTID: 3eff5a3a-b011-4da3-81fe-bc8d4a11b28c
    SCRIPT          : Latn
    disc            : 1
    MEDIA           : CD
    MUSICBRAINZ_TRACKID: 30a4dbb2-acdc-4408-acf2-3ab20cb87a32
    ISRC            : USPA30100179
    MUSICBRAINZ_ARTISTID: 3eff5a3a-b011-4da3-81fe-bc8d4a11b28c;cec7447d-a39c-41c5-ba74-5d7057e5c731
    ARTISTSORT      : 1 Giant Leap feat. Maal, Baaba
    ARTISTS         : 1 Giant Leap;Baaba Maal
    MUSICBRAINZ_RELEASETRACKID: dc9955f8-b598-33a9-b694-445490935cbf
    TRACKTOTAL      : 12
    DISCTOTAL       : 1
    GENRE           : 2000s;Trip Hop
  Duration: 00:02:55.08, start: 0.000000, bitrate: 584 kb/s
  Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
  Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 500x500 [SAR 1:1 DAR 1:1], 90k tbr, 90k tbn (attached pic)
      comment         : Cover (front)
[NULL @ 0x55acecdedb80] Unable to find a suitable output format for '/tmp/.gnome_desktop_thumbnail.SXZS71'
/tmp/.gnome_desktop_thumbnail.SXZS71: Invalid argument

At this stage MP3s are down again too - It seems that the xapp thumbnailers were working for those.

After a bit of digging I managed to resolve this by installing the “Videos (totem)” appplication from the Software Center - Feels a bit OTT, but it works.

I use “ffmpegthumbnailer” it shows music icons too.

That wasn’t doing anything for me at all - That would be a much better solution IMO than having to install a random gnome app that I’ll never use (Sledgehammer => Nut) - I suspect that something is missing that would allow the ffmpegthumbnailer to work in Nemo with music.

Make sure you have all the dependencies.

Yep - All are present and correct

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.