View Single Post
Old 06-18-2022, 04:09 PM   #1616
Rellwood
Library Breeder (She/Her)
Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.Rellwood ought to be getting tired of karma fortunes by now.
 
Rellwood's Avatar
 
Posts: 1,289
Karma: 1937893
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
1. Are the rules for sync and add performed in the order in which they are listed in modify plugin?

2. Is there a way of clearing out a column that matches a rule? Example: I have a shelf for "Calibre Library", a book that has been recently read will be moved from "Main Calibre" to "Read" or "Archived". I would like to clear out the "Main Calibre" tag and add the "Read" or "Archived" tags. So, if the plugin can clear out the shelf first, then add the desired tag it would save me from manually adding sync or add rules that add or remove every possible library. Also helps when I change the tags all together and save the plugin from extra steps.


Just clear out the shelf and then add whatever tag I want.

I am seeing that I have to add a value in the space for value, but there isn’t the opportunity to blank out the column. Being able to do this and knowing if the order of operations is in effect would help a lot.

Example for my exclusive "Read" Shelf:

"active": true,
"add_actions": [
{
"action": "ADD",
"column": "#exclusiveshelf",
"value": "Read"
},
{
"action": "ADD",
"column": "#gr_updateded",
"value": "today"
},
{
"action": "ADD",
"column": "#ingr",
"value": "Y"
},
{
"action": "ADD",
"column": "#readstatus",
"value": "Read"
},
{
"action": "ADD",
"column": "#calibrelibrary",
"value": "1.Read"
},
{
"action": "REMOVE",
"column": "#calibrelibrary",
"value": "1.Temp Hold"
}
],
"add_date_read": true,
"add_rating": true,
"add_review_text": false,
"book_count": "1867",
"exclusive": true,
"name": "read",
"sync_actions": [
{
"action": "ADD",
"column": "#exclusiveshelf",
"value": "Read"
},
{
"action": "ADD",
"column": "#ingr",
"value": "Y"
},
{
"action": "ADD",
"column": "#gr_updateded",
"value": "date_updated"
},
{
"action": "ADD",
"column": "#grdateadded",
"value": "date_added"
},
{
"action": "ADD",
"column": "#readstatus",
"value": "Read"
},
{
"action": "ADD",
"column": "#grdateread",
"value": "read_at"
},
{
"action": "REMOVE",
"column": "#book_style",
"value": "Placeholder.Waiting for it"
},
{
"action": "REMOVE",
"column": "#book_style",
"value": "Placeholder.Maybe"
},
{
"action": "REMOVE",
"column": "#book_style",
"value": "Placeholder.Pre-Ordered"
},
{
"action": "REMOVE",
"column": "#book_style",
"value": "Placeholder.Want to Read"
},
{
"action": "REMOVE",
"column": "#calibrelibrary",
"value": "1.Re-reads"
},
{
"action": "REMOVE",
"column": "#calibrelibrary",
"value": "1.Current"
},
{
"action": "ADD",
"column": "#calibrelibrary",
"value": "1.Read"
}
],

Finally, as a "wish list" if it is possible, It would save so much time if it was possible to bulk set each selected shelf. For so many of my shelves the rules are all the same, except the goodreads shelf and the mapped tags shelf are different. I have two columns because I like to keep the original goodreads tags in the way they are formatted in Goodreads in one column and then map them to tags that I have cleaned up and heriarchal because there are so many of them. Pretty much all my sync or add rules are the same add the goodreads date added, add the goodreads date read, add the goodreads shelf to "#cs_goodreads" column and add the mapped tag to the "#current_bookshelves" column. Select "Y" for "#ingr" I have to manually do this for every shelf. If there was a way to bulk set this without having to do this for each shelf, it would drastically save time. I could then go in and add specific rules after those bulk rules were set. It probably is too much work, but it wold be a game changer for the plugin.

Last edited by Rellwood; 06-18-2022 at 04:34 PM.
Rellwood is offline   Reply With Quote