Commit Graph

50 Commits

Author SHA1 Message Date
Cédric Leporcq 21ed551a54 Discard python 2.7 compatibility 2021-07-31 08:09:10 +02:00
Cédric Leporcq f181c618b3 Metadata changes are made in dest files instead of source files 2021-07-18 13:44:58 +02:00
Cédric Leporcq df0bf3c28e Fix tests 2021-07-18 13:44:58 +02:00
Cédric Leporcq da764e94e6 Change date taken behaviour and use datetime format 2021-07-18 13:44:57 +02:00
Evan Thomas b07d26c389 Fix issue that breaks elodie if coordinate from exiftool is empty #354 (#355) 2020-01-18 09:03:40 -08:00
Arian Maleki d8cee15f32 Optimize exiftool calls by adding an ExifTool singleton in pyexiftool library (#352)
This fix results in a 10x performance improvement [1] enabling a single exiftool subprocess to elimate spawing exiftool for each image.

Closes #350 #347 

[1] https://github.com/jmathai/elodie/issues/350#issuecomment-573412006
2020-01-13 23:04:33 -08:00
Jaisen Mathai 9ddb094ec7
Specify fully qualified path for exiftool program (#304) 2019-03-09 23:01:28 -08:00
Matt Carey 2e2c103cfb Fix issue #252 to not modify original source files on import (#272) 2019-02-04 14:20:39 -08:00
Jaisen Mathai 4cd91e9f2d
Add support for camera make and model in directory path #254 (#255) 2017-11-14 23:14:26 -08:00
Jaisen Mathai 15cfe61e03 Add tool to retroactively add OriginalFileName to all files in library #107 (#190) 2017-01-22 23:18:28 -08:00
Jaisen Mathai 0864f58a12 Add original file name methods to text and media class #186 (#187) 2017-01-22 00:19:44 -08:00
Jaisen Mathai a48a2edb62 Fix bug where zero value for latitude/longitude causes error gh-171 (#176) 2017-01-03 00:49:56 -08:00
ZSerg ad1cbefb15 PEP8 fix 2016-08-22 09:10:45 +03:00
zserg af36de091e Python 3 compartibility added 2016-08-21 17:58:13 +03:00
Jaisen Mathai 21b7c9fad1 gh-120 Update EXIF date taken tags to use EXIF:CreateDate and EXIF:ModifyDate 2016-06-24 00:49:40 -04:00
Jaisen Mathai cbfd39a20e gh-119 Use XMP-xmpDM:Album instead of user defined tag with fallback support 2016-06-24 00:34:51 -04:00
Jaisen Mathai cb38bf5176 Fix numerous flake8 warnings 2016-06-24 00:31:58 -04:00
Jaisen Mathai 6114328f32 gh-62 [WIP] Remove pyexiv2 and avmetareadwrite dependency 2016-06-22 15:45:30 -04:00
Jaisen Mathai 5a82de0da0
gh-100 Add support for text files and associated tests 2016-04-12 00:06:22 -07:00
Jaisen Mathai f234cb989d gh-93 Update media module to test for string before calling string functions 2016-03-23 00:25:27 -07:00
Jaisen Mathai ed127aa402 gh-93 Add tests for dng and nef files 2016-03-23 00:09:25 -07:00
Jaisen Mathai bd5a49d66c gh-89 Reapply album to video when updating EXIF via avmetareadwrite
Add failing test for when setting album then title reverts album
2016-03-14 21:39:40 -07:00
Jaisen Mathai e35e0ce471 gh-84 Added tests for invalid files with valid file extensions 2016-02-14 01:03:18 -08:00
zserg b686e7c228 LatLon removed 2016-02-12 22:22:26 +03:00
Jaisen Mathai 5204253ad2 gh-82 Fix notifications from flake8 and add mock module to requirements.txt 2016-02-11 15:24:42 -08:00
zserg 582d609023 windows timezone problem in filesystem test fixed 2016-01-27 18:28:18 +04:00
zserg 6e6f88c336 some fixes in subprocess.Popen args for windows/linux support 2016-01-27 15:54:56 +03:00
zserg 91e886163e core and photo_tests fixed 2016-01-26 22:01:05 +03:00
Nathan Ostgard cfe82012b0 gh-70 Adding Sphinx docs 2016-01-09 09:44:39 -08:00
Nathan Ostgard fa217e933b Added friendly errors when dependencies are not installed 2016-01-07 22:19:22 -08:00
Fabrice Laporte b01b611d26 fix pyflakes warnings reported in non-test files 2016-01-02 18:34:43 +01:00
Jaisen Mathai 60c4acc1b3 gh-58 Fix all pep8 issues reported in non-test files 2016-01-01 23:25:59 -08:00
Jaisen Mathai d4dde66375 Closes gh-36 Fix bug with old references to `Media.photo_extensions` and `Media.video_extensions` 2015-12-18 20:08:12 -08:00
Jaisen Mathai fe160bb175 gh-28 Add no-exif file for tests and add test cases 2015-12-01 01:03:00 -08:00
Jaisen Mathai 19f40c0b56 gh-29 Refactor Media module by moving methods to Photo module 2015-12-01 01:03:00 -08:00
Jaisen Mathai 3442f2cc46 gh-16 Add --album-from-folder parameter to elodie.py and media.set_album_from_folder method 2015-12-01 01:03:00 -08:00
Jaisen Mathai 47627df3ad Closes gh-4 Check for image type using imghdr module 2015-12-01 01:03:00 -08:00
Jaisen Mathai c362c8b0b6 gh-2 Roll back calling set_date_taken from within get_date_taken and apply stat times back to file when adding album 2015-12-01 00:39:05 -08:00
Jaisen Mathai f67314f6bc gh-2 Write to EXIF from earlier of modified or access time if no date is found in EXIF 2015-11-29 22:01:27 -08:00
Jaisen Mathai a7aee65ca0 Add initial screen to add config information 2015-11-19 02:31:32 -08:00
Jaisen Mathai 4b5a736e6f Working electron app bundle 2015-11-02 02:11:53 -08:00
Jaisen Mathai bc156a0577 Changes to get updating title and reflecting it in the file name to work.
* Cache metadata when calling get_metadata()
* Removing old title from filename (if set) so we do not end up appending multiple titles in the file name.
2015-10-29 01:12:52 -07:00
Jaisen Mathai 62f6e56bdb Add support for reading/writing titles for photos and videos 2015-10-28 00:19:21 -07:00
Jaisen Mathai b69f06b498 Remove exiftool backup file 2015-10-26 02:06:48 -07:00
Jaisen Mathai b372cde326 Get album updates working for all file types 2015-10-20 23:51:14 -07:00
Jaisen Mathai 8221e3c020 Add video geotagging support using avmetareadwrite on OS X 2015-10-20 01:17:09 -07:00
Jaisen Mathai 82ff1da944 Updated time parsing to work with different formats 2015-10-14 21:27:42 -07:00
Jaisen Mathai 5316261b7d Refactor code to use pyexiv2 for photos and videos and move methods out to Media class 2015-10-14 00:39:30 -07:00
Jaisen Mathai ad62b0d61d Added FileSystem.process_file and adjust.py 2015-10-13 20:30:30 -07:00
Jaisen Mathai edb21d5e31 Subclass Video to parent Media class 2015-10-06 23:47:51 -07:00