Move files around.

This commit is contained in:
Darko
2015-05-28 12:36:00 +02:00
parent a5ea73deec
commit ae0434ac11
1403 changed files with 13 additions and 18 deletions
@@ -0,0 +1,20 @@
<?php
if (!isset($argv[1]) || !in_array($argv[1], ['nfo', 'filename', 'md5', 'par2', 'miscsorter', 'predbft'])) {
exit(
'First argument (mandatory):' . PHP_EOL .
'nfo => Attempt to fix release name using the nfo.' . PHP_EOL .
'filename => Attempt to fix release name using the filenames.' . PHP_EOL .
'md5 => Attempt to fix release name using the MD5.' . PHP_EOL .
'par2 => Attempt to fix release name using the par2.' . PHP_EOL .
'miscsorter => Attempt to fix release name using magic.' . PHP_EOL .
'predbft => Attempt to fix release name using Predb full text matching.' . PHP_EOL . PHP_EOL
);
}
declare(ticks=1);
require('.do_not_run/require.php');
use newznab\libraries\Forking;
(new Forking())->processWorkType('fixRelNames_' . $argv[1], [0 => $argv[1]]);