Project

General

Profile

Bug #10260

Variable $(EXIF_YEAR) etc is not supported when importing from camera

Added by Emil Wabra over 4 years ago. Updated almost 3 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
01/02/2015
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

When using $(EXIF_YEAR ... DAY and MONTH) it is not the pictures date. Instead darktable is using the todays date


Related issues

Is duplicate of darktable - Feature #8415: camera import: using Exif-dateFixed

History

#1 Updated by Tobias Ellinghaus over 4 years ago

  • % Done changed from 0 to 20
  • Status changed from New to Incomplete

Works for me. Where do you use that variable? When importing photos it is not supported (IIRC the fixes were never merged?), in export I just tried, and watermark should work, too.

#2 Updated by Emil Wabra over 4 years ago

Sorry for the late answer. My spam filter rejected the message.

I use the variable for importing pictures. It worked in former versions. So i was confused about the fact that it stopped working. When exporting, it works as expected.

#3 Updated by Dave Haworth about 4 years ago

Emil Wabra wrote:

Sorry for the late answer. My spam filter rejected the message.

I use the variable for importing pictures. It worked in former versions. So i was confused about the fact that it stopped working. When exporting, it works as expected.

I just found the same limitation in 1.6.8.
It looks like the exif information hasn't been loaded at the time when the filename is constructed. I put a debug "fprintf" in the file src/common/variables.c - have_exif_tm is 0 and exif_tm.tmday is also 0.

I'm new around here. If I can fix the problem, would someone tell me how to submit a patch?

#4 Updated by Pedro Côrte-Real about 4 years ago

  • % Done changed from 20 to 0
  • Status changed from Incomplete to New

You can just attach patches to this bug report or submit a pull request at https://github.com/darktable-org/darktable

#5 Updated by Tobias Ellinghaus about 4 years ago

  • System changed from Ubuntu to all
  • Affected Version changed from 1.6.1 to git development version
  • % Done changed from 0 to 20
  • Status changed from New to Triaged
  • Subject changed from Variable $(EXIF_YEAR) etc is not exif date its the todays timestamp to Variable $(EXIF_YEAR) etc is not supported when importing from camera

https://github.com/darktable-org/darktable/pull/793 seems to be what is needed. It's just not reviewed, however after a quick glance I couldn't see anything fundamentally wrong.

PS: I wouldn't be surprised if we had this bug already reported.

#6 Updated by Roman Lebedev about 4 years ago

  • Is duplicate of Feature #8415: camera import: using Exif-date added

#7 Updated by Tobias Ellinghaus almost 3 years ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

So ... the PR got finally cleaned up and merged. It will be in 2.2.0.

#8 Updated by Roman Lebedev almost 3 years ago

  • Target version set to 2.2.0

Also available in: Atom PDF

Go to top