github new-usemame/Calibre-Web-NextGen v4.1.23
v4.1.23 — imported books keep their own details, edited books stay put, KOReader syncs again

3 hours ago

Five fixes. The one to read: with automatic metadata fetching switched on, a book you imported could end up with a different book's title and author written over it.

docker pull ghcr.io/new-usemame/calibre-web-nextgen:v4.1.23

A newly imported book keeps its own title and author. With automatic metadata fetching on, importing a book could quietly replace its correct title, author and description with those of an entirely different book, often another title by the same author. Nothing flagged it — the log read Successfully applied, and the only way to notice was spotting the wrong book in your library later. Whichever result a metadata site happened to list first was accepted, and the only thing checked was an ISBN, which a freshly imported file usually does not carry. Results are now matched on the title's identifying words, and one that matches the title but names a different author is refused, leaving the book as it was imported. Books in a series were the case this most needed to get right, since their titles differ by only a word or two. Reported by @auspex (#1164).

A book you just edited stays where it was in your library. Save a change to a book, head back to the library, and the book was missing from the grid until you reloaded the page. Where it did come back it arrived as the very last card of everything loaded, which from the top of a large library looks the same as gone. An edited book now holds its place and shows its new title, author and series straight away, including on pages you have already scrolled past. Reported by @magdalar (#1169).

KOReader recognises your book again after its file changes on the server. Progress sync identifies a book by a fingerprint of its file, and the plugin was reading that fingerprint out of KOReader's own cache rather than the file on the device. Once a book's file changed on the server — a Calibre database rebuild, a metadata write-back, a re-import — the device kept reporting the fingerprint of a copy it no longer held, and the server logged No book found for checksum. Re-downloading made it worse, since each download registered one more fingerprint the device would never produce. Update the NextGen Progress Sync plugin to 4.1.23 on each device to pick this up. Reported by @Metamatam (#991).

The edit pencil no longer sits on top of a book's series, and "Read now" no longer breaks across two lines on a phone. The pencil floated over the card and room for it was reserved by padding the "Read now" label, which only works while the card is wider than the space being reserved. On a phone in Compact or Dense view the card is around 82 to 106 pixels and the reservation alone was 60, so the label wrapped, the row grew, and the pencil rode up into the line above it. Books with no readable format had no "Read now" at all, so the pencil landed directly on the series. The two controls now share one row sized by the browser, and on the narrowest cards the pencil scales down and the label gives way to its icon. Reported by rogovmtlz on Discord, @iroQuai and @HLRobius (#1166, #1112).

A very long title, author or series no longer drags the book page sideways on a phone. The header column beside the cover is only about 217 pixels wide on a phone, and a single word longer than that — a German compound title, a long transliterated name — ran past the edge and made the whole page scroll horizontally. Those lines now wrap mid-word when a word cannot fit on a line by itself. Ordinary titles are unchanged, since wrapping still prefers to break between words (#1178).


New here? Calibre-Web NextGen is a community-maintained continuation of Calibre-Web Automated. Same setup, same config, drop-in image.

Full changelog: CHANGELOG.md · Something still broken? Open an issue or join Discord.

Don't miss a new Calibre-Web-NextGen release

NewReleases is sending notifications on new releases.