Thread: Aura H2O AutoShelf beta
View Single Post
Old 10-09-2015, 12:34 AM   #70
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by frostschutz View Post
I have a test version, attached to the first post.

It introduces a config file .addons/autoshelf/autoshelf.cfg.


Doesn't solve everything I wanted to. Either because I don't fully understand the database format, or because it's just bugs in Kobo's firmware.
I think it's bugs in the firmware or the sync. But, I do understand this part of the database, so ask if you have questions.
Quote:
Collections stopped reincarnating on sync for me except in one case: after uninstall with all collections removed, hey they're back. Yay.
You're probably better to add "SyncShelves=false" into the "Applications" section of the config file. That way, the shelves are touched during a sync.
Quote:
Date is still scrambled, sort by date does not work. Sync sets date to 1970s, no matter what I do. And it happens for collections created directly on the Kobo as well. Same for book dates. Sort by "Date added" works - immediately after you added them. Stops working after you reboot. So it remembers the date in a memory structure temporarily only.
The "Date Added" sort in a shelf is broken. If you add the books, it works, but after the database is reread, it stops working. I'd love to see the code that messes this up as I have never worked out how they are interpreting the timestamp to get the order I see. Kobo definitely know about it.

From memory, sometime ago something messed up on the sync server that set all the shelf timestamps to "1970-01-01T00:00:00Z". And I think all those shelves have kept having that date. Newer ones seem to have the actual timestamp. But, there might be something else that triggers the reset of the timestamp as the only ones I have with the correct timestamp are from this month.
davidfor is offline   Reply With Quote