Skip to content

Persist complete OPDS publication views and fallback on missing metadata - #3919

Open
panaC wants to merge 3 commits into
developfrom
fix/persist-opds-publication-document
Open

panaC wants to merge 3 commits into
developfrom
fix/persist-opds-publication-document

Conversation

@panaC

@panaC panaC commented Sep 28, 2026

Copy link
Copy Markdown
Member

fixes #3918

Persist the complete IOpdsPublicationView in the local PublicationDocument when importing from an OPDS catalog.
Use the persisted OPDS metadata as a field-by-field fallback when creating a local PublicationView.

  • Local publication metadata remains authoritative.
  • OPDS metadata fills only missing or empty values.
  • Supports:
    • Titles
    • Authors and publishers
    • Work identifier
    • Description
    • Languages and tags
    • Publication date
    • Accessibility metadata
    • Duration and track count
  • Applies to regular and unavailable/minimal publication views.
  • Treats the legacy "-" title placeholder as missing.
  • Keeps existing serialized OPDS data and acquisition identifiers for compatibility.
  • Publications imported outside OPDS remain unchanged.

@panaC panaC self-assigned this Sep 28, 2026
@panaC
panaC marked this pull request as ready for review September 29, 2026 12:14
@panaC

panaC commented Sep 29, 2026

Copy link
Copy Markdown
Member Author

For example with this OPDS feed:

image image

@panaC

panaC commented Sep 29, 2026

Copy link
Copy Markdown
Member Author
image image

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Persist OPDS metadata and use it as a fallback for downloaded publications

1 participant