Permit rips of .iso files, and update x264 constant quality format

This commit is contained in:
2013-08-15 09:51:53 +01:00
parent 4eb088957f
commit 2ab4e92db0
3 changed files with 7 additions and 7 deletions

View File

@@ -199,7 +199,7 @@ class RippingCluster_Source_Plugin_HandBrake extends RippingCluster_PluginBase i
$config = RippingCluster_Main::instance()->config();
// Ensure the source is a valid directory, and lies below the configured source_dir
if ( ! is_dir($source_filename)) {
if ( ! is_dir($source_filename) && ! preg_match('/\.iso$/', $source_filename)) {
return false;
}
$real_source_filename = realpath($source_filename);
@@ -234,4 +234,4 @@ class RippingCluster_Source_Plugin_HandBrake extends RippingCluster_PluginBase i
}
?>
?>

View File

@@ -2,8 +2,8 @@
class RippingCluster_Utility_DvdDirectoryIterator extends FilterIterator {
public function accept() {
return is_dir($this->current()->getPathname() . DIRECTORY_SEPARATOR . 'VIDEO_TS');
return is_dir($this->current()->getPathname() . DIRECTORY_SEPARATOR . 'VIDEO_TS') || preg_match('/\.iso$/', $this->current()->getPathname());
}
}
?>
?>

View File

@@ -150,10 +150,10 @@
$("#available-titles").accordion({active: {/literal}{$source->longestTitleIndex()}{literal}});
$("input:submit").button();
$("#quantizer-slider").slider({
value:0.61,
value:20,
min: 0,
max: 1.0,
step: 0.01,
max: 51,
step: 1,
slide: function(event, ui) {
$("#global-quantizer").val(ui.value);
}