Added YEAR and GENRE to replaygain()
authorJesus Climent <mooch@debian.org>
Thu, 22 Mar 2007 14:31:22 +0000 (14:31 +0000)
committerJesus Climent <mooch@debian.org>
Thu, 22 Mar 2007 14:31:22 +0000 (14:31 +0000)
abcde

diff --git a/abcde b/abcde
index af8c2e5..ab379ae 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -517,6 +517,8 @@ do_replaygain()
                                TRACKFILE="$(mungefilename "$TRACKNAME")"
                                ARTISTFILE="$(mungefilename "$TRACKARTIST")"
                                ALBUMFILE="$(mungefilename "$DALBUM")"
+                       GENRE="$(mungegenre "$GENRE")"
+                       YEAR=${CDYEAR:-$CDYEAR}
                                gettracknum
                                if [ "$ONETRACK" = "y" ]; then 
                                        if [ "$VARIOUSARTISTS" = "y" ]; then