Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-14-2021, 11:31 PM   #1096
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by ryzmonkeyryz View Post
Well it's nice to know I'm not a total idiot. I got this far with the save template

{author_sort}/{title} - {authors}/{series}-{series_index} {#readingorder} {#readingorder_index}

but I must be missing something obvious because it only shows me the series information on the screen.
Kobo does not manage eBooks by directory. You are eventually going to end up with a lot of empty directories.
JSWolf is offline   Reply With Quote
Old 05-15-2021, 04:15 PM   #1097
ryzmonkeyryz
Junior Member
ryzmonkeyryz began at the beginning.
 
Posts: 5
Karma: 10
Join Date: May 2021
Device: Kobo Aura h20
Quote:
Originally Posted by davidfor View Post
The save template is used for the filename. Kobo does not use this. They use the metadata from the file. To set the subtitle as @ownedbycats suggests, you need to do it in the driver configuration. On the third tab are options to update the metadata when the device is connected. You can set a template for the subtitle there. You can also do this using my Kobo Utilities plugin. You can use that to do some experimenting to see if it is suitable. For both cases, the book has to have been sent to the device and imported by it.

If you do set the subtitle, you will be able to search for the text used as the subtitle, but, you will not be able to sort on it.
That's got it showing the list at least. I can live with. Thank you!
ryzmonkeyryz is offline   Reply With Quote
Old 07-24-2021, 12:13 AM   #1098
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Small enhancement request:

Would it be much difficulty to add a "move to other list" button to the Edit List dialog?

Thanks
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 01:34 AM   #1099
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also, is anybody else able to replicate books getting stuck sorting to at the bottom of the book list after adding/removing it from a list? Even changing views with View Manager didn't help; the only thing to do is to restart Calibre.
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 04:01 AM   #1100
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,766
Karma: 30237628
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Yeah I think I ran into something like that, IIRC I did a library swap - I don't use RL much now, might have even removed it -- less is better, least is best.

BR
BetterRed is offline   Reply With Quote
Old 07-24-2021, 05:26 AM   #1101
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by BetterRed View Post
Yeah I think I ran into something like that, IIRC I did a library swap - I don't use RL much now, might have even removed it -- less is better, least is best.

BR
I don't use Reading List to keep tracks of lists. I just use it to mark the eBooks I want to put on my H2O so when I connect my H2O to my Calibre library, the eBooks get added automatically. That works very well and I don't have to remember which eBooks I want to add and/or update. The one other thing I use RL for is to mark the eBooks I have on my H2O.
JSWolf is offline   Reply With Quote
Old 07-24-2021, 09:46 AM   #1102
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,990
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
Small enhancement request:

Would it be much difficulty to add a "move to other list" button to the Edit List dialog?
That sounds like a good open source feature--one that should be added by somebody who wants it.

Quote:
Originally Posted by ownedbycats View Post
Also, is anybody else able to replicate books getting stuck sorting to at the bottom of the book list after adding/removing it from a list? Even changing views with View Manager didn't help; the only thing to do is to restart Calibre.
How exactly are you able to replicate this?
JimmXinu is offline   Reply With Quote
Old 07-24-2021, 03:04 PM   #1103
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I have my reading lists set to modify a series column and to add/remove a value from tag-like #kobocoll column.

1. With view manager, switch to a view. If it matters, most of my views have the reading list series column sorted near the top.
2. Add or remove a book from a reading list.
3. Select that book.
4. Press F5 to refresh. If the bug occurs, the book drops to the bottom of the list regardless of where it ought to be in the list. Changing views doesn't fix this.

I notice it happens a bit more when a device is plugged in.

Last edited by ownedbycats; 07-24-2021 at 03:44 PM.
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 03:45 PM   #1104
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,990
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by ownedbycats View Post
I have my reading lists set to modify a series column and to add/remove a value from the #kobocoll column.

1. With view manager, switch to a view. If it matters, most of my views have the reading list series column sorted near the top.
2. Add or remove a book from a reading list.
3. Select that book.
4. Press F5 to refresh. If the bug occurs, the book drops to the bottom of the list regardless of where it ought to be in the list. Changing views doesn't fix this.

I notice it happens a bit more when a device is plugged in.
"Switch to a view" is a bit too generic, since a primary use for Views is to change the sort order.

At no point here do you say that you're invoking Reading List's 'View list' function? That's when VM changes the 'marked' values to match the list.

I'm not familiar with an 'F5' to refresh in Calibre. Did you assign that to something? Searching Calibre's key config for 'Refresh' only finds QuickView refresh.
JimmXinu is offline   Reply With Quote
Old 07-24-2021, 03:53 PM   #1105
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by JimmXinu View Post
"Switch to a view" is a bit too generic, since a primary use for Views is to change the sort order.
This. The reading list plugin always changes the sort order so that it sorts by the marked field. This is how it can get the books in order. (the books are marked: reading_list_default_0000, reading_list_default_0001, reading_list_default_0002 ... etc).

Any time you use the View Manager it will mess up the sort for the reading list plugin.

Edit: If you must use the View Manager Plugin, use before you show the list, not after.

Last edited by capink; 07-24-2021 at 04:04 PM.
capink is offline   Reply With Quote
Old 07-24-2021, 04:03 PM   #1106
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
No, I don't use View List at all. I

F5 for refresh was added a couple of versions ago. It's called "Re-apply current sort."

Attached are three screenshots of the views I see it happening most commonly under.

Reading Lists is my series-like, and "on reading list" is a composite that returns 'true' when that column is populated - otherwise I'd have to use descending order to keep it at the top of the list.
Currently reading's another composite.
Last read, last updated, date are all dates.
Percent read is integer.
On Kobo is a boolean.
On Device is built in - it only works when a device is actually plugged in.
Attached Thumbnails
Click image for larger version

Name:	2021-07-24 16_48_40-Customize View Manager.png
Views:	512
Size:	53.9 KB
ID:	188329   Click image for larger version

Name:	2021-07-24 16_48_54-Customize View Manager.png
Views:	495
Size:	52.7 KB
ID:	188330   Click image for larger version

Name:	2021-07-24 16_48_59-Customize View Manager.png
Views:	500
Size:	52.2 KB
ID:	188331  
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 04:06 PM   #1107
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by capink View Post
This. The reading list plugin always changes the sort order so that it sorts by the marked field. This is how it can get the books in order. (the books are marked: reading_list_default_0000, reading_list_default_0001, reading_list_default_0002 ... etc).

Any time you use the View Manager it will mess up the sort for the reading list plugin.

Edit: If you must use the View Manager Plugin, use before you show the list, not after.
That's odd, because I never use the 'view reading list' option. I just switch to my on-device view, which shows that stuff in the columns.

(The column with the ellided label is 'On Kobo.' I make extensive use of custom icons for it.)
Attached Thumbnails
Click image for larger version

Name:	2021-07-24 17_07_55-Window.png
Views:	508
Size:	81.8 KB
ID:	188332  

Last edited by ownedbycats; 07-24-2021 at 04:15 PM.
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 05:15 PM   #1108
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
If you are not using the "view list" then the reading list plugin cannot affect the sorting. Not directly at least. It can only affect the sorting — indirectly — by updating columns that are in your sort order. And the books going to the bottom are probably just following the sort order defined by your view.

If you apply a new view that does not include the following columns: ( On reading list, reading lists ) the books will probably stop going to the bottom.
capink is offline   Reply With Quote
Old 07-24-2021, 05:26 PM   #1109
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,027
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Unfortunately, if I switch to the "Series" view (which only sorts by series) and switch to all books, the affected books are still at the bottom of the list.
ownedbycats is offline   Reply With Quote
Old 07-24-2021, 05:48 PM   #1110
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,199
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
If you switch to a view that only sorts by one column (series column), what happens is that it pushes that column to the top of the sort order, while the first few columns of the previous view (depending on the value of maximum_resort_levels tweak) are still active when the books have the same value for the first column (series column).

Without seeing the data it is harder to know what is happening. But you can see for your self the current sort order, and examine whether the books follow that same order by using the following action in Action Chains (start in debug mode and it will print sort order to the console):

Code:
from calibre.utils.config import tweaks

from calibre_plugins.action_chains.actions.base import ChainAction

class SortingInfo(ChainAction):

    name = 'Sorting Info'

    def run(self, gui, settings, chain):
        db = gui.current_db
        sort_history = gui.library_view.get_state().get('sort_history', [])        
        max_sort_levels = tweaks['maximum_resort_levels']
        print('DEBUG: sort_order: {}'.format(sort_history[:max_sort_levels]))
capink is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Extract ISBN kiwidude Plugins 548 03-04-2025 10:43 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 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


All times are GMT -4. The time now is 11:55 AM.


MobileRead.com is a privately owned, operated and funded community.