added buldcache to process-archive.sh (still ugly)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-08-02 01:25:28 +04:00
parent 88d3a3accf
commit 312f14b921
3 changed files with 22 additions and 3 deletions

View File

@ -95,6 +95,14 @@ if [[ $ARCHIVE_ROOT == "." ]] ; then
# XXX do different-sized previews...
makepreview "$SIZE" "./$FROM" "./$TO"
done
# pre-build cache...
for p in */DCIM/preview\ \(RAW\)/ ; do
if ! [ -e "./$p" ] ; then
continue
fi
buildcache "./$p"
done
else
for FROM in ./DCIM/hi-res\ \(RAW\)/*jpg ; do
TO="${FROM/hi-res\ /preview }"
@ -102,6 +110,14 @@ else
# XXX do different-sized previews...
makepreview "$SIZE" "./$FROM" "./$TO"
done
# pre-build cache...
for p in ./DCIM/preview\ \(RAW\)/ ; do
if ! [ -e "./$p" ] ; then
continue
fi
buildcache "./$p"
done
fi

View File

@ -2,7 +2,7 @@
#=======================================================================
__version__ = '''0.1.12'''
__sub_version__ = '''20130714221612'''
__sub_version__ = '''20130801195557'''
__copyright__ = '''(c) Alex A. Naanou 2003'''
@ -64,7 +64,10 @@ setup(
include_package_data = True,
packages = [],
py_modules = ['buildcache'],
py_modules = [
'buildcache',
'gid',
],
entry_points = {
'console_scripts': [

View File

@ -483,7 +483,7 @@ var FIELD_TYPES = {
field.find('.path').val(p[0].path)
}
file.detach()
// focus+select the path...
// focus+select the path field...
// NOTE: this is here to enable fast select-open
// keyboard cycle (tab, enter, <select path>,
// enter, enter)...