Quote:
Originally Posted by Jellby
Ouch! Some time ago I remember I manually removed the "finished" event records (was it event number 5?) for non-existent books, and it did not seem to cause any undesired side effect. But this was with some 3.x firmware.
|
I'm sure I've done this before and it was OK. But, it hasn't been for a while. And it's likely to be particulare event types. 5 is the finish book event. And that's probably what is being used for the finished book count. Testing what can and can't be removed is going to be a pain.
Quote:
Something else, yesterday I updated some books on the device and they ended up as new entries, because the filename changed (the old name had an apostrope, the new name replaced it with an underscore). Not only the new book didn't get the settings/stats from the old book, but I got duplicate entries because the old book was not deleted. Can something be done in the driver or the plugin to at least warn before uploading the file? The best would be to modify all database entries to use the new name before uploading, but I guess that's not really possible.
|
This has been suggested before. And adjusting most of the database will work. I think I have done it manually some time ago. But, the Event table is different because of the checksums. Intercepting the file name change and removing the existing file and updating the database at that time is the other problem. It's all probably possible, but I'm not sure of the risk.