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 07-22-2024, 11:47 AM   #1
shmn
Member
shmn began at the beginning.
 
shmn's Avatar
 
Posts: 13
Karma: 10
Join Date: Jun 2024
Device: Kindle Voyage
Series Number not showing up in metadata

I have many books that are parts of series and have never had an issue until one particular series. David Weber's "Honor Harrington" series of which I have the first six books.

When I added them to Calibre I assigned them all "Series: Honor Harrington" and then a number from 1-6 like I usually do. And they show up correctly in the library with series name and number.

Click image for larger version

Name:	lib.png
Views:	273
Size:	20.4 KB
ID:	209721

But when moving the books to my devices, KOReader only displayed the series metadata for the first book correctly as "Honor Harrington #1" and all the rest were only displaying "Honor Harrington" without a series number. (BTW...I save each book to disk as EPUB file only into a folder on my NAS and then copy to devices from there. No opf files are used.)

I selected all six books in Calibre and cleared all series metadata using the bulk metadata editing feature then went into each book and, starting fresh, re-entered series name and numbers and downloaded all the books to KOReader and selected each book and hit "Refresh book metadata info from cache" but still no series numbers.

I then used the "Edit book" feature in Calibre to look at the html code of the metadata.opf file and saw the first book had
Code:
 <meta name="calibre:series" content="Honor Harrington"/>
    <meta name="calibre:series_index" content="1.0"/>
but all the other books were missing the second line "calibre:series_index" so I copied that line into the five other books with appropriate series number and now it shows up in KOReader.

Anyone know why Calibre was not writing the series number into those books even though it was showing up in the metadata in the GUI?
shmn is offline   Reply With Quote
Old 07-22-2024, 11:49 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
metadata is updated in ebook files only when you export from calibre using the save to disk or similar tools or run the embed metadata tool.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-22-2024, 12:29 PM   #3
shmn
Member
shmn began at the beginning.
 
shmn's Avatar
 
Posts: 13
Karma: 10
Join Date: Jun 2024
Device: Kindle Voyage
Quote:
Originally Posted by kovidgoyal View Post
metadata is updated in ebook files only when you export from calibre using the save to disk or similar tools or run the embed metadata tool.
I said in my post that I use "Save to disk" and that metadata is ok for hundreds of other books so that's not the issue. It's only once I manually edited the metadata.opf file and used Save to disk it that it worked. So why did I need to manually edit these five books even though the GUI was displaying the correct information?
shmn is offline   Reply With Quote
Old 07-22-2024, 01:28 PM   #4
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: 30,452
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Manual?
Did you use Calibre's Save to disk to send the book to the device?

My workflow once I have the Calibre Metadata My Way
is to use the Polish tool to embed (and de-clutter)
so the Library copy is ready .
This is what I see in the (Library copy) Books OPF
Code:
<meta name="calibre:title_sort" content="Field of Dishonor" />
    <meta name="calibre:series" content="Honor Harrington" />
    <meta name="calibre:series_index" content="4.0" />
    <meta name="calibre:author_link_map" content="{&quot;David Weber&quot;: &quot;&quot;}" />
    <meta name="calibre:timestamp" content="2009-10-18T07:00:00+00:00" />
theducks is offline   Reply With Quote
Old 07-22-2024, 10:02 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,565
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by shmn View Post
I said in my post that I use "Save to disk" and that metadata is ok for hundreds of other books so that's not the issue. It's only once I manually edited the metadata.opf file and used Save to disk it that it worked. So why did I need to manually edit these five books even though the GUI was displaying the correct information?
Impossible to say without access to the books in question. Most likely they have some invalid OPF files.
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pdf files not showing metadata series rlconc Library Management 4 12-15-2018 04:08 PM
Can series-number metadata be a number range? Suffolk Punch Calibre 4 04-29-2017 02:53 PM
Metadata Plugboard for Series Number Reformatting Victorious56 Library Management 4 05-08-2013 06:09 AM
Metadata - get number out of Author and in Series anvarit Library Management 9 10-12-2012 09:20 AM
Add book number in a series to metadata? EtrnLwanderer Sigil 6 03-10-2012 02:48 PM


All times are GMT -4. The time now is 10:34 AM.


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