Skip empty line

This commit is contained in:
Sem
2026-07-20 14:07:39 +02:00
parent dc7f14128d
commit 1d6f6a1598

View File

@@ -11,6 +11,12 @@
function fix_flac_file() function fix_flac_file()
{ {
if [ -z "$1" ]
then
echo "Line is empty. Skipping"
return
fi
echo "Fixing flac file $1" echo "Fixing flac file $1"
echo "running command ffmpeg -i $1 -c:a flac -map_metadata 0 fixed.flac" echo "running command ffmpeg -i $1 -c:a flac -map_metadata 0 fixed.flac"