Files
newznab-tmux/bin/postprocessing.php
T
2013-01-01 15:42:21 -05:00

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();
}
}
?>