View Single Post
Old 04-02-2017, 10:02 AM   #1271
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,560
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by davidfor View Post
And one of the tests I did last night was to delete them. This reset ALL the counts and the hours. There is probably a checksum or similar being used across all the records in the table.
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.

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.
Jellby is offline