Video-hub-app: v1.3.0 vha file corruption

Created on 16 Dec 2018  ยท  5Comments  ยท  Source: whyboris/Video-Hub-App

I've actually just found that my v1.3.0 vha file has become corrupted some how - the image id's are wrong for quite a few files, resulting in incorrect thumbnails and files matched to file names. I am not sure why this has happened, although I did do a lot of rescanning with the same folder and using different devices.

Possibly has to do with saving the last thumbnail id, and reading it back in, or when saving out the vha file again. More investigation is needed, but this may impact #10.

bug

All 5 comments

Just to be clear -- this is while working with the new codebase that involves file hashes to identify the files - not by using the 1.3.0 app normally, right? ๐Ÿ™†โ€โ™‚๏ธ

I'll keep an eye out on this, though I suspect the best recommendation during the upgrade for end users would be to just offer them a notification that says "this is an old format file, you'll have to re-scan everything".

Just so you're aware, one bit of functionality is that if you ever rename a file from within the app, or add/remove a "tag", on app exit, the app re-saves the entire .vha file. Could this have been one of the actions you tried?

Nope, this is using v1.3.0 as it should be!

I did try out those actions, so possibly some combination messes up the mapping from files to IDs and then saves them incorrectly?

Well -- good thing that you've upgraded the internal file identification system ๐Ÿ˜…

Oh yeah -- if you switch from one hub to another (open another _vha_ file) after having changed tags or renamed a file, the re-saving of the _vha_ should happen as well ๐Ÿ‘Œ

I think it's safe to close -- the new master and the upcoming version 2.0.0 will have _hashes_ (thank you Cal for implementing those ๐Ÿฅ‡ !) - it should certainly fix the underlying problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cal2195 picture cal2195  ยท  5Comments

cal2195 picture cal2195  ยท  5Comments

Aer20 picture Aer20  ยท  6Comments

whyboris picture whyboris  ยท  5Comments

whyboris picture whyboris  ยท  3Comments