Bug 389619 - digikam does not read from sidecars for video/mp4
Summary: digikam does not read from sidecars for video/mp4
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Metadata-Sidecar (show other bugs)
Version: 5.8.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-29 22:02 UTC by Andrius
Modified: 2018-03-05 12:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2018-01-29 22:02:01 UTC
This is continuation of this thread:
http://digikam.1695700.n4.nabble.com/Re-read-metadata-from-a-sidecar-for-mp4-td4704976.html

I have recorded two videos.

In the first video I am adding tags, rating, gps coordinates to a video in my collection. As you can see everything works just fine. digikam adds the information to the database as well as to the xmp sidecar. Rating, tags and GPS icon are seen in thumbnails view.
https://youtu.be/Nef3VvWqozc

In the second video I removed digikamrc as well as the database files and added a video file with an existing xmp sidecar to a new database. Neither tags/rating nor gps logo can be seen in thumbnails view. Trying to 'Reread metadata from Image' only shows an error. If I try to add geolocation once again the error 'Failed to open file' pops up.
https://youtu.be/67pcOJj_3RM

So basically there is no way to import an information from an existing sidecar back to the database. Even though the box 'Read from sidecars' checked in Settings - Metadata - Sidecars. I thought once the box is checked digiKam should read from sidecars automatically.
Comment 1 meku 2018-01-30 22:31:33 UTC
Duplicate of Bug 375570
Comment 2 caulier.gilles 2018-03-05 12:00:53 UTC
Git commit 907f7d8ef3428930e2b3502a7e0d597cfaad1030 by Gilles Caulier.
Committed on 05/03/2018 at 11:56.
Pushed by cgilles into branch 'master'.

Manage video as image : always parse all important file while collection scanning when video information populate the DB.
Related: bug 375570, bug 377133, bug 386921
FIXED-IN: 5.9.0

M  +11   -2    libs/database/item/imagescanner.cpp

https://commits.kde.org/digikam/907f7d8ef3428930e2b3502a7e0d597cfaad1030