Commit Graph

75 Commits

Author SHA1 Message Date
Markus Pawlata
37371fc962 compatibility fix for the fake iterator in ProcessWrapper 2019-07-14 02:08:57 +02:00
Markus Pawlata
6a0424b766 - seriously refactored so imports hurt less
- changed imports to python3
2019-07-14 01:20:35 +02:00
Markus Pawlata
d10da55654 Updated readme, changes to sample to match, some smaller fixes 2018-12-10 23:51:38 +01:00
Markus Pawlata
f79eda5ec6 Small fix for video timestamps, refactored PhotoaAlbum.py & added reference for xwipe 2018-12-08 20:57:41 +01:00
Markus Pawlata
d9a96b827f Added swiping on mobile, fixed index.html, small changes to css 2018-12-07 01:35:40 +01:00
Markus Pawlata
4961c398a5 fixed error in refactoring, changed auth-system to multi token, cleanup after major change 2018-12-05 01:10:40 +01:00
Markus Pawlata
48bf325d77 pep8'd what I could, including tabs to spaces 2018-11-30 01:28:24 +01:00
Markus Pawlata
a45ecc76b0 Added requirements.txt for a possible virtualenv 2018-11-30 00:26:38 +01:00
Markus Pawlata
23900670ca Restored local js/css processing, removed superfluous .gitignore files, removed htacces-files, moved sample config to sample files 2018-11-30 00:12:11 +01:00
Joachim Tingvold
3b9f64b057 Fixed logical error after introducing timestamp of videos from
EXIF data. Previous logic dictated that all timestamps should
live within attribute name starting with "dateTime", which caused
issues when re-scanning an album (complaining about corrupt cache).
Renamed variable and all is good.
2018-11-15 01:40:22 +01:00
Joachim Tingvold
6029f92aad Scale videos properly. Previously there was an issue with vertical
or squared videos bigger than 720 pixels high. Also sets timestamp
for videoCreateDate even if nothing is found. Done to avoid cache
corruption when walking the albums.
2018-11-11 05:54:57 +01:00
Joachim Tingvold
5cbc3f31e3 Use other timestamp for videos.
Easier to manipulate timestamp via exiftool this way.
2018-11-11 04:22:15 +01:00
Jason A. Donenfeld
1a2b14bb47 More python insanity 2015-11-10 21:15:25 +01:00
Joachim Tingvold
05475b6ed0 Fix issue with transcoding old MJPEG-movies. 2015-07-07 14:33:16 +02:00
Joachim Tingvold
0e258a46dc Don't crash when unable to unlink 2015-06-17 20:41:38 +02:00
Joachim Tingvold
49b4667703 Added comment. 2015-06-17 20:35:14 +02:00
Joachim Tingvold
9a15b2c2c0 Be totally quiet. Overwrite thumbs. 2015-06-17 20:10:50 +02:00
Joachim Tingvold
52e025b07d Use H264 (rather than webm)
Primarily done to support IE and Safari.
2015-06-17 17:30:35 +02:00
Joachim Tingvold
fa5f0c1fcd Re-create thumbs/transcodes if deleted.
Previously thumbs/transcodes were only created if mtime() of
the file didn't match what was stored in the json-file. If you
deleted a thumb/transcode from the cache_path, it would not be
re-created unless you modify the mtime() of the original files
(in album_path).
2015-06-17 14:49:55 +02:00
Joachim Tingvold
ec0828e610 Merge updates from 'master' 2015-06-06 06:55:18 +02:00
Joachim Tingvold
37b63f2a4a Kill pool if interrupted/error. 2015-06-06 06:45:22 +02:00
Joachim Tingvold
a169bafdd8 Fix args passed to videotool. Fixed video.
Encodes at 4Mbps with multiple cores.
2015-06-02 23:13:26 +02:00
Joachim Tingvold
3bdcd1cc66 Handle TypeError. exif{}-date is already datetime. 2015-06-02 20:28:28 +02:00
Jason A. Donenfeld
f5696cb075 Allow masking directories by twiddling permissions. 2015-05-26 14:55:09 +02:00
Joachim Tingvold
1b2cde7661 Correct order of arguments. 2015-05-05 00:39:26 +02:00
Joachim Tingvold
50ab2143ec Heh :-D 2015-05-05 00:12:40 +02:00
Joachim Tingvold
ff7e540eb8 Thumbnail-method for both photo and video. 2015-05-05 00:08:37 +02:00
Joachim Tingvold
80bb5258d6 If tool fails, it would not continue. 2015-05-04 23:57:27 +02:00
Joachim Tingvold
ac52f76025 First attempt at merging video-patch. 2015-05-04 19:46:58 +02:00
Joachim Tingvold
6e4fe49d50 Updated master, merging into patches. 2015-05-04 17:45:03 +02:00
Jason A. Donenfeld
54c68be7fd Don't crash when unable to unlink 2015-01-27 15:18:27 +01:00
Jason A. Donenfeld
148b88951d Don't deal with invalid unicode 2015-01-27 14:39:44 +01:00
Jason A. Donenfeld
61aabc7ee2 Copy and paste error 2015-01-25 14:21:04 +01:00
Jason A. Donenfeld
7d2528280b Python unicode is awful 2015-01-19 13:08:45 +01:00
Jason A. Donenfeld
2b8918dd7c Return proper date type. 2014-08-25 22:37:46 +02:00
Jerome Charaoui
d5c9f54b34 Convert Exif dateTime[Original] attributes to datetime type to fix comparison with dateTimeFile 2014-08-15 20:46:23 -04:00
Joachim Tingvold
a7192297df Indents (-: 2014-03-16 15:19:52 +01:00
Joachim Tingvold
dee0ab294f Use threading to make thumbs in parallel.
Known bug: interrupt makes it go crazy.
2014-03-16 15:17:13 +01:00
Joachim Tingvold
c9ce27eb87 Add 1600px size. Remove unused 800px size. 2014-03-16 15:03:54 +01:00
Jason A. Donenfeld
ba69da0fde Send admin password, not admin username. 2014-03-14 11:32:19 +01:00
Jason A. Donenfeld
d33715066a Restructuring
Import flask app as well as new makefile and entirely new directory
structure.
2014-03-12 17:28:59 -06:00
Jerome Charaoui
52667388e9 Fix caching of top-level items 2014-02-13 23:28:59 -05:00
Jerome Charaoui
213fd2ffc7 Support libav for video processing 2014-01-29 18:11:25 -05:00
Jerome Charaoui
1bb130d37b Fix testing for duration in video metadata 2013-12-22 21:40:48 -05:00
Jerome Charaoui
2df2730cd3 Read metadata from previously transcoded video (must account for rotation and/or downscaling) 2013-12-22 21:09:05 -05:00
Jerome Charaoui
0d35832b21 Handle video metadata correctly 2013-12-22 20:33:43 -05:00
Jerome Charaoui
0443b99492 If thumbing or transcoding fails, invalidate entry. 2013-12-21 20:46:56 -05:00
Jerome Charaoui
6f482f8f78 Add support for videos using ffmpeg for transcoding to webm format and HTML5 video tag. 2013-12-21 00:42:23 -05:00
Jason A. Donenfeld
0cf87e26de Force system encoding to be UTF-8. 2012-08-22 17:10:56 +02:00
Jason A. Donenfeld
ba72d7c8b7 Make sure to use right encoding for initial UTF-8 path. 2012-06-22 17:54:53 +02:00