mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
57 lines
1.1 KiB
PHP
Executable File
57 lines
1.1 KiB
PHP
Executable File
<?php
|
|
|
|
require("config.php");
|
|
require_once(WWW_DIR."/lib/postprocess.php");
|
|
require("pid.php");
|
|
|
|
$filename = pathinfo(__FILE__, PATHINFO_FILENAME);
|
|
|
|
$pidfile = new pidfile("/tmp", $filename);
|
|
if($pidfile->is_already_running()) {
|
|
echo "Already running.\n";
|
|
exit;
|
|
}
|
|
|
|
$i=1;
|
|
while($i=1)
|
|
{
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processTv();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processGames();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processMovies();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processMusic();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processBooks();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processUnwanted();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processMusicFromMediaInfo();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processOtherMiscCategory();
|
|
}
|
|
{
|
|
$postprocess = new PostProcess(true);
|
|
$postprocess->processUnknownCategory();
|
|
}
|
|
}
|
|
|
|
?>
|