[abcde] Fix eyeD3 tagging of entries without year info
Ville Skyttä
scop at fedoraproject.org
Thu Apr 17 19:37:34 UTC 2014
commit 4e089ec145ec31c7bc00d335aa308634b9fa8271
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Thu Apr 17 22:36:25 2014 +0300
Fix eyeD3 tagging of entries without year info
abcde-2.5.4-eyed3-empty-year.patch | 12 ++++++++++++
abcde.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/abcde-2.5.4-eyed3-empty-year.patch b/abcde-2.5.4-eyed3-empty-year.patch
new file mode 100644
index 0000000..6f64b5a
--- /dev/null
+++ b/abcde-2.5.4-eyed3-empty-year.patch
@@ -0,0 +1,12 @@
+diff -up abcde-2.5.4/abcde.orig abcde-2.5.4/abcde
+--- abcde-2.5.4/abcde.orig 2014-04-17 21:56:03.675957914 +0300
++++ abcde-2.5.4/abcde 2014-04-17 21:56:14.415166223 +0300
+@@ -826,7 +826,7 @@ do_tag ()
+ # happily substitute them with $TRACKNUM
+ run_command tagtrack-$OUTPUT-$1 nice $ENCNICE $TAGGER $TAGGEROPTS \
+ --comment="$COMMENTOUTPUT" -A "$DALBUM" \
+- -a "$TRACKARTIST" -t "$TRACKNAME" -Y "$CDYEAR" \
++ -a "$TRACKARTIST" -t "$TRACKNAME" ${CDYEAR:+-Y "$CDYEAR"} \
+ -G "$GENREID" -n "${TRACKNUM:-$1}" \
+ ${TRACKNUM:+-N "$TRACKS"} \
+ ${ENCODING:+--encoding="$ENCODING"} \
diff --git a/abcde.spec b/abcde.spec
index af2caca..f12a4a9 100644
--- a/abcde.spec
+++ b/abcde.spec
@@ -1,6 +1,6 @@
Name: abcde
Version: 2.5.4
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A Better CD Encoder
# Public domain after 2010-01-01, see comments in abcde and cddb-tool
@@ -11,6 +11,8 @@ Patch0: %{name}-2.4.0-config.patch
# http://code.google.com/p/abcde/source/detail?r=379
# http://code.google.com/p/abcde/issues/detail?id=99
Patch1: %{name}-2.5.4-eyed3_07-991163.patch
+# http://code.google.com/p/abcde/issues/detail?id=107
+Patch2: %{name}-2.5.4-eyed3-empty-year.patch
BuildArch: noarch
Requires: cd-discid
@@ -32,6 +34,7 @@ tags them, all in one go.
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
mv examples/cue2discid .
@@ -57,6 +60,9 @@ rm $RPM_BUILD_ROOT%{_bindir}/abcde-musicbrainz-tool # optional, some deps N/A
%changelog
+* Thu Apr 17 2014 Ville Skyttä <ville.skytta at iki.fi> - 2.5.4-4
+- Fix eyeD3 tagging of entries without year info
+
* Thu Aug 1 2013 Ville Skyttä <ville.skytta at iki.fi> - 2.5.4-3
- Apply upstream + --comment fixes for eyeD3 >= 0.7.0 (#991163).
More information about the scm-commits
mailing list