Open jmathai opened 8 years ago
When you set the album of a video and then set the title in a separate command it removes the previous album which was set. Here's an example.
### Import ➜ elodie git:(master) ✗ ./elodie.py import --file=/Users/jaisenmathai/Downloads/photo-test/img_8545.mov --destination=/Users/jaisenmathai/Downloads/photo-test/My\ Photos /Users/jaisenmathai/Downloads/photo-test/img_8545.mov -> /Users/jaisenmathai/Downloads/photo-test/My Photos/2014-09-Sep/Mount Shasta/2014-09-18_15-38-49-img_8545.mov ### Update Album ➜ elodie git:(master) ✗ ./elodie.py update --album="TEST ALBUM" /Users/jaisenmathai/Downloads/photo-test/My\ Photos/2014-09-Sep/Mount\ Shasta/2014-09-18_15-38-49-img_8545.mov {"source":"/Users/jaisenmathai/Downloads/photo-test/My Photos/2014-09-Sep/Mount Shasta/2014-09-18_15-38-49-img_8545.mov", "destination":"/Users/jaisenmathai/Downloads/photo-test/My Photos/2014-09-Sep/TEST ALBUM/2014-09-18_15-38-49-img_8545.mov"} ### Update Title ➜ elodie git:(master) ✗ ./elodie.py update --title="TEST TITLE" /Users/jaisenmathai/Downloads/photo-test/My\ Photos/2014-09-Sep/TEST\ ALBUM/2014-09-18_15-38-49-img_8545.mov {"source":"/Users/jaisenmathai/Downloads/photo-test/My Photos/2014-09-Sep/TEST ALBUM/2014-09-18_15-38-49-img_8545.mov", "destination":"/Users/jaisenmathai/Downloads/photo-test/My Photos/2014-09-Sep/California/2014-09-18_15-38-49-img_8545-test-title.mov"}
Looks like the problem is that avmetareadwrite removes the EXIF tag we are using for Album. I consider this a bug resulting from gh-62.
avmetareadwrite
When you set the album of a video and then set the title in a separate command it removes the previous album which was set. Here's an example.