Commit Graph

55 Commits

Author SHA1 Message Date
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
48bf325d77 pep8'd what I could, including tabs to spaces 2018-11-30 01:28:24 +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
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
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
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
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
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
120b8846b7 Higher quality thumbs. 2012-04-22 19:20:54 +02:00
Jason A. Donenfeld
836503156d Sometimes exif strings are null terminated, and python imagining library doesn't deal with that for us. 2012-03-29 15:42:53 +02:00
Jason A. Donenfeld
725cb85cdb Add more exif types, thanks to the imageinfo javascript plugin in some random google chrome demo extension. 2011-06-27 17:12:59 -04:00
Jason A. Donenfeld
4609fb54e8 Better output on scanner. 2011-05-23 05:25:45 -04:00
Jason A. Donenfeld
fb01d666b8 Guard the string lookups better. 2011-05-09 18:08:07 -04:00
Jason A. Donenfeld
6d75a3ed64 To work around Espen's corrupted image bug, we simply try to copy the image twice. The second time will usually work, unless the file is totally borked. 2011-05-09 09:33:30 -04:00
Jason A. Donenfeld
68a1f42e34 Final tweeks. 2011-05-07 07:42:34 -04:00
Jason A. Donenfeld
e3e8e3297d Meta data consolidation. 2011-05-07 03:42:44 -04:00
Jason A. Donenfeld
e87fe0a96c Fix dem bugs. 2011-05-07 03:12:20 -04:00
Jason A. Donenfeld
47a1e12c2c More case bugs. 2011-05-07 03:05:54 -04:00
Jason A. Donenfeld
d51f298102 Date time bug. 2011-05-07 03:00:06 -04:00
Jason A. Donenfeld
07369da4aa Proper metadata support. 2011-05-07 02:56:54 -04:00
Jason A. Donenfeld
8bd9d1519e LIl things. 2011-05-06 22:48:09 -04:00
Jason A. Donenfeld
2e017d0df3 Polishing... 2011-05-06 21:12:51 -04:00
Jason A. Donenfeld
b16b6eee02 Better centering. Fix album sorted bug. 2011-05-06 08:38:15 -04:00
Jason A. Donenfeld
40fbd49442 Do 800 too. 2011-05-06 07:58:11 -04:00