Comments and i_skip
This commit is contained in:
@@ -19,6 +19,7 @@ $bin_php = "php";
|
|||||||
$bin_magick = "magick";
|
$bin_magick = "magick";
|
||||||
$bin_vips = "vipsthumbnail";
|
$bin_vips = "vipsthumbnail";
|
||||||
|
|
||||||
|
// Treat these directories as files
|
||||||
$p['bundles'] = array( "app",
|
$p['bundles'] = array( "app",
|
||||||
"bundle",
|
"bundle",
|
||||||
"sparsebundle",
|
"sparsebundle",
|
||||||
@@ -33,6 +34,7 @@ $p['bundles'] = array( "app",
|
|||||||
"rtfd"
|
"rtfd"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Completely ignore these files
|
||||||
$p['ignore'] = array( ".Trashes",
|
$p['ignore'] = array( ".Trashes",
|
||||||
".DocumentRevisions-V100",
|
".DocumentRevisions-V100",
|
||||||
".Spotlight-V100",
|
".Spotlight-V100",
|
||||||
@@ -44,7 +46,7 @@ $p['ignore'] = array( ".Trashes",
|
|||||||
".neofinder.abemeda.volinfo.xml"
|
".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",
|
$p['p_files'] = array( "folder.jpg",
|
||||||
"cover.jpg",
|
"cover.jpg",
|
||||||
"preview.jpg",
|
"preview.jpg",
|
||||||
@@ -52,6 +54,7 @@ $p['p_files'] = array( "folder.jpg",
|
|||||||
"folder.png",
|
"folder.png",
|
||||||
"preview.png");
|
"preview.png");
|
||||||
|
|
||||||
|
// Gather contents for these files
|
||||||
$p['c_files'] = array( "DS_Store",
|
$p['c_files'] = array( "DS_Store",
|
||||||
"txt",
|
"txt",
|
||||||
"md",
|
"md",
|
||||||
@@ -66,6 +69,7 @@ $p['c_files'] = array( "DS_Store",
|
|||||||
"doc",
|
"doc",
|
||||||
"docx" );
|
"docx" );
|
||||||
|
|
||||||
|
// Use ffmpeg to generate thumbnails for these files
|
||||||
$p['t_files']['ffmpeg'] = array( "mkv",
|
$p['t_files']['ffmpeg'] = array( "mkv",
|
||||||
"avi",
|
"avi",
|
||||||
"mpeg",
|
"mpeg",
|
||||||
@@ -83,6 +87,7 @@ $p['t_files']['ffmpeg'] = array( "mkv",
|
|||||||
"flv",
|
"flv",
|
||||||
"webm" );
|
"webm" );
|
||||||
|
|
||||||
|
// Use sips to generate thumbnails for these files
|
||||||
$p['t_files']['sips'] = array( "jpg",
|
$p['t_files']['sips'] = array( "jpg",
|
||||||
"jpeg",
|
"jpeg",
|
||||||
"tif",
|
"tif",
|
||||||
@@ -92,14 +97,33 @@ $p['t_files']['sips'] = array( "jpg",
|
|||||||
"png",
|
"png",
|
||||||
"heic" );
|
"heic" );
|
||||||
|
|
||||||
|
// Use sox to generate thumbnails for these files
|
||||||
$p['t_files']['sox'] = array( "flac",
|
$p['t_files']['sox'] = array( "flac",
|
||||||
"wav",
|
"wav",
|
||||||
"aif",
|
"aif",
|
||||||
"aiff" );
|
"aiff" );
|
||||||
|
|
||||||
// don't make thumbs for these files
|
// Don't make thumbnails for these files
|
||||||
$p['t_skip'] = array("emlx");
|
$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",
|
$p['m_files'] = array( "mkv",
|
||||||
"ogg",
|
"ogg",
|
||||||
"avi",
|
"avi",
|
||||||
@@ -125,6 +149,7 @@ $p['m_files'] = array( "mkv",
|
|||||||
"aiff",
|
"aiff",
|
||||||
"m2ts" );
|
"m2ts" );
|
||||||
|
|
||||||
|
// Run exiftool on these files
|
||||||
$p['e_files'] = array( "ai",
|
$p['e_files'] = array( "ai",
|
||||||
"aiff",
|
"aiff",
|
||||||
"ape",
|
"ape",
|
||||||
@@ -195,6 +220,7 @@ $p['e_files'] = array( "ai",
|
|||||||
"xmp",
|
"xmp",
|
||||||
"zip" );
|
"zip" );
|
||||||
|
|
||||||
|
// Ucase
|
||||||
foreach ($p['bundles'] as $bundle) { $p['nodescend'][] = "*.".$bundle; }
|
foreach ($p['bundles'] as $bundle) { $p['nodescend'][] = "*.".$bundle; }
|
||||||
foreach ($p['c_files'] as $ext) { $p['c_files'][] = strtoupper($ext); }
|
foreach ($p['c_files'] as $ext) { $p['c_files'][] = strtoupper($ext); }
|
||||||
foreach ($p['e_files'] as $ext) { $p['e_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']['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_files']['sips'] as $ext) { $p['t_files']['sips'][] = strtoupper($ext); }
|
||||||
foreach ($p['t_skip'] as $ext) { $p['t_skip'][] = 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); }
|
foreach ($p['p_files'] as $file) { $p['p_files'][] = strtoupper($file); }
|
||||||
|
|
||||||
?>
|
?>
|
||||||
Reference in New Issue
Block a user