Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor opf metadata reader for readability #45

Merged
merged 1 commit into from
Jan 18, 2022

Conversation

carif
Copy link
Contributor

@carif carif commented Jan 16, 2022

The image provider for ePuBs read the opf metadata file and various code
segments in the OpfReader class were duplicated code.

This PR refactors the opf reader for readability. Additionally, it
moves opf related code from the ePuB image provider into the opf reader.

--> Some code refactoring before adding in a later PR a few metadata tags that are currently missing from the opf reader.

The image provider for ePuBs read the opf metadata file and various code
segments in the OpfReader class were duplicated code.

This commit refactors the opf reader for readability. Additionally, it
moves opf related code from the ePuB image provider into the opf reader.
@crobibero crobibero added the chore This PR contains repository maintenance changes label Jan 18, 2022
@crobibero crobibero merged commit 731421f into jellyfin:master Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore This PR contains repository maintenance changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants