mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Replace/remove refferences to python scripts where possible.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2016-05-09 DariusIII
|
||||
* Chg: Replace/remove refferences to python scripts where possible.
|
||||
* Fix: Change TIME() to lowercase time()
|
||||
* Upd: Fix Yahoo search in Movie class
|
||||
* Chg: Replace python requestid_threaded with php equivalent in ProcessReleases class.
|
||||
|
||||
@@ -11,7 +11,7 @@ use newznab\Nfo;
|
||||
|
||||
$c = new ColorCLI();
|
||||
if (!isset($argv[1])) {
|
||||
exit($c->error("This script is not intended to be run manually, it is called from fixreleasenames_threaded.py."));
|
||||
exit($c->error("This script is not intended to be run manually, it is called from fixreleasenames.php."));
|
||||
} else if (isset($argv[1])) {
|
||||
$db = new Settings();
|
||||
$namefixer = new NameFixer(['Settings' => $pdo]);
|
||||
|
||||
@@ -9,7 +9,7 @@ use newznab\NNTP;
|
||||
|
||||
$c = new ColorCLI();
|
||||
if (!isset($argv[1])) {
|
||||
exit($c->error("This script is not intended to be run manually, it is called from postprocess_threaded.py."));
|
||||
exit($c->error("This script is not intended to be run manually, it is called from postprocess.php."));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -209,8 +209,8 @@ function window_proxy($tmux_session, $window)
|
||||
}
|
||||
|
||||
if ($nntpproxy === '1' && ($pdo->getSetting('alternate_nntp') == '1')) {
|
||||
$DIR = NN_TMUX;
|
||||
$nntpproxypy = $DIR . "python/nntpproxy.py";
|
||||
$DIR = NN_MISC;
|
||||
$nntpproxypy = $DIR . "update/python/nntpproxy.py";
|
||||
if (file_exists($DIR . "python/lib/nntpproxy_a.conf")) {
|
||||
$nntpproxyconf = $DIR . "python/lib/nntpproxy_a.conf";
|
||||
exec("tmux selectp -t $tmux_session:$window.0; tmux splitw -t $tmux_session:$window -h -p 50 'printf \"\033]2;NNTPProxy\033\" && python $nntpproxypy $nntpproxyconf'");
|
||||
|
||||
@@ -175,7 +175,7 @@
|
||||
{html_options style="width:180px;" class="siteeditstyle" id="binaries" name='binaries' values=$binaries_ids output=$binaries_names selected=$ftmux->binaries}
|
||||
<div class="hint">Choose to run update_binaries. Update binaries gets from your last_record to now.<br/>Simple
|
||||
Threaded Update runs 1 group per thread.<br/>Complete Threaded Update splits all work across
|
||||
multiple threads(binaries_safe_threaded.py).
|
||||
multiple threads.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -214,7 +214,7 @@
|
||||
Disabled - Disables backfill from running.<br/>
|
||||
Safe - Backfills 1 group by backfill days (set in admin-view groups), using the number of threads
|
||||
set in admin. This downloads Backfill Quantity times the Backfill Threads, each
|
||||
loop(backfill_safe_threaded.py). <br \>
|
||||
loop. <br \>
|
||||
example: you have Backfill Threads = 10, Backfill Quantity = 20k, Max Messages = 5k: you will run 10
|
||||
threads, queue of 40 and download 200k headers.<br/>
|
||||
Interval - Backfills the number of groups (set in tmux), by backfill days (set in admin-view
|
||||
|
||||
Reference in New Issue
Block a user