diff options
-rw-r--r-- | exiftool.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/exiftool.el b/exiftool.el index e477ed9..06c056e 100644 --- a/exiftool.el +++ b/exiftool.el @@ -89,7 +89,10 @@ value. If no TAGS are specified, read all tags from FILE. (string-match "\\([^:]*\\): \\(.*\\)" line) (let ((tag (match-string 1 line)) (value (match-string 2 line))) - (cons tag (if (equal value "-") "" value)))) + (cons tag (if (equal value "-") + (exiftool-command "-s" "-s" "-s" + (format "-%s" tag) file) + value)))) (split-string (apply 'exiftool-command "-s" "-s" "-f" |