mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
More echoing fixes
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
require_once dirname(__DIR__, 2).DIRECTORY_SEPARATOR.'bootstrap/autoload.php';
|
||||
|
||||
use nntmux\ColorCLI;
|
||||
use nntmux\db\DB;
|
||||
use nntmux\NameFixer;
|
||||
use nntmux\ConsoleTools;
|
||||
@@ -18,8 +19,8 @@ if (! isset($argv[1]) || ($argv[1] != 'all' && $argv[1] != 'full' && ! is_numeri
|
||||
));
|
||||
}
|
||||
|
||||
echo $pdo->log->header("\nDecrypt Hashes (${argv[1]}) Started at ".date('g:i:s'));
|
||||
echo $pdo->log->primary('Matching predb hashes to hash(releases.name or releases.searchname)');
|
||||
ColorCLI::doEcho(ColorCLI::header("Decrypt Hashes (${argv[1]}) Started at ".date('g:i:s')), true);
|
||||
ColorCLI::doEcho(ColorCLI::primary('Matching predb hashes to hash(releases.name or releases.searchname)'), true);
|
||||
|
||||
getPreName($argv);
|
||||
|
||||
|
||||
@@ -1141,8 +1141,8 @@ class NameFixer
|
||||
$limit = 'LIMIT 1000000';
|
||||
}
|
||||
|
||||
echo ColorCLI::header(PHP_EOL.'Match PreFiles '.$args[1].' Started at '.Carbon::now()->format('Y-m-d'));
|
||||
echo ColorCLI::primary('Matching predb filename to cleaned release_files.name.'.PHP_EOL);
|
||||
ColorCLI::doEcho(ColorCLI::header(PHP_EOL.'Match PreFiles '.$args[1].' Started at '.Carbon::now()->format('Y-m-d')), true);
|
||||
ColorCLI::doEcho(ColorCLI::primary('Matching predb filename to cleaned release_files.name.'), true);
|
||||
|
||||
$counter = $counted = 0;
|
||||
$timestart = time();
|
||||
|
||||
Reference in New Issue
Block a user