Jaisen Mathai
a66fc7ca41
gh-31 Remove raise SkipTest for geolocation tests due to precision loss
2016-03-23 09:35:32 -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
510d81e142
Update Readme files to include links and information about GUI app
2016-03-20 00:46:31 -07:00
Jaisen Mathai
482f3d4de4
Fix syntax errors reported by flake8
2016-03-14 21:54:06 -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
Nathan Ostgard
bbd3cdacc0
Added a Dockerfile
2016-03-01 18:53:20 -08:00
Craig Davison
1b1725fd8b
Add .mpg and .mpeg to valid video file extensions
2016-02-14 17:41:13 +00:00
Jaisen Mathai
e35e0ce471
gh-84 Added tests for invalid files with valid file extensions
2016-02-14 01:03:18 -08:00
Aaron Barnes
63ead49bcb
gh-84 Do not attempt to process an invalid file
2016-02-14 21:28:13 +13: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
0d154d67c9
Accepted-Language is moved to constants. TZ fix functions is moved to helper
2016-01-28 21:30:13 +03:00
zserg
70724d59ac
Accepted-language is set to English to prevent Unocode issues in the location response from openmapquest
2016-01-27 22:37:29 +03:00
zserg
215e95149c
gui app for windows fix (v1)
2016-01-27 19:27:12 +04: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
718d8c1306
gh-76 Split up general requirements and test requirements
2016-01-17 23:58:27 -08:00
Jaisen Mathai
c55b14e6c4
gh-74 Check for existing EXIF field before writing and create if needed. Add test case.
2016-01-12 20:48:58 -08:00
Nathan Ostgard
c536a088e4
gh-27 Fix unicode title test
2016-01-11 08:59:46 -08:00
Jaisen Mathai
ec03387c89
gh-70 Add # noqa to dependencies.py for pyexiv2 import
2016-01-09 11:44:24 -08: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
Nathan Ostgard
e56bc9722b
gh-65 Fix files with empty extensions being detected as audio files
2016-01-07 17:10:55 -08:00
Jaisen Mathai
8971ae4cea
gh-40 Fix flake8 warnings
2016-01-04 01:07:59 -08:00
Jaisen Mathai
8e3e5d63f5
Merge pull request #59 from Kraymer/master
...
Fix pyflakes warnings reported in non-test files. gh-40
2016-01-05 09:58:57 -08:00
Fabrice Laporte
edb94afbda
empty media/__init__.py
2016-01-04 23:50:44 +01:00
Jaisen Mathai
4b90d322d9
gh-61 Mark geolocation test for audio as "skip" because they fail on TravisCI
2016-01-03 23:26:01 -08:00
Jaisen Mathai
58f0fadc07
gh-61 Add support for audio (m4a) files and accompanying tests
2016-01-03 22:10:56 -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
86efec0786
gh-52 Add cache lookup by name and include in ./elodie.py update command
2015-12-29 00:07:50 -08:00
Jaisen Mathai
f8c4f35923
gh-47 Add tests for localstorage module including new geolocation database functions
2015-12-28 00:42:18 -08:00
Zingo Andersen
8b30107a3e
Add geolocation cache for distances below 3km
...
By reusing lookup's the server need to be contacted a lot less
Aslo names get a bit clustered and match together a bit better.
2015-12-27 23:50:07 -08:00
zserg
0c3cfa8e47
@jmathai suggestion to improve the code readability
2015-12-27 23:40:20 -08:00
zserg
75e1f6180c
fix problem with negative (South) Latitude
2015-12-27 23:40:20 -08:00
zserg
d089b05cf0
tests added for inverted lattitude/logitude
2015-12-27 23:40:20 -08:00
Jaisen Mathai
c9d7bc7102
Closes gh-50 Add unsigned option to `geolocation.decimal_to_dms` function and call with `False` from photo.py
2015-12-27 00:10:19 -08:00
Jaisen Mathai
7a6931d34c
Closes gh-38 Add import for constants module in photo.py
2015-12-20 00:31:03 -08:00
Jaisen Mathai
f1787d5a16
Closes gh-31 Fix decimal to degree, minute, second conversion by making seconds more precice and supporting negative values
2015-12-19 00:05:05 -08:00
Jaisen Mathai
c4e817bde8
gh-31 Add test to check for conversion from decimal to degrees, minutes, seconds
2015-12-19 00:05:05 -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
a7f17b8983
gh-32 Skip test while we figure out why it fails on TravisCi
2015-12-01 01:03:00 -08:00
Jaisen Mathai
c14055698f
gh-28 Add title back to test photos which were removed by Photoshop when modifying
2015-12-01 01:03:00 -08:00
Jaisen Mathai
339ea13692
gh-22 Add more verbosity in output for failed test in FileSystem module
2015-12-01 01:03:00 -08:00
Jaisen Mathai
232ebb10db
Closes gh-30 Add unit tests for Video module
2015-12-01 01:03:00 -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
752697fca8
gh-31 Skip test that fails due to loss of precision when converting from decimal to dms
2015-12-01 01:03:00 -08:00
Jaisen Mathai
3c4362e709
gh-22 Add __init__.py files so nosetests -w recursively runs tests
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
300c9c794d
gh-29 Add unit tests for Media module
2015-12-01 01:03:00 -08:00
Jaisen Mathai
56b9e7484d
gh-28 Refactor Photo module to support unit tests
2015-12-01 01:03:00 -08:00
Jaisen Mathai
32360fa3fa
gh-27 Add unit test for non-ascii title characters and mark as skipped
2015-12-01 01:03:00 -08:00
Jaisen Mathai
7375d392af
gh-28 Add tests for Photo module
2015-12-01 01:03:00 -08:00
Jaisen Mathai
1713206368
gh-21 Refactor filesystem test by moving helper functions into a module
2015-12-01 01:03:00 -08:00
Jaisen Mathai
41c9446a9a
gh-21 Add checksum assertions to ensure that FileSystem.file_process does not modify file
2015-12-01 01:03:00 -08:00
Jaisen Mathai
3a916aa589
Closes gh-21 Add all tests for FileSystem class and test photo files
2015-12-01 01:03:00 -08:00
Jaisen Mathai
0a72ef481e
gh-21 Initial unit tests for FileSystem.create_directory method
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
67a47db73d
gh-2 Write time to EXIF for videos if only available from the file properties (modified/access)
2015-11-28 23:58:20 -08:00
Jaisen Mathai
a7aee65ca0
Add initial screen to add config information
2015-11-19 02:31:32 -08:00
Jaisen Mathai
a252a29c6b
Add import support
2015-11-03 01:38:53 -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
258fea6090
Using plistlib to write to plist file for avmetareadwrite
2015-10-21 18:40:50 -07:00
Jaisen Mathai
b372cde326
Get album updates working for all file types
2015-10-20 23:51:14 -07:00
Jaisen Mathai
cf2f6096b5
Removing debug code from plist method
2015-10-20 02:01:43 -07:00
Jaisen Mathai
88ce6627d4
Fix logic for checking metadata of temporary movie before copying over source file
2015-10-20 01:30:22 -07:00
Jaisen Mathai
8221e3c020
Add video geotagging support using avmetareadwrite on OS X
2015-10-20 01:17:09 -07:00
Jaisen Mathai
0f7bfd9f23
Restore "Unknown Location" folder
2015-10-16 23:08:48 -07:00
Jaisen Mathai
f86932df29
Implement `touch` if hash db file does not exist
2015-10-14 23:40:40 -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
c47c043e76
Use absolute path for config file so it works with apps like Hazel
2015-10-12 19:40:20 -07:00
Jaisen Mathai
3ac3b1a624
Remove filename prefix from prior run if it exists
2015-10-12 19:39:58 -07:00
Jaisen Mathai
7408a860d9
Add EXIF support for video files
2015-10-12 00:37:57 -07:00
Jaisen Mathai
866e4dd6d3
Update import.py to handle videos and photos. Add geolocation and constants. And more
2015-10-10 00:02:53 -07:00
Jaisen Mathai
c9d52aaa59
Initial version of photo importer
2015-10-08 02:22:30 -07:00
Jaisen Mathai
6b91c06a51
Add geolocation lookup
2015-10-08 02:21:31 -07:00
Jaisen Mathai
b7984dff0f
Add initial Photo class
2015-10-07 01:48:01 -07:00
Jaisen Mathai
edb21d5e31
Subclass Video to parent Media class
2015-10-06 23:47:51 -07:00
Jaisen Mathai
0d471e0b4f
Add arguments module and turn import.py into proper script with arguments
2015-10-06 22:35:11 -07:00
Jaisen Mathai
a03c9c1d42
Update crawl script and FileSystem/Video classes to support proper naming and organizing
2015-10-06 01:28:00 -07:00
Jaisen Mathai
6232810f42
Add comments to video and filesystem classes
2015-10-04 23:36:06 -07:00
Jaisen Mathai
f435eaabe6
Add method to recursively get files and implemented for videos
2015-10-04 23:10:46 -07:00
Jaisen Mathai
f276d37e7f
Initial Commit of working files
2015-10-02 00:23:13 -07:00