<div dir="ltr"><div>Thank you Johannes for the response and work around! I will attempt to apply the workaround. </div><div>I have opened bug# 472520 as requested. <a href="https://bugs.kde.org/show_bug.cgi?id=472520">https://bugs.kde.org/show_bug.cgi?id=472520</a></div><div><br></div><div>Thanks!</div><div>Victor<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 21, 2023 at 8:21 PM Johannes Zarl-Zierl <<a href="mailto:johannes@zarl-zierl.at">johannes@zarl-zierl.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">[Sending again because I noticed you are not on this list]<br>
Hi Victor,<br>
<br>
Sorry for the late response - my internet connection during the past week was <br>
somewhat spotty.<br>
<br>
Am Dienstag, 18. Juli 2023, 00:50:59 CEST schrieb Victor Lobo:<br>
> I am a new user starting out with KPhotoAlbum. On initial setup,<br>
> KPhotoAlbum processed my photos and videos and found around 10,000 videos.<br>
> I observe that KPhotoAlbum assigned to each of those videos the filesystem<br>
> File Modify date. My expectation was that KPhotoAlbum would assign a date<br>
> from the video metadata (CreateDate, DateTimeOriginal...) since most of my<br>
> videos have that populated and those dates are correct (as compared to file<br>
> modify date).<br>
> <br>
> This behavior can also be observed in the KPhotoAlbum demo. The demo<br>
> contains a video "movie.avi" with DateTimeOriginal value "2006:10:29<br>
> 14:33:55" reported by ExifTool. digiKam also displays "2006:10:29<br>
> 14:33:55". If I do one of the below then KPhotoAlbum assigns the file<br>
> system file modify date (current date) to the video instead of "2006:10:29<br>
> 14:33:55":<br>
> 1. Select the movie file in the demo and then do (Maintenance --> Read Exif<br>
> Info from Files... --> Check ONLY "Update Image Date" --> OK)<br>
> OR<br>
> 2. Copy the movie file from the demo to a new KPhotoAlbum database<br>
<br>
I was pretty sure that this used to work. I probably did not notice because <br>
usually the file modification time is the same as the time in the metadata. In <br>
either case, I see this as a bug that needs to be fixed.<br>
<br>
> Is assigning the file modify date to all videos the expected functionality<br>
> in KPhotoAlbum? If not, then what should I do to enable KPhotoAlbum to<br>
> assign dates to videos from the video metadata?<br>
<br>
It is expected functionality, but until the issue is fixed you may want to <br>
adjust your file modification dates as a workaround:<br>
<br>
exiftool -FileModifyDate\<DateTimeOriginal movie.avi<br>
<br>
or for a whole directory tree:<br>
find /Images -regex '.*\.\(avi\)\|\(mp4\)' -exec exiftool <br>
-FileModifyDate\<DateTimeOriginal \{\} \;<br>
<br>
<br>
> I am on Opensuse Tumbleweed; KPhotoAlbum 5.11.0 (same behavior seen in<br>
> 5.10.0).<br>
<br>
Thanks for reporting the issue! If you could post the same information as in <br>
your mail as bug on <a href="http://bugs.kde.org" rel="noreferrer" target="_blank">bugs.kde.org</a> for kphotoalbum, that would really help me...<br>
<br>
Cheers,<br>
Johannes<br>
<br>
<br>
</blockquote></div>