Summary: | camera movie files dates not used for date based sub folder name | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | melenzb <melleholthuis> |
Component: | Import-Gphoto2 | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, marcel.wiesweg, melleholthuis |
Priority: | NOR | ||
Version: | 0.10.0 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.1.0 | |
Sentry Crash Report: |
Description
melenzb
2009-04-26 15:42:53 UTC
Sound like you use a GPhoto2 camera. Right ? Gilles Caulier Nope, just a camera card in a card reader, Mass storage device SVN commit 999965 by mwiesweg: Use the oldest of ctime and mtime as fallback if exif is not available. CCBUG: 190717 M +5 -10 umscamera.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=999965 melenzb, can you give me the file system time stamps of one of your movie files. ls -l <file> for mtime ls -lc <file> for ctime ls -lu <file> for atime Update (after a year, I'm sorry): Got a new camera of type Panasonic TZ7. Makes HD video's as MTS files placed in /PRIVATE/AVCHD/BDMV/STREAM on the card. Photos are placed in subfolders of /DCIM. Photos and MTS video's are downloaded (after adding video extension type). Photos are placed in date based folders. Movie files however are now placed in the folder one level above the date based folders, i.e. the "root" The difference is thus that they are not placed in a folder named 1979-12-31 but one level higher and certainly not in the place where I want them: among the photos of equal date. Action performed on 17-aug-2010: ls -l 00009.MTS: -rw-r--r-- 1 holly holly 145858560 2010-07-15 20:07 00009.MTS ls -lc 00009.MTS: -rw-r--r-- 1 holly holly 145858560 2010-08-17 16:45 00009.MTS ls -lu 00009.MTS: -rw-r--r-- 1 melle melle 145858560 2010-08-17 16:45 00009.MTS In Current implementation from git master (next 2.1.0) i fixed a stupid bug in camera driver which take mtime from camer FS when metadata cannot be parsed (it's the case of video files for the moment), the the date time stamp is never assigned/used in implementation (It's strange that compiler do not cry here) https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/f6505ebfcf2d806a0bca82d6a610a932b044950b/entry/utilities/cameragui/devices/umscamera.cpp#L211 At this line we must have instead : dt = ImageScanner::creationDateFromFilesystem(*fi); I think the problem must be fixed now. Can you test with current implementation please ? Gilles Caulier Marcel, This is the famous commit which must solve the bug but introduce more dysfonction about date management (:=))) http://websvn.kde.org/?view=rev&revision=999965 It's fixed in 2.1.0... Gilles Caulier |