View Single Post
Old 03-13-2023, 06:03 AM   #1279
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by rockafinger View Post
I can't seem to figure out how to properly configure this plugin, so it does what I want.

The best case scenario would be that as soon as I connect my device, it initiates a sync and moves all books from my library that doesn't have a Yes in a custom Yes/No column (called "Read") over to the device. While at the same time, it removes finished books from the reader and adds them to the "Read" list that is tied to the custom "Read" column.

Is that possible?

So far I have the column set up and linked it to the plugin. But I have to manually add new books to the device and manually add books to the "Read" list.

Any help is greatly appreciated!
Any solution requires some way to get the status from the device. If you can do that then you can use the Action Chains plugin to update the #read column from the retrieved status when a device is connected.

On device connection the chain would:
  1. Update the #read column from the information retrieved from the device, stored however it is done. For example, with a Kobo the driver can store %Read into a column. The chain would set #read to Yes for all books where the %read column is 100%.
  2. Select all books where "ondevice:true and #read:yes"
  3. Use the "Remove books/Remove matching books from device" action to delete the read books from the device.
  4. Select all books where "ondevice:false and not #read:yes"
  5. Send the selected books to the device.
For a Kobo I would get rid of the Yes/No column #read and use the %read column synced from the device for all the above.

You can do the "send to device" part in reading list (see below). I don't know how to do the "remove from device" part because that requires a sequence of operations (update the column then delete the books), done in the correct order.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.jpg
Views:	650
Size:	92.9 KB
ID:	200295  
chaley is offline   Reply With Quote