Fix issue with input/ouput filenames
Current version of the worker script expects the input and output filenames as whole strings not constituent parts. Altered the Job class to pass the filenames in as the expected format.
This commit is contained in:
@@ -188,10 +188,8 @@ class HandBrakeCluster_Job {
|
||||
// Construct the rip options
|
||||
$rip_options = array(
|
||||
'nice' => $config->get('rips.nice', 15),
|
||||
'input_dir' => dirname($this->source_filename) . DIRECTORY_SEPARATOR,
|
||||
'input_filename' => basename($this->source_filename),
|
||||
'output_dir' => dirname($this->destination_filename) . DIRECTORY_SEPARATOR,
|
||||
'output_filename' => basename($this->destination_filename),
|
||||
'input_filename' => dirname($this->source_filename) . DIRECTORY_SEPARATOR . basename($this->source_filename),
|
||||
'output_filename' => dirname($this->destination_filename) . DIRECTORY_SEPARATOR . basename($this->destination_filename),
|
||||
'title' => $this->title,
|
||||
'format' => $this->format,
|
||||
'video_codec' => $this->video_codec,
|
||||
|
||||
Reference in New Issue
Block a user