elodie icon indicating copy to clipboard operation
elodie copied to clipboard

When setting an album for a video and then later setting its title reverts the album

Open jmathai opened this issue 9 years ago • 1 comments

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"}

jmathai avatar Mar 13 '16 18:03 jmathai

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.

jmathai avatar Mar 14 '16 06:03 jmathai