packages feed

photoname 5.3 → 5.4

raw patch · 4 files changed

+4/−3 lines, 4 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

changelog.md view
@@ -8,6 +8,7 @@   * Changed log level for links behavior to NOTICE   * Cleaned up some whitespace   * Switched order back to DateTimeDigitized, DateTimeOriginal...+  * Added bounds to cabal deps   5.2 (2024-08-10)
photoname.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.2  name: photoname-version: 5.3+version: 5.4 synopsis: Rename photo image files based on EXIF shoot date description: Command-line utility for renaming/moving photo image files based   on EXIF tags.
src/app/Photoname/Opts.hs view
@@ -198,7 +198,7 @@ A photo shot on 2002-May-02 01:23:07 PM:   img_1790.jpg -> <PARENTDIR>/2002/2002-05-02/20020502-132307.jpg -The EXIF date/time stamp used for naming is the first of these fields to be found: Exif.Photo.DateTimeDigitized, Exif.Photo.DateTimeOriginal, Exif.Image.DateTime+The EXIF date/time stamp used for naming is the first of these fields to be found: Exif.Photo.DateTimeOriginal, Exif.Photo.DateTimeDigitized, Exif.Image.DateTime  If none of the EXIF tags listed above is found, the program will try to gather date/time info from the filename itself. Filenames that are parsable look like: 
src/lib/Photoname/Exif.hs view
@@ -36,4 +36,4 @@   -- Look up all of them (resulting in [Maybe ExifValue]), wrap in First data structures   . map (First . flip M.lookup exifMap)   -- EXIF tags we're intersted in, in the order we want them left-to-right-  $ [dateTimeDigitized, dateTimeOriginal, dateTime])+  $ [dateTimeOriginal, dateTimeDigitized, dateTime])