Bug 444744 - Recreate (video-) thumbnails selectively
Summary: Recreate (video-) thumbnails selectively
Status: REPORTED
Alias: None
Product: kphotoalbum
Classification: Applications
Component: Backend (show other bugs)
Version: GIT master
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KPhotoAlbum Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-31 23:09 UTC by Andreas Schleth
Modified: 2021-10-31 23:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schleth 2021-10-31 23:09:43 UTC
SUMMARY
After switching two video files (A -> tmp; B -> A; tmp -> B) on disk, the static and the video thumbnails remain as they were. For file B, the thumbnail for A is shown and vice versa.
Rebuilding all thumbnails does not change the video thumbnails. Recalculating the checksums might work(?). However, this is still running (and has been for a while now - we are at 3% after ~20 minutes...)

I would like to be able to re-create the videothumbnails for a selection of files only. 

STEPS TO REPRODUCE
1. have database with video clips and videothumbnails
2. take any two files A and B and switch their filenames using cli or any file manager (not KPA!)
3. view the thumbnails

OBSERVED RESULT
The videothumbnail for A is the old one of what is now B and vice versa.

EXPECTED RESULT
This is the expected result, as we were not telling KPA that.

MY RFQ:
Now, I would like to remedy the situation and rebuild the thumbnails (and only those) for just these two files, while keeping the meta-data as they were: meta-A -> A(new).
In other words: 
- select a few files
- say: "rebuild videothumbnail for selected files"
- have only these few files rebuild
- do not touch any meta data, except maybe the checksums of the selected files

KPA: v5.8.1-21-g7f709159
KDE Frameworks 5.76.0
Qt 5.12.7 (built against 5.12.7)