I've created a quick patch that works for me.
*** /usr/bin/abcde      Sat Mar 14 22:56:31 2009
--- /tmp/abcde.new      Sun Mar 29 13:06:18 2009
***************
*** 802,812 ****
                                                "$ABCDETEMPDIR/track$1.$OUTPUT"
                                        ;;
                                *)
                                        # FIXME # track numbers in mp3 come 
with 1/10, so we cannot
                                        # happily substitute them with $TRACKNUM
                                        run_command tagtrack-$OUTPUT-$1 nice 
$ENCNICE $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" \
                                                -A "$DALBUM" -a "$TRACKARTIST" 
-t "$TRACKNAME" -y "$CDYEAR" \
!                                               -g "$GENREID" -T 
"${TRACKNUM:-$1/$TRACKS}" \
                                                "$ABCDETEMPDIR/track$1.$OUTPUT"
                                        ;;
                        esac
--- 802,819 ----
                                                "$ABCDETEMPDIR/track$1.$OUTPUT"
                                        ;;
                                *)
+                                       # Set TPE2 if needed
+                                       TPE2=
+                                       VATAG=
+                                       if [ "$VARIOUSARTISTS" = "y" ]; then
+                                               TPE2="--TPE2"
+                                               VATAG="Various Artists"
+                                       fi
                                        # FIXME # track numbers in mp3 come 
with 1/10, so we cannot
                                        # happily substitute them with $TRACKNUM
                                        run_command tagtrack-$OUTPUT-$1 nice 
$ENCNICE $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" \
                                                -A "$DALBUM" -a "$TRACKARTIST" 
-t "$TRACKNAME" -y "$CDYEAR" \
!                                               -g "$GENREID" -T 
"${TRACKNUM:-$1/$TRACKS}" $TPE2 "$VATAG" \
                                                "$ABCDETEMPDIR/track$1.$OUTPUT"
                                        ;;
                        esac

Reply via email to