Comments and i_skip

This commit is contained in:
2019-06-13 06:24:02 -07:00
parent 791668ac72
commit b2960bd5b7

View File

@@ -19,6 +19,7 @@ $bin_php = "php";
$bin_magick = "magick";
$bin_vips = "vipsthumbnail";
// Treat these directories as files
$p['bundles'] = array( "app",
"bundle",
"sparsebundle",
@@ -33,6 +34,7 @@ $p['bundles'] = array( "app",
"rtfd"
);
// Completely ignore these files
$p['ignore'] = array( ".Trashes",
".DocumentRevisions-V100",
".Spotlight-V100",
@@ -44,7 +46,7 @@ $p['ignore'] = array( ".Trashes",
".neofinder.abemeda.volinfo.xml"
);
// p_files will act as a directory preview
// Use these files as a directory preview
$p['p_files'] = array( "folder.jpg",
"cover.jpg",
"preview.jpg",
@@ -52,6 +54,7 @@ $p['p_files'] = array( "folder.jpg",
"folder.png",
"preview.png");
// Gather contents for these files
$p['c_files'] = array( "DS_Store",
"txt",
"md",
@@ -66,6 +69,7 @@ $p['c_files'] = array( "DS_Store",
"doc",
"docx" );
// Use ffmpeg to generate thumbnails for these files
$p['t_files']['ffmpeg'] = array( "mkv",
"avi",
"mpeg",
@@ -83,6 +87,7 @@ $p['t_files']['ffmpeg'] = array( "mkv",
"flv",
"webm" );
// Use sips to generate thumbnails for these files
$p['t_files']['sips'] = array( "jpg",
"jpeg",
"tif",
@@ -92,14 +97,33 @@ $p['t_files']['sips'] = array( "jpg",
"png",
"heic" );
// Use sox to generate thumbnails for these files
$p['t_files']['sox'] = array( "flac",
"wav",
"aif",
"aiff" );
// don't make thumbs for these files
// Don't make thumbnails for these files
$p['t_skip'] = array("emlx");
// Don't make icons for these files
$p['i_skip'] = array( "jpg",
"jpeg",
"tif",
"tiff",
"gif",
"png",
"heic",
"flac",
"wav",
"aiff",
"aif",
"zip");
// Custom qlgenerator bindings
$p['i_bindings']['indd'] = array("com.adobe.indesign-document","Art View.qlgenerator");
// Run mediainfo on these files
$p['m_files'] = array( "mkv",
"ogg",
"avi",
@@ -125,6 +149,7 @@ $p['m_files'] = array( "mkv",
"aiff",
"m2ts" );
// Run exiftool on these files
$p['e_files'] = array( "ai",
"aiff",
"ape",
@@ -195,6 +220,7 @@ $p['e_files'] = array( "ai",
"xmp",
"zip" );
// Ucase
foreach ($p['bundles'] as $bundle) { $p['nodescend'][] = "*.".$bundle; }
foreach ($p['c_files'] as $ext) { $p['c_files'][] = strtoupper($ext); }
foreach ($p['e_files'] as $ext) { $p['e_files'][] = strtoupper($ext); }
@@ -202,6 +228,7 @@ foreach ($p['m_files'] as $ext) { $p['m_files'][] = strtoupper($ext); }
foreach ($p['t_files']['ffmpeg'] as $ext) { $p['t_files']['ffmpeg'][] = strtoupper($ext); }
foreach ($p['t_files']['sips'] as $ext) { $p['t_files']['sips'][] = strtoupper($ext); }
foreach ($p['t_skip'] as $ext) { $p['t_skip'][] = strtoupper($ext); }
foreach ($p['i_skip'] as $ext) { $p['t_iskip'][] = strtoupper($ext); }
foreach ($p['p_files'] as $file) { $p['p_files'][] = strtoupper($file); }
?>