Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-11-2023, 08:20 AM   #76
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: 8,754
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Ah yeah, I thought there might've been some way other than a template search. Thanks.
ownedbycats is online now   Reply With Quote
Old 10-11-2023, 08:29 AM   #77
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: 8,754
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
This also works (I use list_re to extract the items, then count that list)

Code:
template:"""program: 

list = list_re($#admintags, ',', 'readinggoal:', '');

list_count(list, ',')#@#:n:>1"""
ownedbycats is online now   Reply With Quote
Advert
Old 10-13-2023, 04:14 PM   #78
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: 8,754
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
When series_index_auto_increment = 'const', changing the series name in single-book MDE also resets the index to '1'. Its a little annoying when fixing minor inconsistencies in series names. Is this intended and is there a way to stop this?
ownedbycats is online now   Reply With Quote
Old 10-13-2023, 04:28 PM   #79
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: 11,765
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
When series_index_auto_increment = 'const', changing the series name in single-book MDE also resets the index to '1'. Its a little annoying when fixing minor inconsistencies in series names. Is this intended and is there a way to stop this?
Yes, it is intended.

The way to stop the number from changing is to set the tweak to "no_change" or to use the tag browser to edit the series name.
chaley is offline   Reply With Quote
Old 10-14-2023, 09:07 AM   #80
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: 8,754
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'll set it to no_change and see how that works.
ownedbycats is online now   Reply With Quote
Advert
Old 10-28-2023, 01:12 PM   #81
Isathien
Junior Member
Isathien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2023
Device: Onyx
Hi, could you please help me?

Can I store more than one version of a book in my library? For example, I have two versions of a book in pdf format and I want to save both. However, Calibre overwrites them as one pdf. When I simply place two files in the folder, Calibre doesn't recognize the other one. How can I solve this issue?

Thank you!
Isathien is offline   Reply With Quote
Old 10-28-2023, 01:17 PM   #82
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 36,235
Karma: 145735388
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Isathien View Post
Hi, could you please help me?

Can I store more than one version of a book in my library? For example, I have two versions of a book in pdf format and I want to save both. However, Calibre overwrites them as one pdf. When I simply place two files in the folder, Calibre doesn't recognize the other one. How can I solve this issue?

Thank you!
Place the second copy in the data folder?
DNSB is offline   Reply With Quote
Old 10-28-2023, 01:24 PM   #83
Isathien
Junior Member
Isathien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2023
Device: Onyx
Quote:
Originally Posted by DNSB View Post
Place the second copy in the data folder?
Yes, but then the Calibre doesn't understand it and I cannot use search, for example.
Isathien is offline   Reply With Quote
Old 10-28-2023, 01:37 PM   #84
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 236
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
In Preferences - Import - Adding Books - Adding Actions, what value is selected for "Auto-merge added books if they already exists" and have you enabled this option? The tool tip explains the options.
georgemk is offline   Reply With Quote
Old 10-28-2023, 01:41 PM   #85
Isathien
Junior Member
Isathien began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2023
Device: Onyx
Quote:
Originally Posted by georgemk View Post
In Preferences - Import - Adding Books - Adding Actions, what value is selected for "Auto-merge added books if they already exists" and have you enabled this option? The tool tip explains the options.
Oh, now I see, thank you very much!!!
Isathien is offline   Reply With Quote
Old 10-28-2023, 05:45 PM   #86
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: 20,643
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Isathien View Post
Yes, but then the Calibre doesn't understand it and I cannot use search, for example.
You can have two book records with the identical Author and Title, calibre will differentiate via the unique book IDs, example:

Click image for larger version

Name:	Screenshot 2023-10-29 084013.jpg
Views:	72
Size:	33.0 KB
ID:	204464

BE
BetterRed is offline   Reply With Quote
Old 10-31-2023, 11:49 AM   #87
JVGen
Member
JVGen began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2022
Device: Kindle Paperwhite
In search of a tutorial/guide/video on how to standardize Metadata in a collection.

I have many eBooks (ePub) files that I've imported into Calibre. The organization of metadata is not consistent, likely because I've purchased eBooks from different sources and over the past 10 years. There are quite a lot of books, and manually curating the Metadata would take days and likely lead to error. I figured I'd check here to see if there is a way to automate Metadata changes? For instance if the the ISBN is provided in the ID field, can it pull Book information from a database?

