that's a nice trick but I don't think it should be integrated into metaflac (not yet at least). there are other things that can appear in comments that will throw this off too (double quotes, newlines).
this has come up on the vorbis lists too in the past and has not been resolved as far as I know. Josh --- Matt Zimmerman <[EMAIL PROTECTED]> wrote: > ----- Forwarded message from Wolfgang Rohdewald > <[EMAIL PROTECTED]> ----- > > Date: Sun, 03 Oct 2004 19:24:38 +0200 > From: Wolfgang Rohdewald <[EMAIL PROTECTED]> > Resent-From: Wolfgang Rohdewald <[EMAIL PROTECTED]> > To: Debian Bug Tracking System <[EMAIL PROTECTED]> > Subject: Bug#274700: flac: --export-vc-to should quote strings > containing spaces > > Package: flac > Version: 1.1.0-11 > Severity: normal > > > eval `metaflac --export-vc-to - "$flacfile"` > > fails if a vc-field contains spaces because the strings are not > quoted. If they were, using metaflac in scripts would be much easier > like in > > eval `metaflac --export-vc-to - "$flacfile"` > id3 -A "$ALBUM" -t "$TITLE" -a "$ARTIST" -y "$DATE" -g "$GENRE" -T > "$TRACKNUMBER" "$mp3file" > > > Now I need to do this nasty workaround: > > eval `metaflac --export-vc-to - "$flacfile" | sed s'/=/="/' | sed > 's/$/"/'` > > -- System Information: > Debian Release: 3.1 > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: i386 (i686) > Kernel: Linux 2.4.27 > Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (ignored: LC_ALL set to > C) > > Versions of packages flac depends on: > ii libc6 2.3.2.ds1-17 GNU C Library: Shared > libraries an > ii libflac4 1.1.0-11 Free Lossless Audio > Codec - runtim > ii libogg0 1.1.0-1 Ogg Bitstream Library > ii liboggflac1 1.1.0-11 Free Lossless Audio > Codec - runtim > > -- no debconf information > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact > [EMAIL PROTECTED] > > ----- End forwarded message ----- > > -- > - mdz > _______________________________________________ > Flac-dev mailing list > [EMAIL PROTECTED] > http://lists.xiph.org/mailman/listinfo/flac-dev > _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com _______________________________________________ Flac-dev mailing list [EMAIL PROTECTED] http://lists.xiph.org/mailman/listinfo/flac-dev
