[PR #2444] [MERGED] Add: OPF file supports multiple series as sequence of : calibre:series and calibre:series_index; including tests #3717

Closed
opened 2026-04-25 00:16:46 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/2444
Author: @jedrus2000
Created: 12/24/2023
Status: Merged
Merged: 12/24/2023
Merged by: @advplyr

Base: masterHead: opf-multiple-series-support


📝 Commits (2)

  • cd7c4ba Add: OPF file supports multiple series as sequence of : calibre:series and calibre:series_index; including tests
  • 6de0465 Update opf parser to ignore series with empty content and add tests

📊 Changes

3 files changed (+129 additions, -14 deletions)

View changed files

📝 server/scanner/OpfFileScanner.js (+2 -5)
📝 server/utils/parsers/parseOpfMetadata.js (+14 -9)
test/server/utils/parsers/parseOpfMetadata.test.js (+113 -0)

📄 Description

I see that some people like me using this software are missing multiple series in OPF file.

<meta name="calibre:series" content="Serie 1"/>
<meta name="calibre:series_index" content="1"/>
<meta name="calibre:series" content="Serie 2"/>
<meta name="calibre:series_index" content="2"/>

so here it is, along with unit tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/2444 **Author:** [@jedrus2000](https://github.com/jedrus2000) **Created:** 12/24/2023 **Status:** ✅ Merged **Merged:** 12/24/2023 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `opf-multiple-series-support` --- ### 📝 Commits (2) - [`cd7c4ba`](https://github.com/advplyr/audiobookshelf/commit/cd7c4baaafd46fe165e6c561bb6e881e2429cc2a) Add: OPF file supports multiple series as sequence of : calibre:series and calibre:series_index; including tests - [`6de0465`](https://github.com/advplyr/audiobookshelf/commit/6de0465b869aadecc80366e3fcd4cbc8483eb318) Update opf parser to ignore series with empty content and add tests ### 📊 Changes **3 files changed** (+129 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `server/scanner/OpfFileScanner.js` (+2 -5) 📝 `server/utils/parsers/parseOpfMetadata.js` (+14 -9) ➕ `test/server/utils/parsers/parseOpfMetadata.test.js` (+113 -0) </details> ### 📄 Description I see that some people like me using this software are missing multiple series in OPF file. ```xml <meta name="calibre:series" content="Serie 1"/> <meta name="calibre:series_index" content="1"/> <meta name="calibre:series" content="Serie 2"/> <meta name="calibre:series_index" content="2"/> ``` so here it is, along with unit tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:16:46 +02:00
adam closed this issue 2026-04-25 00:16:46 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3717