Commit Graph

38 Commits

Author SHA1 Message Date
Denis e5af0dfb4e Implements prefer english names setting for MapQuest API in config.ini (#290)
Implements prefer english names setting in config.ini which adds English as accepted header to MapQuest requests and results in the response location names being mostly in English not their native country language
2019-01-21 20:27:38 -08:00
Qasim K 716dbf67e6 Start using HTTPS MapQuest API (stop HTTP) (#280) 2018-09-03 10:19:03 -07:00
Ove Stavnås f23894d426 fix problem when no geolocation key is provided and invalid dict is cached #214 (#233)
* fix problem when no geolocation key is provided #214
2017-09-07 16:59:16 -07:00
Jaisen Mathai 6777c32588 Do not store "Unknown Location" in the location.json database. #203 (#208) 2017-04-08 02:10:55 +05:30
Jaisen Mathai 74d8675b20 Add support for multiple levels of folders. #199 (#205)
* Use original name from EXIF instead of parsing assumed file name format. #107
* Updates to docs and code
2017-03-30 19:43:34 +05:30
Jaisen Mathai 31db4e661a Return dictionary with "Unknown Location" instead of string when location is not found #106 (#201) 2017-03-15 22:43:21 -07:00
Terence Eden cd5ba92b0b Support user defined folder structure (#5) (#160)
* Custom date directories
* Add config module to parse ini files
* Add method/tests to get a customizable folder path
* Cache path definition
* Initial working version of custom paths
* Add Directory values in sample config
* Refactoring location parsing logic and adding tests
* Remove unused functions
* Add documentation to parse_mask_for_location
* Remove commented out code
* Add tests for migrating old location db to new
2017-01-02 20:58:52 -08:00
Jaisen Mathai a1d3cb35fc Add log module and tests 2016-11-09 20:07:44 -08:00
Jaisen Mathai 852850d2e6 gh-145 Fix configparser unit test error for python 2 and 3 2016-11-07 20:47:16 -08:00
Jaisen Mathai 69467e6433 Refactor geolocation module and tests 2016-10-25 22:20:16 -07:00
Jaisen Mathai 051961db70 gh-136 Skip geolocation lookup if no key is found 2016-10-08 10:02:16 -07:00
Jaisen Mathai 10b45cba78 gh-40 Increase test coverage for media and geolocation modules 2016-09-13 20:10:29 -07: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 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 77266a7bd4
gh-108 Add tests for the import_file function in elodie.py 2016-04-20 22:37:12 -07: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
Nathan Ostgard cfe82012b0 gh-70 Adding Sphinx docs 2016-01-09 09:44:39 -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
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
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
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 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 a7aee65ca0 Add initial screen to add config information 2015-11-19 02:31:32 -08:00
Jaisen Mathai 62f6e56bdb Add support for reading/writing titles for photos and videos 2015-10-28 00:19:21 -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 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 6b91c06a51 Add geolocation lookup 2015-10-08 02:21:31 -07:00