Speed up UID renaming, remove Srr filename matching.

This commit is contained in:
DariusIII
2016-05-25 22:33:18 +02:00
parent a0a43eef20
commit 29f69c5880
5 changed files with 154 additions and 222 deletions
+3 -11
View File
@@ -69,15 +69,9 @@ if (isset($argv[1]) && isset($argv[2]) && isset($argv[3]) && isset($argv[4])) {
$namefixer->fixNamesWithPar2(2, $update, $other, $setStatus, $show, $nntp);
break;
case 9:
$namefixer->fixNamesWithSrr(1, $update, $other, $setStatus, $show);
break;
case 10:
$namefixer->fixNamesWithSrr(2, $update, $other, $setStatus, $show);
break;
case 11:
$namefixer->fixNamesWithMedia(1, $update, $other, $setStatus, $show);
break;
case 12:
case 10:
$namefixer->fixNamesWithMedia(2, $update, $other, $setStatus, $show);
break;
default :
@@ -98,8 +92,6 @@ if (isset($argv[1]) && isset($argv[2]) && isset($argv[3]) && isset($argv[4])) {
. "php $argv[0] 6 false other no ...: Fix release names in misc categories using File Name.\n"
. "php $argv[0] 7 false other no ...: Fix release names in misc categories using Par2 Files in the past 6 hours.\n"
. "php $argv[0] 8 false other no ...: Fix release names in misc categories using Par2 Files.\n"
. "php $argv[0] 9 false other no ...: Fix release names in misc categories using SRR Files in the past 6 hours.\n"
. "php $argv[0] 10 false other no ...: Fix release names in misc categories using SRR Files.\n"
. "php $argv[0] 11 false other no ...: Fix release names in misc categories using UID in the past 6 hours.\n"
. "php $argv[0] 12 false other no ...: Fix release names in misc categories using UID.\n"));
. "php $argv[0] 9 false other no ...: Fix release names in misc categories using UID in the past 6 hours.\n"
. "php $argv[0] 10 false other no ...: Fix release names in misc categories using UID.\n"));
}