Package: abcde
Version: 2.4.0-1
Severity: important
Tags: patch

mp3 tagging (id3v2) failed with the message: Couldn't stat file ''

abcde sets TPE2 when an album contains multiple artists. If the album contains
only one author, TPE2 is empty. But the quotes surrounding the TPE2 expansion
are misplaced, which result in a call to the tagger (in my case id3v2) with
an empty argument. Removing quotes solves this.

I attached a patch.

-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages abcde depends on:
ii  cd-discid                1.1-1           CDDB DiscID utility
ii  cdparanoia               3.10.2+debian-8 audio extraction tool for sampling
ii  flac                     1.2.1-2+b1      Free Lossless Audio Codec - comman
ii  lame                     3.98.2-0.4      LAME Ain't an MP3 Encoder
ii  vorbis-tools             1.2.0-6         several Ogg Vorbis tools
ii  wget                     1.11.4-2        retrieves files from the web

Versions of packages abcde recommends:
ii  vorbis-tools                  1.2.0-6    several Ogg Vorbis tools

Versions of packages abcde suggests:
ii  distmp3         0.1.9.ds1-4.3            A Perl client and daemon for distr
ii  eject           2.1.5+deb1+cvs20081104-6 ejects CDs and operates CD-Changer
ii  eyed3           0.6.17-1                 Display and manipulate id3-tags on
ii  id3             0.15-2                   An ID3 Tag Editor
ii  id3v2           0.1.11-4                 A command line id3v2 tag editor
ii  mkcue           1-2.1                    Generates a CUE sheet from a CD
ii  mp3gain         1.5.1-2                  Lossless mp3 normalizer with stati
ii  normalize-audio 0.7.7-4                  adjusts the volume of WAV, MP3 and
ii  python-musicbra 2.1.5-2                  Second generation incarnation of t
ii  vorbisgain      0.36-3.1                 add Replay Gain volume tags to Ogg

-- no debconf information
--- /usr/bin/abcde      2009-10-17 12:30:53.000000000 +0200
+++ abcde       2009-11-02 19:41:08.000000000 +0100
@@ -835,7 +835,7 @@
                                                -A "$DALBUM" -a "$TRACKARTIST" 
-t "$TRACKNAME" \
                                                -y "$CDYEAR" -g "$GENREID" \
                                                -T "${TRACKNUM:-$1}/$TRACKS" \
-                                               "${TPE2:+--TPE2 \"$TPE2\"}" \
+                                               ${TPE2:+--TPE2 "$TPE2"} \
                                                "$ABCDETEMPDIR/track$1.$OUTPUT"
                                        ;;
                        esac

Reply via email to