#!/bin/sh

find btih/ -mindepth 2 -maxdepth 2 -name '*.German*' -not -name '*.torrent' |
while read dir; do

echo
echo "dir: $dir"
find "$dir" -mindepth 1 -maxdepth 1 -name '*.mkv' |
head -n1 |
while read mkv; do

png="$mkv.sg.png" # output file
[ -e "$png" ] && continue

echo "mkv: $mkv"
~/src/milahu/random/ffmpeg/audio-spectrum.sh "$mkv"

done

done