13 Commits

Author SHA1 Message Date
bfcb32f9cb Latest version with support for webui and database logging 2010-06-08 23:13:36 +01:00
9358c100ae Added identifiers to jobs
Updated config file to specify ids for jobs for progress and logging
Added default_rip_options, which are copied to all rips without
specified values
Added an optional input/output_dir variables to prefix
input/output_filename
2010-02-23 21:39:14 +00:00
Ben Roberts
f4e038951d Fixed bug in reporting of completed jobs 2010-02-20 03:58:21 +00:00
Ben Roberts
9c163e57c4 Simple bugfixes
Fixed typo preventing log entries in the email report from being
separated onto new lines.
Fixed mistake in error messages when HandBrake sockets are closed
2010-02-20 03:56:20 +00:00
Ben Roberts
1d6deeb014 Updated client to report job status
Using open3 and select, readin raw bytes from the sockets rather than
buffered lines to access the handbrake progress information
2010-02-20 03:24:54 +00:00
Ben Roberts
e9bfe27782 Updated callbacks
Using anonymous subs for the simple callbacks instead of named subs
Using reference rather than direct hash access to construct the response
2010-02-20 01:32:39 +00:00
Ben Roberts
f71987cbb6 Massive update tidying codebase for release
Added POD to client and worker
Updated HTMl and Text email templates
2010-02-19 22:07:45 +00:00
Ben Roberts
35b5968b33 Reworked handbrake commandline construction
Added a function to construct commandline parameters from rip_options
array to exclude any unspecified options, and simplify handling of
special cases.
2010-02-19 15:51:08 +00:00
Ben Roberts
2ba73fe6df Bugfix in handbrake process status code check
Inverted check on handbrake process return status caused rip to report
incorrect completion status
2010-02-18 01:11:07 +00:00
Ben Roberts
4f7fd4307a Fixed bug in title selection
Typo caused the title options to be ignored, and so longest title only
was being ripped.
2010-02-17 09:27:56 +00:00
Ben Roberts
fd0e1f4777 Report handbrake failure to client
Added check on return status of handbrake process, and reports failure
to cluster client.
Fixed a bug whereby handbrake processes were not reaped after the rip
completes
2010-02-17 01:41:46 +00:00
Ben Roberts
3ea5aa5706 Batch processing and config file support
Added a config file to describe multiple jobs to run, and to provide
values for options not specified on command line.
In the config file, presets can be used to save duplication of rip
options common to multiple jobs.
2010-02-17 01:13:58 +00:00
Ben Roberts
0e4f9324aa Initial commits for handbrake-cluster
In its current state, the worker thread will process jobs submitted to
gearman by one or more clients. All output from HandBrake is captured
and logged along with diagnostic output from the worker process. The
client process takes commandline arguments to run a single ripping task,
and waits for it to complete.
2010-02-15 00:16:45 +00:00