]> diplodocus.org Git - flac-archive/blobdiff - fa-flacd
(flac2mp3): Use for "loop" for s/// filename sanitization.
[flac-archive] / fa-flacd
index 371f20b..c3413e5 100755 (executable)
--- a/fa-flacd
+++ b/fa-flacd
@@ -12,7 +12,7 @@ B<fa-flacd> [B<-jv>]
 
 B<fa-rip>
 
-B<fa-tags> ID TRACKCOUNT OFFSET [OFFSET ...] LENGTH
+B<fa-tags> I<track-count>
 
 =cut
 
@@ -117,7 +117,7 @@ sub flac {
 sub reaper {
     my $pid;
 
-    while (($pid = waitpid(0, WNOHANG)) > 0) {
+    while (($pid = waitpid(-1, WNOHANG)) > 0) {
         push(@finished, [$pid, $?]);
     }
 
@@ -196,7 +196,7 @@ MAIN: {
     $opts{'j'} = 4;
     $opts{'v'} = 0;
     if (not getopts('j:v', \%opts)) {
-        print("usage: flacd [-jN -v]\n");
+        print(STDERR "usage: flacd [-jN -v]\n");
         exit(2);
     }
 
@@ -271,11 +271,6 @@ B<fa-tags> requires the number of tracks as its sole argument.
 
 =over 4
 
-=item CDDBURL
-
-B<fa-tags> uses this to retrieve candidate Vorbis tags.  Defaults to
-"http://freedb.freedb.org/~cddb/cddb.cgi".
-
 =item CDDEV
 
 B<fa-rip> uses this to rip audio and save the cuesheet for a CD.  It