This commit is contained in:
2019-09-29 07:07:05 -07:00
parent 3695583eb6
commit 3481873653
5 changed files with 24 additions and 4 deletions

View File

@@ -25,9 +25,10 @@ $p['vfiletypes'] = array("mov","mp4","m4v");
$p['screenshot_dims'] = array(320,640,750,828,1125,1242);
$p['delimiters'] = array(" ","_","-","+");
// Enable this option to verify newnames against those made with a prior version of rollup
// Debug options
$p['debug_verify_names'] = 0;
$p['debug_verify_names'] = 0; // Verify newnames against those made with a prior version of rollup
$p['debug_lens'] = 0; // Output raw lens data to verify formatting
// No files dragged
@@ -119,6 +120,7 @@ foreach ($files as $file) {
$z['%DUR'] = formatDuration($e);
$z['%SW'] = formatSoftware($e,$p);
$z['%MODEL'] = formatModel($e);
$z['%LENS'] = formatLens($e);
$z['%PLACE'] = formatPlace($e,$p);
if (in_array($ext,$p['pfiletypes'])) {
@@ -160,7 +162,9 @@ foreach ($files as $file) {
}
}
}
if ($p['debug_lens']) { echo "\n".@$e['LensModel']."\n".@$e['FocalLength']."\n"; }
echo updateProgress($i,count($files));
$i++;