jellyfin / jellyfin-plugin-bookshelf

https://jellyfin.org
MIT License
226 stars 20 forks source link

Refactor opf metadata reader for readability #45

Closed carif closed 2 years ago

carif commented 2 years ago

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.