Commit Graph

17 Commits

Author SHA1 Message Date
Jaisen Mathai 33649319a4
Remove automated tests from running on python 2.7 #392 (#401) 2021-03-03 01:28:13 -08:00
Jaisen Mathai 579d94c7af
Update python to 3.8 for travis (#381)
Fixes unstable/broken tests.
2020-08-09 02:34:44 -07:00
Jaisen Mathai 12c17c9cac Add a plugin to upload photos to Google Photos (#319)
Fixes #315.

This PR aims to address the [recent changes](https://www.blog.google/products/photos/simplifying-google-photos-and-google-drive/) in Google Photos + Google Drive where syncing between the two is no longer supported.

It works by uploading photos as part of the import process to add a copy of every photo in your library to Google Photos. Google Drive is not required for this plugin to work.

This plugin lets you have all your photos in Google Photos without relying on Google Drive. You can use another cloud storage service like iCloud or Dropbox or no cloud storage at all.

- [x] Add tests for `after()` plugin methods.
- [x] Add support for storage/async support.
- [x] Include plugins into code coverage.
- [x] Sweep code and clean up and add comments.
2019-07-12 01:44:57 -07:00
Jaisen Mathai 9e42edfa76
Create a test runner script in python to run unit tests (#321) 2019-07-11 01:51:34 -07:00
Jaisen Mathai 032e24b204 Use PIL(pillow) as a fallback mechanism image format identification and add HEIC support (#320)
Fixes #281 and #269

When elodie imports images, imghdr.what is used to determine the image
type. imghdr implementation won't support all JPEG variants. Because
of this, even for a valid JPEG file, imghdr.what returns None causing
elodie to skip the image during import.

This commit adds a fallback mechanism which uses PIL(pillow) library to
identify image formats. When imghdr fails, elodie uses pillow to
identify image format. When pillow is unavailable, it will be treated as
an invalid media file. Pillow is imported only when imghdr fails.
2019-07-10 04:05:32 -07:00
Jaisen Mathai 94af83029e gh-40 Enable debug for TravisCI 2016-09-13 20:47:35 -07:00
zserg af36de091e Python 3 compartibility added 2016-08-21 17:58:13 +03:00
Jaisen Mathai b89a0d2c2f Update Travis to install exiftool 10.20 2016-06-24 01:37:38 -04:00
Jaisen Mathai 6114328f32 gh-62 [WIP] Remove pyexiv2 and avmetareadwrite dependency 2016-06-22 15:45:30 -04:00
Jaisen Mathai 5c3c87e1da
gh-103 Add lines to .travis.yml to produce coveralls code coverage 2016-04-12 00:59:34 -07:00
Nathan Ostgard 718d8c1306 gh-76 Split up general requirements and test requirements 2016-01-17 23:58:27 -08:00
Nathan Ostgard c951dab095 gh-76 Updated .travis.yml 2016-01-13 11:07:19 -08:00
Nathan Ostgard 4867d4d311 gh-69 Allow import to trash files 2016-01-09 16:57:38 -08:00
Nathan Ostgard fa217e933b Added friendly errors when dependencies are not installed 2016-01-07 22:19:22 -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 3a916aa589 Closes gh-21 Add all tests for FileSystem class and test photo files 2015-12-01 01:03:00 -08:00
Jaisen Mathai 56a085f75e gh-22 Add .travis.yml file 2015-12-01 01:03:00 -08:00