Commit Graph

25 Commits (0b76067d7c8524451992fe320ab5a61415dbd3f0)

Author SHA1 Message Date
Romain 8cb7a3596b chore: upgrade to latest version of StandardJS 1 year ago
Romain e19885031e fix: always read Picasa content from cache 2 years ago
Darrell Mozingo 915f951c8d Use name from picasa for albums if available 2 years ago
Darrell Mozingo 54256dd2a4 Test picasa file building for null handling
Album was already tested, and the test name insinuated file here :)
2 years ago
Romain 7d8f49eec8 chore(deps): upgrade ini package 2 years ago
Romain 2330540ba5 chore(core): simplify keyword/people handling
In the future metadata mappings could be configurable.
We should then look at a generic system for all metadata
for example including captions.

Until then let's keep it simple and consistent with the other fields.
4 years ago
Geoffrey Lowney cebb0327fe
Options to specify EXIF tags where keywords and "people in image" are found (#224)
* Add dynamic keyword and people-in-photo handling.
Add new options include-keywords, exclude-keyword.
Add new options include-people, exclude-people.
4 years ago
Matthieu Rakotojaona b9ffb2d630 Don't duplicate photos in the same album
A file can be in multiple albums, but the same file can't be in the same album multiple times. This can happen in multiple cases, for instance:

- If one of the mapping for the album contains "/"
- If a file is stored under "sub/file.jpg", one of the mapping is "%path" and the other is "sub"

Fixes #220
4 years ago
Romain 7e5ccbfbaa chore(deps): update major dependencies 4 years ago
Romain f088615caa feat(cli): now option to set the home album name
Part of #176
5 years ago
Romain 9425604dd7 chore(dependencies): upgrade Standard from v11 to v12 which introduces a style change 6 years ago
Romain 7dd714c957 refactor(tests): dynamically generate test folders to check more edge cases 6 years ago
Romain 899a89e516 test(mapper): fix unit test that relied on a folder called “tmp” to already exist 6 years ago
Romain 8bbe1186c5 fix(core): custom album mappers using file:// can use a relative path 6 years ago
Romain e5f6df3d28 refactor(cli): deprecated options logic now handled in <options> module 7 years ago
Romain 286dc8d15f feat(albums): --albums-from can be a list of patterns with special keywords
- %path expands to the path of the photo/video
- %keywords expands to the IPTC keywords of the photo
- {format} expands to the photo's EXIF date, e.g. {YYYY MM}
7 years ago
Romain fce8d8d8af refactor(model): album mappers can also return '/' to mean the root album 7 years ago
Romain 0b27d37881 Read metadata from Picasa.ini if present 7 years ago
Romain 3e64d2ab38 Create a Metadata model attached to input files
- for easier unit testing
- to enable input filtering (e.g. only include photos with this keyword)
7 years ago
Romain 80f7a88c35 Fix #61: new options to avoid copying original photos to the output folder 7 years ago
Romain 59b9bdbbd2 Use <standard> for code style, which removed lots of unused variables/requires 7 years ago
Romain e71e5d4207 Replace custom "make" DSL with the output task list (#60) 7 years ago
Romain e719bf15b1 Single source of truth for input/outputs + view model for display (#58) 7 years ago
Romain d3781b8fcf Fix parsing of MIME Type into Media type (image/video)
This fixes download links, and being able to right-click on a video and save-as
7 years ago
Romain 3a01c678eb Support for IPTC captions 7 years ago