„to_opus.sh“ ändern
This commit is contained in:
parent
4dc0b7f648
commit
da3ff32cf7
1 changed files with 6 additions and 6 deletions
12
to_opus.sh
12
to_opus.sh
|
@ -45,12 +45,12 @@ for file in **/*.@($extension); do
|
||||||
}')
|
}')
|
||||||
|
|
||||||
|
|
||||||
#is_video=$(ffprobe "$file" -v 0 -show_entries stream=codec_type -of compact=p=0:nk=1:s="\ " | grep video)
|
is_video=$(ffprobe "$file" -v 0 -show_entries stream=codec_type -of compact=p=0:nk=1:s="\ " | grep video)
|
||||||
#if [[ -n "$is_video" ]]; then
|
if [[ -n "$is_video" ]]; then
|
||||||
eval "$command"
|
echo "$file could possibly be a video file and will not be converted"
|
||||||
#else
|
else
|
||||||
#eval "$command" && rm "$file"
|
eval "$command" && rm "$file"
|
||||||
#fi
|
fi
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue