mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
63deced767
Conflicts: README.md bin/cleanup_scripts.sh bin/innodb/backfill.php bin/innodb/backfill_threaded.php bin/innodb/lib/framework/db.php bin/innodb/lib/innodb/config.php bin/innodb/lib/innodb/convertToInnoDB.php bin/innodb/nzb-import.php bin/innodb/update_binaries.php bin/innodb/update_binaries_threaded.php bin/monitor.php bin/postProcessing1.sh bin/postProcessing2.sh bin/postProcessing3.sh bin/postProcessing4.sh bin/postProcessing5.sh bin/postProcessing6.sh bin/processAlternate2.php bin/processAlternate4.php bin/processBooks.php bin/processGames.php bin/processMovies.php bin/processMusic.php bin/processTv.php bin/workhorse.sh conf/tmux.conf edit_these.sh set_perms.sh start.sh
33 lines
625 B
PHP
Executable File
33 lines
625 B
PHP
Executable File
<?php
|
|
|
|
require_once("config.php");
|
|
require_once(WWW_DIR."/lib/postprocess.php");
|
|
|
|
<<<<<<< HEAD
|
|
$db = new DB();
|
|
$query = "SELECT COUNT(*) AS cnt, ID from releases where rageID = -1 and categoryID in ( select ID from category where parentID = 5000 );";
|
|
|
|
$i=1;
|
|
while($i=1)
|
|
{
|
|
$result = $db->query($query);
|
|
$count = $result[0]['cnt'];
|
|
|
|
if ($count > 0) {
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processTv();
|
|
} else {
|
|
printf("TVRage : no work to be done\n");
|
|
sleep(15);
|
|
}
|
|
}
|
|
|
|
mysql_free_result($result);
|
|
=======
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processTv();
|
|
>>>>>>> dev
|
|
|
|
?>
|
|
|