Bug 491390 - Videos not sorted into albums created by date when importing
Summary: Videos not sorted into albums created by date when importing
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-Albums (show other bugs)
Version: 8.4.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-07 14:10 UTC by Sebastian
Modified: 2025-01-23 22:00 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 8.6.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian 2024-08-07 14:10:02 UTC
SUMMARY
When downloading items via Import > Add images with automatic album creation by date, videos are not sorted correctly.
I guess this is because videos lack EXIF metadata, but often have other metadata including a date, such as RIFF for AVI videos. It would be nice if digiKam could fallback to this when sorting videos into albums by date.

STEPS TO REPRODUCE
I don't think this is actually a bug and rather an improvement, but here is what I did:

1. Open the Import Tool (Import > Add Images)
2. Select a folder containing videos (AVI with RIFF in my case)
3. Configure automatic creation of albums by date on the right
4. Click Download All
5. Videos with a correct date in the RIFF metadata are treated as if they were taken right now (and thus are sorted into the wrong album)

OBSERVED RESULT
digiKam uses the current date as opposed to the correct date in the RIFF metadata.

EXPECTED RESULT
digiKam prioritizes file metadata (RIFF in this case) over the current date and sorts the videos into the correct album by the date they were shot.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: Arch-Linux; 6.10.2-zen1-2-zen (64-bit)
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Comment 1 Maik Qualmann 2024-08-07 14:16:30 UTC
Probably fixed with Bug 490552. We need a video sample for testing.

Maik
Comment 2 Maik Qualmann 2025-01-23 22:00:34 UTC
Fixed with Bug 499074.

Maik