I would like to standardize the Metadata of my collection, ideally in a way works well with Kindle Paperwhite, which is the eReader I use. Importantly, after standardizing the Metadata, I would like to export each eBook as an ePub file so that the changes are incorporated into the ePub.

A few obvious errors that I frequently see:
1) Author: First/Last name incorrectly ordered, issues in author order when multiple authors.
2) Titles: Inconsistent sorting. Sometimes articles (A, The, etc) are skipped, other times not
3) Titles: Series name present/absent. Book number in series present/absent.
3) Series: Sometimes series information is missing or inconsistent.

TYIA!
JVGen is offline   Reply With Quote
Old 10-31-2023, 02:47 PM   #88
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,904
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Step 1: Install the Quality Check Plugin
Step 2: Use it to identify some of the issues
Your problem 1 is easy. There is a check to find the backwards Authors, Select all (results), the use Fix to flip those

The PI can fix initials AFTER you configure what you want (That setting also affects the FIND

The rest, just run those and see what you have. There is no magic bullet
theducks is offline   Reply With Quote
Old 01-15-2024, 01:53 PM   #89
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: 8,754
Karma: 62032371
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Is there any speed difference basing a virtual library query on a composite column, or on a direct template?

Example:

#readstatus
Code:
program:
	status = readstatus();
	times = $$#timesread;

	switch_if(
		status=='currentlyreading' && times>#0, 'Currently Rereading',
		status=='currentlyreading', 'Currently Reading',
		status=='toberead' && times>#0, 'To Be Reread',
		status=='toberead', 'To Be Read',
		status=='read', 'Read',
		status=='unread' && 'readinggoal:' in $#admintags, 'Backlog',
		status=='unread', 'Unread',
		status=='didnotfinish', 'Did Not Finish',
		''
	)
Either I can use
#readstatus:"=Backlog"
or
a template search with program: readstatus()=='unread' && 'readinggoal:' in $#admintags

Last edited by ownedbycats; 01-15-2024 at 01:56 PM.
ownedbycats is online now   Reply With Quote
Old 01-15-2024, 03:21 PM   #90
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: 11,765
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Is there any speed difference basing a virtual library query on a composite column, or on a direct template?

Example:
[...]
Either I can use
#readstatus:"=Backlog"
or
a template search with program: readstatus()=='unread' && 'readinggoal:' in $#admintags
This is very hard to answer without doing timings. Reasons:
  • Composite column values are cached. If the cache is valid then getting the value of a composite by lookup name is extremely fast.
  • The cache is invalided by changes to the database, which can force a recalculation of the value for all the books. Or only affected books. Speed thus depends on the context.
  • Search templates don't use the cache, but do calculate values only when required by the logical expression.
  • In your case the search template is much simpler so in cases where the composite must be recalculated the search will be faster.
So the answer depends on how and where you use it.

Virtual libraries are frequently recomputed even when the db hasn't changed so I expect the composite cache would win.

FWIW: your template can faster by embedding if/then/else instead of duplicating the switch_if condition.
Code:
program:
	status = readstatus();
	times = $$#timesread;

	switch_if(
		status=='currentlyreading', if times ># 0 then 'Currently Rereading' else 'Currently Reading' fi,
		status=='toberead', if times ># 0 then 'To Be Reread' else 'To Be Read' fi,
		status=='read', 'Read',
		status=='unread', if 'readinggoal:' in $#admintags then 'Backlog' else 'Unread' fi,
		status=='didnotfinish', 'Did Not Finish',
		''
	)
I can't test this. I might have made some transcription errors.

If you rather you could use secondary switch_if()s instead of if/then/else. The performance is equivalent given the secondary switch_if()s have only one test expression. As in
Code:
		status=='currentlyreading', switch_if(times ># 0, 'Currently Rereading', 'Currently Reading'),
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Templates: various questions not worth their own thread ownedbycats Library Management 678 05-17-2024 01:07 AM
Forma Questions about quick management of Collections. droopy Kobo Reader 5 10-10-2019 11:34 PM
2 questions; library management & calibre version Blue2u Library Management 4 04-15-2018 07:53 PM
eBook/Comic/Manga Library Management Workflow: How do you manage your library? Inukami Library Management 16 08-02-2017 12:24 PM
Thread management questions meme Feedback 6 01-31-2011 05:07 PM


All times are GMT -4. The time now is 07:57 PM.


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