]> diplodocus.org Git - flac-archive/blobdiff - fa-flacd
No more .toc file now that we use mkcue.
[flac-archive] / fa-flacd
index 37e79a0..ad0ecd3 100755 (executable)
--- a/fa-flacd
+++ b/fa-flacd
@@ -86,12 +86,7 @@ sub flac {
     chdir($dir) or die("chdir($dir): $!");
 
     $outfile = "$album";
-    for ($outfile) {
-        s/\//_/g;
-        s/:/_/g;
-        s/'/_/g;
-        s/"/_/g;
-    }
+    $outfile =~ s/\//_/g;
 
     verbose("Running flac\n");
     $status = system('flac', '-o', "../$artist/$outfile.flac-tmp",
@@ -110,8 +105,6 @@ sub flac {
     verbose("Cleaning up $dir\n");
     unlink('using-tags') or die("unlink(using-tags): $!");
     unlink('cue') or die("unlink(cue): $!");
-    rename('toc', "../$artist/$outfile.toc")
-      or die("rename(toc, ../$artist/$outfile.toc): $!");
     rename('log', "../$artist/$outfile.log")
       or die("rename(log, ../$artist/$outfile.log): $!");
     chdir('..') or die("chdir(..): $!");