improve replaygain tagging
This commit is contained in:
parent
0e38a2bd4d
commit
8c216ffb82
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
set -oux pipefail
|
set -ou pipefail
|
||||||
|
|
||||||
count=`ls -1 *.OGG 2>/dev/null | wc -l`
|
count=`ls -1 *.OGG 2>/dev/null | wc -l`
|
||||||
if [ $count != 0 ]; then
|
if [ $count != 0 ]; then
|
||||||
@ -37,4 +37,5 @@ if [ $count != 0 ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
rsgain easy -p no_album -m MAX -S ./
|
shopt -s nullglob
|
||||||
|
rsgain custom -a -s i -L -S *.m4a *.mp3 *.ogg *.opus
|
||||||
|
@ -17,5 +17,5 @@ sudo generate-playlists
|
|||||||
cd /home/default
|
cd /home/default
|
||||||
|
|
||||||
echo "unmounting /run/media/default/MUSIC"
|
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
|
sudo rmdir /run/media/default/MUSIC
|
||||||
|
Loading…
Reference in New Issue
Block a user