DK does not refresh file times when changed?

Maik Qualmann metzpinguin at gmail.com
Mon May 8 17:31:12 BST 2023


You are confusing creation date with modified date. What you update with the 
touch command is the modification date. However, digiKam gets the creation date 
from the metadata of the video files - if available. Of course, you can also 
display the modification date in the thumbnail and sort by it, but that only 
makes limited sense.

Maik

Am Montag, 8. Mai 2023, 14:01:39 CEST schrieb Thomas:
> Hi,
> 
> I originally had .mov files from an apple device.
> 
> These files were too big, so I converted them using handbrake to mp4.
> 
> Then they all got wrong dates. So I ran:
> 
> for x in *.mp4; do touch -r ${x:r}.mov $x; done
> 
> to give them all the same dates as their corresponding .mov file.
> 
> But now DK already indexed them with wrong dates...
> 
> I will install 8.1.0 when it is released :-)
> 
> 
> BR
> 
> Thomas
> 
> On 2023-05-08 13:55, Gilles Caulier wrote:
> > Hi
> > 
> > How did you change the date of video files ? externally or with
> > digiKam TimeAdjust tool ?
> > 
> > Did you use XMP Sidecar files to host metadata of video ?
> > 
> > Note: Maik as patched recently the code for a better video metadata in
> > current 8.1.0.
> > 
> > Best
> > 
> > Gilles Caulier
> > 
> > Le lun. 8 mai 2023 à 13:47, Thomas <sdktda at gmail.com> a écrit :
> >     Hi,
> >     
> >     I recently had to change the dates on a few video files and I
> >     experience unexpected behavior from DK.
> >     
> >     
> >     I had a bunch of video files that were all from May 2023.
> >     
> >     I then changed the date of these files using Linux's touch command.
> >     
> >     Here the files are shown with the actual modified dates:
> >     
> >     
> >     However, since Digikam already indexed these files, it got he old
> >     date. I have then tried right clicking on the album and clicking
> >     Refresh. I have also tried quitting DK and starting it again, but
> >     it keeps showing the wrong May 2023 dates for these files as can
> >     be seen on screenshot below.
> >     
> >     How do I make DK read the actual dates when they have changed?






More information about the Digikam-users mailing list