dotfiles/.local/bin/scripts/rgain

7 lines
378 B
Text
Raw Normal View History

2025-02-04 11:52:56 +01:00
#!/bin/sh -e
# Recursively add replaygain to the given files or from the current directory
2025-02-04 11:52:56 +01:00
nice -n 8 rsgain easy --skip-existing --multithread=${SPARE_CORES:-3} "${@:-.}"
#test $# -eq 0 && nice -n 8 beet replaygain --album --threads=${SPARE_CORES:-3} --write "$@"
2023-11-04 19:08:39 +01:00
# Need a find command, call for each album
2025-02-04 11:52:56 +01:00
#rsgain custom --album --skip-existing --tagmode=i "${@:-${MUSIC:-.}}"