[PR #15604] [MERGED] extract local metadata from OPF and EPUB files #14361

Closed
opened 2026-02-07 07:28:35 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15604
Author: @dkanada
Created: 11/22/2025
Status: Merged
Merged: 1/27/2026
Merged by: @nielsvanvelzen

Base: masterHead: opf-metadata


📝 Commits (3)

  • 6963d95 extract local metadata from OPF and EPUB files
  • 820e208 fix runtime exception from incorrect argument to XDocument method
  • d95bab4 improve genre support from OPF metadata

📊 Changes

5 files changed (+676 additions, -0 deletions)

View changed files

MediaBrowser.Providers/Books/OpenPackagingFormat/EpubImageProvider.cs (+118 -0)
MediaBrowser.Providers/Books/OpenPackagingFormat/EpubProvider.cs (+100 -0)
MediaBrowser.Providers/Books/OpenPackagingFormat/EpubUtils.cs (+35 -0)
MediaBrowser.Providers/Books/OpenPackagingFormat/OpfProvider.cs (+94 -0)
MediaBrowser.Providers/Books/OpenPackagingFormat/OpfReader.cs (+329 -0)

📄 Description

Changes

I have pulled these files from the Bookshelf plugin with minor changes as a PoC for the local book providers. Once everything checks out another pull request will follow for comic books. I'll also have a PR for the parser to extract basic information from the directory structure.

Issues

None


🔄 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/jellyfin/jellyfin/pull/15604 **Author:** [@dkanada](https://github.com/dkanada) **Created:** 11/22/2025 **Status:** ✅ Merged **Merged:** 1/27/2026 **Merged by:** [@nielsvanvelzen](https://github.com/nielsvanvelzen) **Base:** `master` ← **Head:** `opf-metadata` --- ### 📝 Commits (3) - [`6963d95`](https://github.com/jellyfin/jellyfin/commit/6963d9588080f23d351a95051696b6c692afc2c5) extract local metadata from OPF and EPUB files - [`820e208`](https://github.com/jellyfin/jellyfin/commit/820e208bdcf08e757abd064eb6cd4b9a844c5c60) fix runtime exception from incorrect argument to XDocument method - [`d95bab4`](https://github.com/jellyfin/jellyfin/commit/d95bab41a1d6f030ed5ef174109573104a561b9e) improve genre support from OPF metadata ### 📊 Changes **5 files changed** (+676 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `MediaBrowser.Providers/Books/OpenPackagingFormat/EpubImageProvider.cs` (+118 -0) ➕ `MediaBrowser.Providers/Books/OpenPackagingFormat/EpubProvider.cs` (+100 -0) ➕ `MediaBrowser.Providers/Books/OpenPackagingFormat/EpubUtils.cs` (+35 -0) ➕ `MediaBrowser.Providers/Books/OpenPackagingFormat/OpfProvider.cs` (+94 -0) ➕ `MediaBrowser.Providers/Books/OpenPackagingFormat/OpfReader.cs` (+329 -0) </details> ### 📄 Description **Changes** I have pulled these files from the Bookshelf plugin with minor changes as a PoC for the local book providers. Once everything checks out another pull request will follow for comic books. I'll also have a PR for the parser to extract basic information from the directory structure. **Issues** None --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:28:35 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14361