Permit rips of .iso files, and update x264 constant quality format
This commit is contained in:
@@ -199,7 +199,7 @@ class RippingCluster_Source_Plugin_HandBrake extends RippingCluster_PluginBase i
|
|||||||
$config = RippingCluster_Main::instance()->config();
|
$config = RippingCluster_Main::instance()->config();
|
||||||
|
|
||||||
// Ensure the source is a valid directory, and lies below the configured source_dir
|
// 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;
|
return false;
|
||||||
}
|
}
|
||||||
$real_source_filename = realpath($source_filename);
|
$real_source_filename = realpath($source_filename);
|
||||||
@@ -234,4 +234,4 @@ class RippingCluster_Source_Plugin_HandBrake extends RippingCluster_PluginBase i
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
class RippingCluster_Utility_DvdDirectoryIterator extends FilterIterator {
|
class RippingCluster_Utility_DvdDirectoryIterator extends FilterIterator {
|
||||||
public function accept() {
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -150,10 +150,10 @@
|
|||||||
$("#available-titles").accordion({active: {/literal}{$source->longestTitleIndex()}{literal}});
|
$("#available-titles").accordion({active: {/literal}{$source->longestTitleIndex()}{literal}});
|
||||||
$("input:submit").button();
|
$("input:submit").button();
|
||||||
$("#quantizer-slider").slider({
|
$("#quantizer-slider").slider({
|
||||||
value:0.61,
|
value:20,
|
||||||
min: 0,
|
min: 0,
|
||||||
max: 1.0,
|
max: 51,
|
||||||
step: 0.01,
|
step: 1,
|
||||||
slide: function(event, ui) {
|
slide: function(event, ui) {
|
||||||
$("#global-quantizer").val(ui.value);
|
$("#global-quantizer").val(ui.value);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user