Package: ripit
Version: 4.0.0~rc20161009-1
Severity: normal

Dear Maintainer,

When I specify --norip and try to re-encode from the saved wav file, the
encode process will not start and will not end.

* Reproduction steps
Put wav file to be encoded in working directory.
Launch ripit with --norip option as shown below.
$ ripit --norip --inputdir workdir --cdid de116510

# Actual behavior
After inputting track information, ripit is stalled and does not end.
There is copy of wav files in the output directory, but the encoded file
does not exist.

# Expected behavior
The encoded file is placed in the output folder and the wav file is
deleted after the encoding is completed.

# Note
It worked in the previous version(ripit_4.0.0~beta20140508-1).
The attached patch fixes the problem for me.



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ripit depends on:
ii  cdparanoia                      3.10.2+debian-13+b1
ii  flac                            1.3.3-1
ii  libcddb-get-perl                2.28-3
ii  libdigest-md5-file-perl         0.08-1
ii  libmime-base64-urlsafe-perl     0.01-2
ii  libmp3-tag-perl                 1.13-1.2
ii  libmusicbrainz-discid-perl      0.06-1
ii  libtext-unidecode-perl          1.30-1
ii  libunicode-utf8-perl            0.62-1+b1
ii  libwebservice-musicbrainz-perl  1.0.4-2
ii  libwww-perl                     6.47-1
ii  libxml-simple-perl              2.25-1
ii  normalize-audio                 0.7.7-15
ii  perl                            5.30.3-4
ii  vorbis-tools                    1.4.0-11

Versions of packages ripit recommends:
ii  exim4-daemon-light [mail-transport-agent]  4.94-7

Versions of packages ripit suggests:
ii  eject  2.36-3
pn  id3    <none>
pn  id3v2  <none>

-- no debconf information
--- /usr/bin/ripit.orig 2020-08-29 15:51:44.560660832 +0900
+++ /usr/bin/ripit      2020-09-05 18:19:17.787274004 +0900
@@ -13532,10 +13532,10 @@
    # wavdir for output for encoder to find the file names.
    # More problems: if operator changed wording, ripit still uses the
    # original names here, but encoder expects wav with new wording...
+   @tracklist_modif = @tracklist;
+   @tracklist = ();
    if(@sndfiles) {
       my $trcn = 0;
-      @tracklist_modif = @tracklist;
-      @tracklist = ();
       foreach my $sndfile (@sndfiles) {
          $trcn++;
          my $wavfile = $sndfile;

Reply via email to