This commit is contained in:
2019-10-15 20:09:49 -07:00
parent 3ca3ef2685
commit f297d9d846
7 changed files with 36 additions and 33 deletions

View File

@@ -94,20 +94,22 @@ $p['t_files']['ffmpeg'] = array( "mkv",
"webm" );
// Use sips to generate thumbnails for these files
$p['t_files']['sips'] = array( "jpg",
"jpeg",
"tif",
"tiff",
"gif",
"psd",
"png",
"heic",
"pdf",
"ai",
"ps",
"bmp",
"pict",
"jp2" );
// SIPS does not currently support JPEG Orientation EXIF Tag,
// so images will sometimes appear sideways
//$p['t_files']['sips'] = array( "jpg",
// "jpeg",
// "tif",
// "tiff",
// "gif",
// "psd",
// "png",
// "heic",
// "pdf",
// "ai",
// "ps",
// "bmp",
// "pict",
// "jp2" );
// Use sox to generate thumbnails for these files
$p['t_files']['sox'] = array( "flac",
@@ -238,7 +240,7 @@ foreach ($p['c_files'] as $ext) { $p['c_files'][] = strtoupper($ext); }
foreach ($p['e_files'] as $ext) { $p['e_files'][] = strtoupper($ext); }
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_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['i_skip'][] = strtoupper($ext); }
foreach ($p['p_files'] as $file) { $p['p_files'][] = strtoupper($file); }