View Single Post
Old 09-05-2017, 07:43 AM   #1365
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 glasnost View Post
David

A couple of questions: it looks like you have integrated Goodreads functions into the Kobo utilities plugin. (though, I suppose it could be the goodreads plugin doing the integration, lemme know if I should direct this their way.)
The Kobo Utilities updates the status in the library, selects the books and calls the Goodreads Sync "Update reading progress" function. After that, it's the Goodreads Sync plugin doing the work. But, as it happens, I wrote that part of the Goodreads Sync plugin and maintain the plugin now.
Quote:
When I update my reading reading position on device, plug in, and K.U. does its sync, a popup shows up asking me if I want to update reading position and add finished books to shelf 'read'

A. I love this idea
B. I think that the function calls re shelves are slightly off. Here's what I've tested:
1. Currently, if a book is not on a shelf, the popup to link it and add it to a shelf does not actually add the book to a shelf.
2. Once a book is on the 'to read' shelf (or, presumably any other shelf) - reading progress is correctly synced.
3. When a book is 100%, it does not move to the 'read' shelf, as it ought at 100%

Is this another PEBCAK issue of mine, or is this a work in progress? Lemme know how I can help you debug, because I am ~thrilled~ about this

Why I suspect this comes from K.U. : DEBUG: 403.9 KoboUtilitiesAction::_store_completed - goodreads_sync_plugin.users.keys()= [u'Ted']

and when I add a book to a shelf using the goodreads plugin, it gets added :-)
The update reading progress doesn't try to put the books onto the "Currently Reading" shelf. I have considered it, but, I always do my shelving on Goodread when I start reading a book. Plus it would need to be checked whenever the progress was updated. And I don't like that.

As to putting the finished book on the Read shelf, this works perfectly here if I have the checkbox in the bottom left of the dialog selected. But, do you have multiple users configured in the Goodreads Sync plugin?
davidfor is offline