Fix eyeD3 tagging of entries without year info

This commit is contained in:
Ville Skyttä 2014-04-17 22:36:25 +03:00
commit 4e089ec145
2 changed files with 19 additions and 1 deletions

View file

@ -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"} \

View file

@ -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@iki.fi> - 2.5.4-4
- Fix eyeD3 tagging of entries without year info
* Thu Aug 1 2013 Ville Skyttä <ville.skytta@iki.fi> - 2.5.4-3
- Apply upstream + --comment fixes for eyeD3 >= 0.7.0 (#991163).