Skip empty line
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user