dotfiles/.local/bin/scripts/rgain

8 lines
398 B
Plaintext
Raw Normal View History

#!/bin/sh
# Recursively add replaygain to the given files or from the current directory
2024-06-28 19:32:19 +00:00
#rsgain custom --album --skip-existing --tagmode=i "${@:-${MUSIC:-.}}"
beet replaygain -a -t 4 -w ||
r128gain $(test -f "$1" || echo '--recursive') --skip-tagged --preserve-times 1 "${@:-.}"
2023-11-04 18:08:39 +00:00
# Need a find command, call for each album
# rsgain easy --skip-existing --multithread=${SPARE_CORES:-3} "${@:-.}"