View Single Post
Old 09-05-2017, 09:48 AM   #968
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,907
Karma: 47303748
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
This may be a template question, or a make my own bloody plugin in python question, so I'd appreciate it if anyone has guidance (I haven't seen anything in this thread, but I may be using the wrong search terms):

I would like to autopopulate my goodreads 'to read' shelf when I add books to my device (or even when I add them to my library, but I think that add to device is less likely to irritate the GR api) Is there any way to integrate Goodreads Shelf Add and Send To Device so that it automatically calls the link to goodreads function, links if there's only one choice (or pulls the whole dialog), and adds the books to the 'to read' shelf?
I can't think of a way to trigger something like this when doing a send-to-device. You would need to modify or create a plugin to do this.
Quote:
Preferred, could I make this function look at the percentage read column and if non-nul, add it to 'to reading'
And if you create/change the plugin, this should be easy.
Quote:

Optimal, the function looks at #genre (or another custom column) and also adds books to shelves based on that column, adding shelves if necessary?
The plugin can already create shelves from a column. Just set the "tags" column in the actions that use the tags will use that column. It isn't automatic, but acts on the selected books.
davidfor is offline   Reply With Quote