Compare commits
2 Commits
55d8edaebe
...
70bac5be34
Author | SHA1 | Date | |
---|---|---|---|
70bac5be34 | |||
59f0106d5e |
@ -9,7 +9,7 @@ fi
|
||||
count=`ls -1 *.ogg 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]; then
|
||||
for i in *.ogg; do
|
||||
ffmpeg -y -i "$i" "${i%.*}.mp3" && rm "$i"
|
||||
ffmpeg -y -i "$i" -map_metadata 0:s:a:0 "${i%.*}.mp3" && rm "$i"
|
||||
done
|
||||
fi
|
||||
|
||||
@ -21,7 +21,7 @@ fi
|
||||
count=`ls -1 *.webm 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]; then
|
||||
for i in *.webm; do
|
||||
ffmpeg -y -i "$i" "${i%.*}.mp3" && rm "$i"
|
||||
ffmpeg -y -i "$i" -map_metadata 0:s:a:0 "${i%.*}.mp3" && rm "$i"
|
||||
done
|
||||
fi
|
||||
|
||||
@ -33,7 +33,7 @@ fi
|
||||
count=`ls -1 *.opus 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]; then
|
||||
for i in *.opus; do
|
||||
ffmpeg -y -i "$i" "${i%.*}.mp3" && rm "$i"
|
||||
ffmpeg -y -i "$i" -map_metadata 0:s:a:0 "${i%.*}.mp3" && rm "$i"
|
||||
done
|
||||
fi
|
||||
|
||||
@ -45,7 +45,7 @@ fi
|
||||
count=`ls -1 *.m4a 2>/dev/null | wc -l`
|
||||
if [ $count != 0 ]; then
|
||||
for i in *.m4a; do
|
||||
ffmpeg -y -i "$i" "${i%.*}.mp3" && rm "$i"
|
||||
ffmpeg -y -i "$i" -map_metadata 0:s:a:0 "${i%.*}.mp3" && rm "$i"
|
||||
done
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user