Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Feature] Support DjVu metadata #4314
As of f71627c, DjVu support for metadata is faked by setting the document tite to the file's basename. This is fixes that. It is the frontend companion to koreader/koreader-base#753, as such the continuous integration will inevitably fail until base integrates those changes.
If there's a better protocol for this kind of split pull request, please let me know.
This is my first foray into koreader's codebase as well as lua programming, so please forgive any boneheadeness. I tried to model the
The silliness with capitalized keys versus lowercase, as mentioned in the code comment, comes from the covention mentioned in djvused(1). I considered
Anyway, if I've made obvious mistakes or there is a better way to do things, please let me know. I hope this turns out to be useful.