2013-10-17, 13:08
Here's a patch for the *.part001.rar bug. Now all but the first part are skipped.
Code:
--- sorttv.pl 2013-10-17 12:44:19.265528167 +0200
+++ new/sorttv.pl 2013-10-17 12:54:01.316720483 +0200
@@ -1306,6 +1306,10 @@
out("std", "SKIP: parts are still downloading: $arfile\n");
next;
}
+ if(filename($arfile) =~ /\b.*\.part\d+\.rar\b/i && filename($arfile) !~ /\b.*\.part0*1\.rar\b/i) {
+ #out("std", "SKIP: part file: $arfile\n");
+ next;
+ }
unless (mkdir($dest)) {
out("warn", "WARN: could not create directory: $dest ($!), extracting to $sortd\n");
$dest = $sortd;