07-27-2021, 11:25 AM | #1126 | |
Plugin Developer
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
Quote:
Okay, I've followed your steps. Yes, the list-deleted book goes to the bottom of the list and stays there. I changed the book's metadata, including setting and clearing the Reading List column to make sure that Calibre and not RL had touched it last. I manually clicked each of the sorts in order (except On Device but including hidden columns Currently reading and On Reading List). The list-deleted book stayed at the bottom. As far as I know, that's where it's supposed to be--I'm not taking the time to manually verify 7 sort columns for 14 books--but I will continue anyway. When I quit and restart Calibre and run 'On Device' view, the list-deleted book is not at the bottom immediately after restart, nor after running 'Default' view and then 'On Device' view again. However, when I use Calibre's Edit metadata to add a value to the On Reading List column, save it, then remove it and invoke 'On Device' view, the list-deleted book is back at the bottom. IMO, this absolves the RL plugin. But not necessarily VM. Next test: I outright removed the VM and RL plugins, restarted Calibre, manually set and then cleared the Reading List column on the same book as before; then manually apply the sort order. The changed book is now at the bottom. FYI, the default Calibre value for maximum_resort_levels is 5 (which is what I'm testing with). I don't know whether it's changed or not, but in past, Calibre used to limit sort level to 4 on restart. From an old VM post. And that Calibre would force Date into the sort at least priority anytime it wasn't already included. VM, as I understand it from the follow on posts, does apply sort depth >5 when configured with more. TL;DR: I submit that if there's a problem here, it's either in Calibre itself or ownedbycats' expectations. |
|
07-27-2021, 02:27 PM | #1127 |
Custom User Title
Posts: 8,616
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Yes, the book only is stuck on the bottom for the duration of the current session. Admittedly restarting isn't that much of a problem most of the time, but when I'm running from source that means frequently heading back to the git folder to re-launch the bat file.
I already accounted for maximum_resort_levels; I set it to 12 and that didn't work. |
07-27-2021, 09:13 PM | #1128 |
Custom User Title
Posts: 8,616
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Think this should be sent to the Calibre bugtracker? I'll wait and see if chaley sees this first though before doing that.
For now, I'll just remove #readinglist from my VM sorts, at least until I move to the next stable version (usually I just hit restart to fix things, but running from source just makes it close and not restart). Last edited by ownedbycats; 07-27-2021 at 11:04 PM. |
07-28-2021, 07:29 AM | #1129 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I now understand what is happening. To explain:
I have a fix but I don't trust my comprehension of the affected code. I will commit it, explaining to Kovid why I changed what I did so he can show me any errors of my ways. |
|
07-28-2021, 10:52 AM | #1130 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Kovid committed an improved version of my changes. They are now in source.
|
07-28-2021, 02:29 PM | #1131 |
Custom User Title
Posts: 8,616
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Updated my source. It's fixed. Thank you for looking into that.
|
07-28-2021, 02:31 PM | #1132 |
Plugin Developer
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
|
08-01-2021, 06:44 PM | #1133 |
Custom User Title
Posts: 8,616
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
And now the fix is in the stable version.
|
09-01-2021, 04:53 PM | #1134 |
Zealot
Posts: 106
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
|
I have a bug where the Sync Options 'when syncing' reset to default when switching away from 'Auto populated from books on device'. The setting gets saved even when the window is cancelled.
1. List Type: 'Auto populated from books on device' 2. List Type: Manually or Search 3. Change the default 'when syncing this list' to another option 'e.g. Replaced device with list' (SYNCREPNEW) 4. Switch between lists and the setting will reset. 5. Return to 'Auto populated from books on device' and Cancel Peaking at settings will be back to "listType": "SYNCNEW" so not a display bug. Example: https://imgur.com/a/JQRp74p |
09-02-2021, 10:20 AM | #1135 |
Plugin Developer
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
I do see this happen too. My instinct is that it's probably an edit check for the auto-pop that is misplaced.
Hopefully I'll have time to look at it today. |
09-02-2021, 01:05 PM | #1136 |
Plugin Developer
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
|
New Test Version
- Only force set sync_type as needed. Only expresses when switching lists in config. I believe this version will solve uli's issue. Hopefully without breaking anything else. |
09-02-2021, 03:47 PM | #1137 | |
Zealot
Posts: 106
Karma: 194274
Join Date: Jun 2011
Location: Montreal
Device: Kobo, Calibre
|
Quote:
If it doesn't break anything... is it possible for the 'auto populate from device' to run after the other lists have be processed? I'm using column update, and if a reading list removes a book it'll only get refreshed on a second sync. |
|
10-22-2021, 12:53 PM | #1138 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: calibre ebook-reader
|
Many thanks for creating this plugin.
I'm just curious, where do the lists actually "live"? I mean are they stored in metadata.db or are there part of a different file? |
10-22-2021, 01:09 PM | #1139 | |
Custom User Title
Posts: 8,616
Karma: 61176603
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Quote:
Code:
{ "SchemaVersion": 1.64, "default": "To Be Read", "lists": { "Remove from Device": { "content": [], "displayTopMenu": false, "listType": "SYNCREM", "modifyAction": "TAGADDREMOVE", "populateSearch": "", "populateType": "POPMANUAL", "seriesColumn": "", "seriesName": "", "sortList": true, "syncAuto": true, "syncClear": true, "syncDevice": "[redacted just in case]", "tagsColumn": "#kobocoll", "tagsText": "[Remove from Device]" }, "Send to Device": { "content": [], "displayTopMenu": true, "listType": "SYNCALL", "modifyAction": "TAGADDREMOVE", "populateSearch": "", "populateType": "POPMANUAL", "seriesColumn": "", "seriesName": "", "sortList": true, "syncAuto": true, "syncClear": true, "syncDevice": "[redacted just in case]", "tagsColumn": "#kobocoll", "tagsText": "[Send to Device]" }, "To Be Read": { "content": [ 6812, 6318, 5785, 3298, 6810, 4713, 6663, 5695, 5231, 5088, 4525, 4980, 4771, 4655, 6069, 1983, 3856, 6712, 5977, 703, 6787, 3022, 5075, 6734, 2927, 6807, 6823, 3257, 5679 ], "displayTopMenu": true, "listType": "SYNCNEW", "modifyAction": "TAGADDREMOVE", "populateSearch": "", "populateType": "POPMANUAL", "seriesColumn": "#readinglist", "seriesName": "To Be Read", "sortList": true, "syncAuto": false, "syncClear": false, "syncDevice": null, "tagsColumn": "#kobocoll", "tagsText": "To Be Read" } } } Last edited by ownedbycats; 10-22-2021 at 01:12 PM. |
|
10-22-2021, 01:23 PM | #1140 |
Junior Member
Posts: 5
Karma: 10
Join Date: Sep 2021
Device: calibre ebook-reader
|
Thank you so much ownedbycats !
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Extract ISBN | kiwidude | Plugins | 532 | 04-07-2024 11:01 AM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 08:23 PM |
[GUI Plugin] Temp Marker | kiwidude | Plugins | 41 | 10-14-2013 12:25 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |