0.8.0.1
This commit is contained in:
@@ -16,6 +16,7 @@ $bin_pngquant = escapeshellarg(__DIR__."/bin/pngquant");
|
||||
$bin_parallel = escapeshellarg(__DIR__."/bin/parallel");
|
||||
$bin_convert = escapeshellarg(__DIR__."/bin/convert");
|
||||
$bin_flacicon = escapeshellarg(__DIR__."/bin/flacicon");
|
||||
$bin_flacdiricon = escapeshellarg(__DIR__."/bin/flacdiricon");
|
||||
|
||||
// System tools
|
||||
$bin_php = "php";
|
||||
@@ -245,4 +246,47 @@ foreach ($p['t_skip'] as $ext) { $p['t_skip'][] = strtoupper($ext); }
|
||||
foreach ($p['i_skip'] as $ext) { $p['i_skip'][] = strtoupper($ext); }
|
||||
foreach ($p['p_files'] as $file) { $p['p_files'][] = strtoupper($file); }
|
||||
|
||||
// Spotlight //////////////////////////////////////////
|
||||
|
||||
$mb['i'] = array( "PixelWidth",
|
||||
"PixelHeight",
|
||||
"Latitude",
|
||||
"Longitude",
|
||||
"DurationSeconds",
|
||||
"UseCount",
|
||||
"FSInvisible",
|
||||
"NumberOfPages",
|
||||
"PageHeight",
|
||||
"PageWidth",
|
||||
"TotalBitRate" );
|
||||
|
||||
$mb['t'] = array( "Title",
|
||||
"ContentType",
|
||||
"Creator",
|
||||
"FSCreatorCode",
|
||||
"Kind",
|
||||
"FSTypeCode" );
|
||||
|
||||
$mb['a'] = array( "UserTags",
|
||||
"WhereFroms",
|
||||
"EncodingApplications" );
|
||||
|
||||
$mb['d'] = array( "DateAdded",
|
||||
"LastUsedDate",
|
||||
"ContentModificationDate",
|
||||
"ContentCreationDate" );
|
||||
|
||||
$ibuild[] = ":pid, :spotlight";
|
||||
$cbuild[] = "pid TEXT, spotlight TEXT";
|
||||
foreach (array_merge($mb['i'],$mb['d']) as $item) {
|
||||
$cbuild[] = $item." INTEGER";
|
||||
$ibuild[] = ":".$item;
|
||||
}
|
||||
foreach (array_merge($mb['t'],$mb['a']) as $item) {
|
||||
$cbuild[] = $item." TEXT";
|
||||
$ibuild[] = ":".$item;
|
||||
}
|
||||
|
||||
unset($item);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user