yuka-friends / Windrecorder

Windrecorder is a memory search app by records everything on your screen in small size, to let you rewind what you have seen, query through OCR text or image description, and get activity statistics.
GNU General Public License v2.0
2.91k stars 126 forks source link

A way to refresh database #182

Closed TheUnawsomeGuy closed 3 months ago

TheUnawsomeGuy commented 3 months ago

Hello, I have been using this app for a few days (It's great app to review what happened for each day) but after updating to the latest version, my database gets reset and I can no longer see OCR from videos before today (10/6/2024). Manually indexing database doesn't seem to fix it. The old videos are still there in the videos folder. Thank you.

Antonoko commented 3 months ago

Sorry to hear this feedback, it seems that the upgrade process did something wrong. But don't worry, as long as the video file is still there, all data will not be lost! You can try the following steps to troubleshoot:

TheUnawsomeGuy commented 3 months ago

I've checked the db file and it seems like data before 10/6 gets wiped so I'll reindex them all back. I will report back if anything goes awry.

TheUnawsomeGuy commented 3 months ago

Sorry I misclicked

Antonoko commented 3 months ago

Sorry to hear that the database was wiped, this sounds a bit unusual.😿 Currently when performing dangerous operations on user data, the app should not delete the data directly, but move it to the recycle bin (I will check it carefully again). If your recycle bin is not automatically emptied recently, it may be worth looking for it. If there is other information worth noting, feel free to report.

TheUnawsomeGuy commented 3 months ago

After 24 hours, every video is now OCR'ed! (≧◡≦) Everything is going great now.