mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
added buldcache to process-archive.sh (still ugly)...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
88d3a3accf
commit
312f14b921
@ -95,6 +95,14 @@ if [[ $ARCHIVE_ROOT == "." ]] ; then
|
|||||||
# XXX do different-sized previews...
|
# XXX do different-sized previews...
|
||||||
makepreview "$SIZE" "./$FROM" "./$TO"
|
makepreview "$SIZE" "./$FROM" "./$TO"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# pre-build cache...
|
||||||
|
for p in */DCIM/preview\ \(RAW\)/ ; do
|
||||||
|
if ! [ -e "./$p" ] ; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
buildcache "./$p"
|
||||||
|
done
|
||||||
else
|
else
|
||||||
for FROM in ./DCIM/hi-res\ \(RAW\)/*jpg ; do
|
for FROM in ./DCIM/hi-res\ \(RAW\)/*jpg ; do
|
||||||
TO="${FROM/hi-res\ /preview }"
|
TO="${FROM/hi-res\ /preview }"
|
||||||
@ -102,6 +110,14 @@ else
|
|||||||
# XXX do different-sized previews...
|
# XXX do different-sized previews...
|
||||||
makepreview "$SIZE" "./$FROM" "./$TO"
|
makepreview "$SIZE" "./$FROM" "./$TO"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# pre-build cache...
|
||||||
|
for p in ./DCIM/preview\ \(RAW\)/ ; do
|
||||||
|
if ! [ -e "./$p" ] ; then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
buildcache "./$p"
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
7
setup.py
7
setup.py
@ -2,7 +2,7 @@
|
|||||||
#=======================================================================
|
#=======================================================================
|
||||||
|
|
||||||
__version__ = '''0.1.12'''
|
__version__ = '''0.1.12'''
|
||||||
__sub_version__ = '''20130714221612'''
|
__sub_version__ = '''20130801195557'''
|
||||||
__copyright__ = '''(c) Alex A. Naanou 2003'''
|
__copyright__ = '''(c) Alex A. Naanou 2003'''
|
||||||
|
|
||||||
|
|
||||||
@ -64,7 +64,10 @@ setup(
|
|||||||
include_package_data = True,
|
include_package_data = True,
|
||||||
|
|
||||||
packages = [],
|
packages = [],
|
||||||
py_modules = ['buildcache'],
|
py_modules = [
|
||||||
|
'buildcache',
|
||||||
|
'gid',
|
||||||
|
],
|
||||||
|
|
||||||
entry_points = {
|
entry_points = {
|
||||||
'console_scripts': [
|
'console_scripts': [
|
||||||
|
|||||||
2
ui/ui.js
2
ui/ui.js
@ -483,7 +483,7 @@ var FIELD_TYPES = {
|
|||||||
field.find('.path').val(p[0].path)
|
field.find('.path').val(p[0].path)
|
||||||
}
|
}
|
||||||
file.detach()
|
file.detach()
|
||||||
// focus+select the path...
|
// focus+select the path field...
|
||||||
// NOTE: this is here to enable fast select-open
|
// NOTE: this is here to enable fast select-open
|
||||||
// keyboard cycle (tab, enter, <select path>,
|
// keyboard cycle (tab, enter, <select path>,
|
||||||
// enter, enter)...
|
// enter, enter)...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user