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 09-19-2025, 12:03 PM   #136
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by elzzzz View Post
I thought I could possibly do something where instead of doing the list, i actually just delete the other ships, but that wouldn't be ideal, and Id probably have to write out a lot of specifics (which i might have to do anyways, but still just trying to think of the best way)

I have a feeling ill have to change the regex to better get this done and I've started trying to learn, but it doesn't seem to always do what I'm expecting, especially if i do multiple expressions, so I am hoping to get clarity to better understand my limitations.
I'll be honest, this is way outside my use-case so I have no idea how to solve that. Maybe Jimm can help you
culytera is offline   Reply With Quote
Old 09-19-2025, 03:07 PM   #137
hepalien
Junior Member
hepalien began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2025
Device: Multiple Kindles, Booxs, and a Kobo Clara BW
Quote:
Originally Posted by ownedbycats View Post
Thank you so much!! I thought I'd read every post in this thread; I don't know how I missed that
hepalien is offline   Reply With Quote
Old 09-25-2025, 12:54 PM   #138
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
personal.ini and Calibre config as of September 2025

Sharing my current personal.ini again since I made a bunch of changes some time ago and never bothered to make a proper post on this thread.

(I don't use the Generate Cover plugin anymore so no more updates for that. Old post with my settings.)

Template fields in your custom column settings
  • #category_first: {#category_all:list_item(0,\,)}
  • #ship_first: {#ship_all:list_item(0,\,)}
  • #wordcount: program: getWordCountGroup()

getWordCountGroup template function (To edit, go to Preferences -> Template functions)
Spoiler:
Code:
program:
	getWordCount = field('#words');
	wordCount = re(getWordCount, '[,]', '');
	first_non_empty(
		cmp(wordCount, 5000,  'Less than 5000', '', ''),
		cmp(wordCount, 10000, 'Less than 10000', '', ''),
		cmp(wordCount, 20000, 'Less than 20000', '', ''),
		cmp(wordCount, 40000, 'Less than 40000', '', ''),
		cmp(wordCount, 80000, 'Less than 80000', '', ''),
		'Over 80000'
);


[OPTIONAL] The Date Modified custom column shown on the tag browser

Spoiler:
I wanted to be able to group works by the year and month they were modified by Calibre and thanks to this reddit post I finally got what I wanted. In case the post gets deleted for whatever reason, I'll put my own version here. Check my Calibre config to find the relevant image.
  • Plugin: Last Modified, used for populating the Date Modified custom column. You don't have to use this plugin if Calibre's default last_modified column is enough for you. This plugin is for a more controlled way to have a last modified column.
  • Template of Date Modified custom column: {#date_modified_plugin:format_date(yyyy.MM MMM)}
    • Change #date_modified_plugin to the lookup name of your custom column used by the Last Modified plugin
  • Template of the custom column used by the Last Modified plugin: MMM dd, yyyy hh:mm AP
  • Last Modified preferences:
    • Use #date_modified_plugin as the date column
    • Only check "Book Metadata Changed" and "Book Created" for "Update on these events"
    • Click the gear icon for "Book Metadata Changed"
    • Enable "update when metadata changes only for columns specified (comma separated list)" under "Column options"
    • Add "#date_updated,"
I use #date_updated so Date Modified only changes when a fic was actually updated by the author.

Last edited by culytera; 10-06-2025 at 12:33 AM. Reason: Changed Last Modified preferences
culytera is offline   Reply With Quote
Old 10-03-2025, 11:05 PM   #139
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,361
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Some advice copied from the FanFicFare thread on extracting specific chapters as seperate oneshots. This is helpful to know for the various -tober challenges, or just the multifandom oneshot collections.

Quote:
Originally Posted by ownedbycats View Post
Question: Is there a good way to apply update to a ranged fic to apply includes or replace_metadatas to title page?

Update Existing Fanfic retrieves all chapters. However, if I use Download With Fic and have multiple books with the same URL (as I prefer to separate them into oneshots) it not always get right one.

Deleting and re-downloading seems only option, or just updating metadata and editing the titlepage by hand.

Quote:
Originally Posted by JimmXinu View Post
first_chapter and last_chapter are undocumented settings equivalent to using a chapter range.

But if you have more than one story in your library with the same storyUrl in Calibre's identifier:url, you'd need to change personal.ini for each one. Personally, I remove the storyUrl identifier:url from splits to avoid accidents.

I suppose that's arguably a justification for per-story ini settings by custom column.

Honestly, a major reason I've not wanted to add that is to avoid having to help users troubleshoot issues when using both personal.ini and an ini custom column. I foresee there would a lot of cases users forgetting they'd set one or the other.
ownedbycats is offline   Reply With Quote
Old 10-08-2025, 01:10 AM   #140
chowdown
Junior Member
chowdown began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2025
Device: Kobo
Figuring my way out with FanFicFare

I've created a custom column titled "Genre" that I'm trying to just auto-fill with "FanFiction" for everything I'm importing via FanFicFare. I've tried a number of commands but nothing seems to work for me. Anyone have any ideas? I'm greying hairs as we speak.

Sorry if my formatting is wrong. First time posting!

Attempts:

1. include_in_genre:Fanfiction
- resulted in a blank column


2.
add_to_custom_columns_settings:
status=>#genre
replace_metadata:
status=>^Completed$=>FanFiction
status=>^In-Progress$=>FanFiction

- my attempt at hijacking "status" which I'm currently not using and converting it all to just output "FanFiction"
- didn't work when I had it under [archiveofourown.org], and when I put it under [defaults], it didn't replace with "Fanfiction" but it did populate tge "Genre" column with the actual status (Completed/In-Progress)
chowdown is offline   Reply With Quote
Old 10-08-2025, 09:24 AM   #141
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 135
Karma: 295674
Join Date: Jul 2021
Device: iPhone
Quote:
Originally Posted by chowdown View Post
I've created a custom column titled "Genre" that I'm trying to just auto-fill with "FanFiction" for everything I'm importing via FanFicFare.
Use extratags. [defaults] already has a "extratags: FanFiction" line unless you changed that. If you didn't, then you just need to add this line:
Code:
add_to_custom_columns_settings:
 extratags=>#genre
culytera is offline   Reply With Quote
Old 10-21-2025, 03:22 PM   #142
wildfire070
Connoisseur
wildfire070 is on a distinguished road
 
Posts: 60
Karma: 72
Join Date: May 2012
Device: Kindle Oasis, Scribe, Paperwhite // Boox Palma, Tab Mini // Supernote
For the most part all of my fanfic downloads are of a particular ship (ex. CharA/CharB), so I have it set up for my titlepage to only list side pairings as "Additional Relationships" by including the following in my personal.ini:
Code:
titlepage_entries:ships
ships_label:Additional Relationships
exclude_metadata_pre:
  ships==CharA/CharB
  ships==CharB/CharA
But...I'm starting to venture into stories where either CharA or CharB is in a ship with varying other characters.

culytera's post of a "first_ship" list item got me thinking.....is it possible to do a "Main Pairing" from the first entry in the AO3 metadata ship list, and a "Side Pairing" list from the remaining ship entries?
wildfire070 is offline   Reply With Quote
Old 11-01-2025, 03:39 PM   #143
Elanor Pam
Junior Member
Elanor Pam began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2025
Device: Kindle
So I've got fics in a fandom that involves a LOT of long names. I'd like to replace them with initials in some way, in shipping tags most of all (which can get ridiculous with specifying stances of a character). is there a way to do that in personal.ini, or later through calibre metadata editing?
Elanor Pam is offline   Reply With Quote
Old 11-01-2025, 05:07 PM   #144
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,361
Karma: 79528341
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
replace_metadata your friend!
ownedbycats is offline   Reply With Quote
Old 11-01-2025, 06:09 PM   #145
Elanor Pam
Junior Member
Elanor Pam began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2025
Device: Kindle
yeah, but like.... how? how do I regex that? i am a n00b, and i'm scared :C is there an example code I can follow?
Elanor Pam is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Library management issues after editing metadata dra Library Management 26 04-11-2020 06:10 PM
Best strategy for metadata management for Kobo using Calibre? ceridwen Kobo Developer's Corner 16 05-13-2019 03:51 AM
Will automatic metadata management also transfer updated cover images to device? TheSacredSoul Library Management 2 01-11-2013 07:05 AM
Metadata Management on Android not working? TheStretchedElf Devices 0 08-08-2012 10:10 AM
Automatic Metadata Management gxxshock Calibre 2 12-28-2008 01:48 PM


All times are GMT -4. The time now is 04:03 PM.


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