parent
e8da4bd39d
commit
e356a8c2d9
|
@ -11,7 +11,7 @@ use OCP\IConfig;
|
||||||
class Exif
|
class Exif
|
||||||
{
|
{
|
||||||
private const FORBIDDEN_EDIT_MIMES = ['image/bmp', 'image/x-dcraw', 'video/MP2T'];
|
private const FORBIDDEN_EDIT_MIMES = ['image/bmp', 'image/x-dcraw', 'video/MP2T'];
|
||||||
private const EXIFTOOL_VER = '12.50';
|
private const EXIFTOOL_VER = '12.58';
|
||||||
private const EXIFTOOL_TIMEOUT = 30000;
|
private const EXIFTOOL_TIMEOUT = 30000;
|
||||||
private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-U', '-json', '--b'];
|
private const EXIFTOOL_ARGS = ['-api', 'QuickTimeUTC=1', '-n', '-U', '-json', '--b'];
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
exifver="12.50"
|
exifver="12.58"
|
||||||
|
|
||||||
rm -rf exiftool-bin
|
rm -rf exiftool-bin
|
||||||
mkdir -p exiftool-bin
|
mkdir -p exiftool-bin
|
||||||
|
@ -17,7 +17,7 @@ chmod 755 *
|
||||||
wget -q "https://github.com/exiftool/exiftool/archive/refs/tags/$exifver.zip"
|
wget -q "https://github.com/exiftool/exiftool/archive/refs/tags/$exifver.zip"
|
||||||
unzip -qq "$exifver.zip"
|
unzip -qq "$exifver.zip"
|
||||||
mv "exiftool-$exifver" exiftool
|
mv "exiftool-$exifver" exiftool
|
||||||
rm -rf *.zip exiftool/t exiftool/html
|
rm -rf *.zip exiftool/t exiftool/html exiftool/windows_exiftool
|
||||||
chmod 755 exiftool/exiftool
|
chmod 755 exiftool/exiftool
|
||||||
|
|
||||||
govod="0.0.34"
|
govod="0.0.34"
|
||||||
|
|
Loading…
Reference in New Issue