You are not logged in.
Using the Tumbler customized thumbnailers, I made one to use covers on ID3 tags as mp3 thumbnails.
#!/bin/dash
exiftool -picture -b "$2" 2>/dev/null | convert -thumbnail "$1" - "$3" 1>/dev/null 2>&1
exit $?
If the mp3 file has album art, there is no problem. But if the mp3 file lacks of a valid ID3 cover art, Tumbler will try to generate the thumbnail every time you enter on that directory.
Is there a method to tell Tumbler to stop and show the default mp3 icon on that files?
Offline
Hello and welcome.
As a note, tumbler has recently added the ability to support embedded media cover thumbnails like you are trying to do and will be available in the next release.
To answer your question, how about something like:
#!/bin/dash
if [[ $(exiftool -picture -b "$2" 2>/dev/null) ]]; then
exiftool -picture -b "$2" 2>/dev/null | convert -thumbnail "$1" - "$3" 1>/dev/null 2>&1
fi
exit $?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
[ Generated in 0.007 seconds, 7 queries executed - Memory usage: 523 KiB (Peak: 531.38 KiB) ]