improve replaygain tagging

This commit is contained in:
shibao 2024-09-03 20:34:45 -04:00
parent 0e38a2bd4d
commit 8c216ffb82
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -oux pipefail
set -ou pipefail
count=`ls -1 *.OGG 2>/dev/null | wc -l`
if [ $count != 0 ]; then
@ -37,4 +37,5 @@ if [ $count != 0 ]; then
done
fi
rsgain easy -p no_album -m MAX -S ./
shopt -s nullglob
rsgain custom -a -s i -L -S *.m4a *.mp3 *.ogg *.opus

View File

@ -17,5 +17,5 @@ sudo generate-playlists
cd /home/default
echo "unmounting /run/media/default/MUSIC"
sudo umount /run/media/default/MUSIC
sudo umount /dev/disk/by-uuid/E6F8-C183
sudo rmdir /run/media/default/MUSIC