Package: yaret
Version: 2.1.0-5
Severity: normal

The flac_cushion.pl script distributed as
/usr/share/yaret/flac_cushion.pl seems to use the --set-vc-field
metaflac option which does not exist with current metaflac (according
to metaflac(1)).  Furthermore, even though metaflac most certainly
fails due to the unknown option (exit code 1, tested on the
commandline), the flac_cushion.pl scripts still exits with success
(code 0), thus the user is not informed by yaret of the metaflac
invocation failure.  The patch included below fixes the first of these
problems, but not the latter, as I'm pretty illiterate in Perl (and
too lazy to RFTM ATM).

--- /usr/share/yaret/flac_cushion.pl    2006-03-05 20:32:29.000000000 +0100
+++ /home/rotty/bin/yaret-flac  2011-09-14 22:02:05.061814267 +0200
@@ -23,12 +23,12 @@
  $album, $tracknum, $artist, $genre, $year) = @ARGV;
 system "flac", "-o", $fout, "-$qual", $fin;
 unless ($?) {
-       system "metaflac", "--set-vc-field=TITLE=$track",
-               "--set-vc-field=ALBUM=$album",
-               "--set-vc-field=ARTIST=$artist",
-               "--set-vc-field=TRACKNUMBER=$tracknum",
-               "--set-vc-field=GENRE=$genre",
-               "--set-vc-field=YEAR=$year",
+       system "metaflac", "--set-tag=TITLE=$track",
+               "--set-tag=ALBUM=$album",
+               "--set-tag=ARTIST=$artist",
+               "--set-tag=TRACKNUMBER=$tracknum",
+               "--set-tag=GENRE=$genre",
+               "--set-tag=YEAR=$year",
                $fout;
        exit 0;
 }

Regards, Rotty
-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages yaret depends on:
ii  cdparanoia         3.10.2+debian-10
ii  flac               1.2.1-5         
ii  libappconfig-perl  1.66-1          
ii  libaudio-cd-perl   0.05-9+b1       
ii  perl               5.12.4-4        
ii  vorbis-tools       1.4.0-1         

yaret recommends no packages.

yaret suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to