aboutsummaryrefslogtreecommitdiff
path: root/audio/abcde/id3-genre.diff
diff options
context:
space:
mode:
authorAndreas Voegele <andreas@andreasvoegele.com>2016-01-12 00:16:09 +0700
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:58:11 -0600
commit32b31541ea674c77a1c8e6481d44d10ea034ba16 (patch)
tree8d36ba1da8c18caf75e0f9b8f17ed130ee430141 /audio/abcde/id3-genre.diff
parentea7d87c52110cfa2d5952d2f176166dab7fc4645 (diff)
audio/abcde: Updated for version 2.7.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/abcde/id3-genre.diff')
-rw-r--r--audio/abcde/id3-genre.diff18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/abcde/id3-genre.diff b/audio/abcde/id3-genre.diff
new file mode 100644
index 0000000000000..e3dd55d26206d
--- /dev/null
+++ b/audio/abcde/id3-genre.diff
@@ -0,0 +1,18 @@
+Pass the genre name instead of the identifier to the id3 command as the
+numbers are offset by one.
+
+--- abcde-2.7.1/abcde.orig 2015-10-04 11:30:28.000000000 +0200
++++ abcde-2.7.1/abcde 2016-01-09 15:49:12.249326957 +0100
+@@ -822,11 +822,11 @@
+ case "$ID3SYNTAX" in
+ id3)
+ run_command tagtrack-$OUTPUT-$1 nice $ENCNICE \
+ $TAGGER $TAGGEROPTS -c "$COMMENTOUTPUT" \
+ -A "$DALBUM" -a "$TRACKARTIST" -t "$TRACKNAME" \
+- -y "$CDYEAR" -g "$GENREID" \
++ -y "$CDYEAR" -g "$CDGENRE" \
+ -T "${TRACKNUM:-$1}" \
+ "$ABCDETEMPDIR/track$1.$OUTPUT"
+ ;;
+ id3v2)
+ # FIXME # track numbers in mp3 come with 1/10, so we cannot