Commit Graph

431 Commits

Author SHA1 Message Date
Cédric Leporcq 9dfb870704 Fix get_path, get_part and change get_date_from_string functions 2021-08-13 19:45:49 +02:00
Cédric Leporcq 38794cd41d Fix load config 2021-08-13 19:45:49 +02:00
Cédric Leporcq 308c1eef5c Drop plugin support 2021-08-13 19:45:49 +02:00
Cédric Leporcq 62bd72c77e Fix logger 2021-08-13 19:45:49 +02:00
Cédric Leporcq bfada5e740 Fix load path definition 2021-08-13 19:45:49 +02:00
Cédric Leporcq a88a62d155 Change python exiftool wrapper to RhetTbull implementation 2021-08-13 19:45:49 +02:00
Cédric Leporcq 71f0ecaba1 Add RhetTbull python exiftool wrapper 2021-08-13 19:45:49 +02:00
Cédric Leporcq 144e8f428c Change license to GPLv3.0 2021-08-13 19:45:49 +02:00
Cédric Leporcq 58927d0e4d move elodie tests to old_tests 2021-08-13 19:45:49 +02:00
Cédric Leporcq b2b6a9c170 Move elodie code base to dozo and various fix 2021-08-13 19:45:49 +02:00
Cédric Leporcq 9f6eb52ebc Change file paths definitions and parsing 2021-07-31 22:08:26 +02:00
Cédric Leporcq b4a8cc88cb Add compare command 2021-07-31 22:08:26 +02:00
Cédric Leporcq 1de9e963aa Add --max-deep option 2021-07-31 22:08:26 +02:00
Cédric Leporcq 562ac26345 Add --keep-folders option 2021-07-31 22:08:26 +02:00
Cédric Leporcq eba6fc991b Add --ignore-tags option 2021-07-31 22:08:21 +02:00
Cédric Leporcq 98f4947917 Add --filter-by-ext option 2021-07-31 22:06:54 +02:00
Cédric Leporcq 2e84888c59 Add day_begins config option 2021-07-31 22:06:54 +02:00
Cédric Leporcq fc1f4343b0 Add sort command 2021-07-31 22:06:33 +02:00
Cédric Leporcq f25b8ccd99 Move samples files to sample dir 2021-07-31 08:09:10 +02:00
Cédric Leporcq de1dacc837 Various fix 2021-07-31 08:09:10 +02:00
Cédric Leporcq e9a79d39c5 Fix tests according to code changes 2021-07-31 08:09:10 +02:00
Cédric Leporcq 3af848a162 Change get_all_files behaviour 2021-07-31 08:09:10 +02:00
Cédric Leporcq cb8a4cd24e Refactoring media class 2021-07-31 08:09:10 +02:00
Cédric Leporcq 6b2d2b31c3 Add dry-run action 2021-07-31 08:09:10 +02:00
Cédric Leporcq 04f2ac6738 Change hash_db and location_db storage location to target directory 2021-07-31 08:09:10 +02:00
Cédric Leporcq 21ed551a54 Discard python 2.7 compatibility 2021-07-31 08:09:10 +02:00
Cédric Leporcq 0363fd4302 Add %folder tag 2021-07-18 13:44:58 +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 5e026e68ee Move tests dir to root project folder 2021-07-18 13:44:58 +02:00
Cédric Leporcq 8bc8b6c5c4 Drop textfile support 2021-07-18 13:44:57 +02:00
Cédric Leporcq da764e94e6 Change date taken behaviour and use datetime format 2021-07-18 13:44:57 +02:00
Cédric Leporcq d2ecd0ed3d use geopy lib and use Nominatum as default geocoder 2021-07-18 13:37:05 +02:00
Cédric Leporcq 42b1f4ecd4 load config as global variable 2021-06-18 06:51:30 +02:00
Jaisen Mathai 33649319a4
Remove automated tests from running on python 2.7 #392 (#401) 2021-03-03 01:28:13 -08:00
Jaisen Mathai fc37a1ed11
Update requirements.txt to install Pillow version based on python_version and upgrade six to 1.9 (#394)
Fixes build error from changes to pip dependency resolution (#393).
2020-12-23 23:31:00 -08:00
Jaisen Mathai a49c449417
Create FUNDING.yml 2020-12-16 23:14:10 -08:00
Jaisen Mathai 3e192151ed
Update readme to include animated gif to show how photos get organized. (#389) 2020-11-25 01:42:22 -08:00
Adam Candy 4186d4309a
Update Readme to include %extension when customizing file name #367 (#368) 2020-11-11 22:05:06 -08:00
Jaisen Mathai df7ceeec87
Add support for town when resolving location name #386 (#387) 2020-10-23 00:48:19 -07:00
Jaisen Mathai ed4b58aa0d
Add support for PNG photos. #361 (#383) 2020-10-09 00:55:14 -07:00
Jaisen Mathai 579d94c7af
Update python to 3.8 for travis (#381)
Fixes unstable/broken tests.
2020-08-09 02:34:44 -07:00
auenkind 7d77d55750
Add Quicktime:CreateDate to list of EXIF fields to check for video files (#375) 2020-04-26 16:18:23 -07:00
Pierre Buyle 8e95b96e11
Add 'six' package to requirements.txt for systems which do not include it (#362) 2020-03-31 22:53:07 -07:00
Arian Maleki afacb969e8
Enhance filesystem.process_file get_metadata cache performance. (#353)
Reduce exiftool calls by using a metadata object cache. 
Enable single exiftool subprocess to elimate spawing exiftool for each image.
2020-02-24 15:46:02 -08: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
Michael Wong 75e65901a9 Add --exclude-regex parameter to exclude directories on import #340 (#342)
The `--exclude-regex` parameter and `[Exclusions]` config section lets you pass in a regular expression to match against file source file paths and ignore.
2019-10-27 20:19:51 -07:00
Jaisen Mathai 3ad6c0db35
Fix issue where photos without EXIF were not using the correct date for folder or file names #330 (#331)
Fixes #330

Fixes a bug in the code where media.set_original_name() would set the mtime of a photo and then use the newly set mtime for generating the folder and file name.
2019-07-29 23:51:10 -07:00
Jaisen Mathai 6a4c21fc57
Fix an exception that is raised when creating a media item in Google Photos fails #328 (#329)
Fixes #328

When creating a new media item for Google Photos fails it does not return newMediaItemResults in the body. The code checks for this but then returns the key which it verified does not exist.

This change returns the entire response body in its entirety.
2019-07-24 00:50:02 -07:00