Added YEAR as a variable for creating playlists
authorJesus Climent <mooch@debian.org>
Thu, 4 Aug 2005 07:40:59 +0000 (07:40 +0000)
committerJesus Climent <mooch@debian.org>
Thu, 4 Aug 2005 07:40:59 +0000 (07:40 +0000)
abcde

diff --git a/abcde b/abcde
index cf2c3e2..af7282d 100755 (executable)
--- a/abcde
+++ b/abcde
@@ -968,6 +968,7 @@ do_playlist ()
                ALBUMFILE=$(mungefilename "$DALBUM")
                ARTISTFILE=$(mungefilename "$DARTIST")
                GENRE=$(mungegenre "$GENRE")
+               YEAR=${CDYEAR:-$CDYEAR}
                if [ "$VARIOUSARTISTS" = "y" ] ; then
                        PLAYLISTFILE=$(eval echo $VAPLAYLISTFORMAT)
                else