Update worker code to the point that it can run.

Added plugin architecture for Worker functions, to support multiple
ripping engines.
Update worker script to use the new code.
Update Logger to output messages to console when running under the
worker script.
This commit is contained in:
2010-08-22 23:05:33 +01:00
parent 853c380e65
commit 40fa00c034
7 changed files with 260 additions and 67 deletions

View File

@@ -0,0 +1,16 @@
<?php
interface HandBrakeCluster_Worker_IPlugin {
public static function workerFunctions();
public static function rip(GearmanJob $job);
public function evaluateOption($name, $option = null);
public function callbackStdout($id, $data);
public function callbackStderr($id, $data);
}
?>