Update rip setup page with clearer UI and bug fixes

This commit is contained in:
2010-06-08 21:26:18 +01:00
parent 6b0017c5b8
commit 65f2bbeb80
3 changed files with 12 additions and 7 deletions

View File

@@ -8,9 +8,9 @@ $config = $main->config();
$encoded_filename = null;
if ($req->get('submit')) {
$encoded_filename = HandBrakeCluster_Main::issetelse($_POST['id'], HandBrakeCluster_Exception_InvalidParameters);
// Create the jobs from the request
$jobs = HandBrakeCluster_Job::fromPostRequest($_POST['id'], $_POST['rips']);
$jobs = HandBrakeCluster_Job::fromPostRequest($_POST['id'], $_POST['rip-options'], $_POST['rips']);
// Spawn the background client process to run all the jobs
HandBrakeCluster_Job::runAllJobs();
@@ -31,4 +31,4 @@ if ($req->get('submit')) {
$this->smarty->assign('longest_title', $source->longestTitle());
}
?>
?>