[PhotoFloat] Spring cleaning (video, preloading, threading, updated JS-libraries, etc)

Tom Talpey tom at talpey.com
Thu Jun 4 15:46:33 CEST 2015

Looks like the scanner can't be interrupted with ^C with these patches.
The first interrupt throws an exception and scanning stops, but the
script doesn't exit. Subsequent interrupts throw another, but again, no

Otherwise, it's looking sweet! The 1600px thumbing and video conversion
take a lot of time on my poor little Atom server, but that's easily
solved (g).

Any chance you might look into implementing a file structure on the
cache? The single-directory approach is my main scalability issue with
the code. With (say) 20K photos, the directory ends up with over 120K
long-name entries, which causes quite a bit of processing delay just
for browsing. Would be soooo much nicer if the album tree structure
were used in the cache as well...

  On 6/3/2015 2:54 AM, Martin wrote:
> Great! I'm probably going to try it out today.
> On June 3, 2015 8:39:07 AM GMT+03:00, Dennis Ortsen <dortsen at gmail.com>
> wrote:
>>     Op 3 jun. 2015, om 05:23 heeft Antoine Beaupré
>>     <anarcat at orangeseeds.org <mailto:anarcat at orangeseeds.org>> het
>>     volgende geschreven:
>>     On 2015-06-02 19:25:07, Joachim Tingvold wrote:
>>>     Hi,
>>>     Did some spring cleaning on my photofloat-install. Until a few weeks
>>>     ago, I ran the pre-2014 version, with some few modifications
>>>     (threading,
>>>     preloading of images, larger thumbs, etc).
>>>     I primarily wanted the HTML5 video support (by Jerome), so I ended up
>>>     doing the following;
>>>      * updated to latest commit by Jason (January 2015)
>>>      * merged the HTML5-patch
>>>      * merged my own patches (threading of thumbs, preloading of images,
>>>     etc).
>>>      * updated all JavaScript libraries (including broken jQuery
>>>     Mousewheel)
>>>      * removed the Java-crap to minify .js/.css-files
>>>      * fixed simple script to minify using external service
>>>      * fixed threading when encoding video
>>>      * fixed minor things that didn't work after upgrading to Debian
>>>     Jessie
>>>     A fully working branch can be found here;
>>>     <http://git.jocke.no/photofloat/?h=patches>.
>>     Great work! I hope this can be merged upstream! :)
>     +1!
>>     a.

More information about the PhotoFloat mailing list