Compare commits

..

3 Commits

Author SHA1 Message Date
436d8d6fa3 remove some unused scripts 2024-04-25 11:05:44 -04:00
743a51a846 improve bluetooth restart script 2024-04-25 10:59:08 -04:00
7cd05447e0 add standardize-music script 2024-04-25 10:58:58 -04:00

View File

@ -11,7 +11,7 @@ fi
count=`ls -1 *.m4a 2>/dev/null | wc -l` count=`ls -1 *.m4a 2>/dev/null | wc -l`
if [ $count != 0 ]; then if [ $count != 0 ]; then
for i in *.m4a; do for i in *.m4a; do
ffmpeg -y -i "$i" "${i%.*}.ogg" && rm "$i" ffmpeg -i "$i" "${i%.*}.ogg" && rm "$i"
done done
fi fi
@ -23,7 +23,7 @@ fi
count=`ls -1 *.webm 2>/dev/null | wc -l` count=`ls -1 *.webm 2>/dev/null | wc -l`
if [ $count != 0 ]; then if [ $count != 0 ]; then
for i in *.webm; do for i in *.webm; do
ffmpeg -y -i "$i" "${i%.*}.ogg" && rm "$i" ffmpeg -i "$i" "${i%.*}.ogg" && rm "$i"
done done
fi fi
@ -35,7 +35,7 @@ fi
count=`ls -1 *.opus 2>/dev/null | wc -l` count=`ls -1 *.opus 2>/dev/null | wc -l`
if [ $count != 0 ]; then if [ $count != 0 ]; then
for i in *.opus; do for i in *.opus; do
ffmpeg -y -i "$i" "${i%.*}.ogg" && rm "$i" ffmpeg -i "$i" "${i%.*}.ogg" && rm "$i"
done done
fi fi