<p dir="ltr">I haven't had any success still. Could the bug still be present?</p>
<div class="gmail_quote">On 23 Mar 2016 10:52 am, "[Removed]" <<a href="mailto:null+removed@kde.org">null+removed@kde.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm struggling to get this to work properly in digikam 4.14.<br><br></div><div>Images are sorted correctly by the date/time that's present in the metadata, however video files are sorted according to the file creation time rather than the metadata.<br><br></div><div>My test video file is in a MP4 container, with the correct metadata set (as far as I'm aware). I also added a custom exiftool key for xmp-video to include the XMP tags supported according to the patch to the following bug:<br><br><a href="https://bugs.kde.org/show_bug.cgi?id=351142" target="_blank">https://bugs.kde.org/show_bug.cgi?id=351142</a><br><br></div><div>Any suggestions?<br></div><div><br></div><div>My exiftool config is as follows:<br><br>%Image::ExifTool::UserDefined::video = (<br> GROUPS => { 0 => 'XMP', 1 => 'XMP-video', 2 => 'Image' },<br> NAMESPACE => { 'video' => '<a href="http://mydomain/video" target="_blank">http://mydomain/video</a>' },<br> WRITABLE => 'string',<br> DateTimeOriginal => { },<br> DateUTC => { },<br> ModificationDate => { },<br> DateTimeDigitized => { },<br>);<br><br># The %Image::ExifTool::UserDefined hash defines new tags to be added<br># to existing tables.<br>%Image::ExifTool::UserDefined = (<br> # new XMP namespaces (ie. XXX) must be added to the Main XMP table:<br> 'Image::ExifTool::XMP::Main' => {<br> video => {<br> SubDirectory => {<br> TagTable => 'Image::ExifTool::UserDefined::video',<br> },<br> },<br> },<br>);<br><br>%Image::ExifTool::UserDefined::Shortcuts = (<br> extramp4dates => ['XMP-video:DateTimeOriginal','XMP-video:DateUTC','XMP-video:ModificationDate','XMP-video:DateTimeDigitized'],<br>);<br><br>1; #end<br></div></div>
</blockquote></div>