Skip to content

tmfsd/KOReader-patches

Repository files navigation

Based on 2-modular-tags.lua

This patch hijacks the "Show calibre tags/keywords" field to display the year of publication, the number of pages and the tags of a book. The year is read from dc:date in the epub file's metadata. This corresponds with the field "Published" in Calibre. If you entered a publication date into that field the year will be shown here.

image

Adjust timezone

Because Calibre creates UTC dates when you enter a year into the "Published" field the wrong date can be shown on your reader. For example: if you entered "1989" but live in the CET timezone Calibre will create the UTC date 1988-12-31T23:00:00+00:00. So instead of 1989 the reader will show 1988.

Adjust the TIMEZONE_OFFSET_HOURS by the number of hours your timezone differs from UTC to prevent that.

Font Size

You can adjust how the text looks:

-- Make text bigger (less offset from author font size)
local CUSTOM_FONT_SIZE_OFFSET = 1

-- Make text smaller (more offset from author font size)
local CUSTOM_FONT_SIZE_OFFSET = 5

-- Set minimum font size
local CUSTOM_FONT_MIN = 12

image

This patch removes blank placeholders from the folder covers in Cover Grid view and Cover List view if a folder and it's subfolders hold less than four books.


Based on 2-pt-modify-series-format.lua

image

Customize the format of the series in listview. Also displays the subseries if available.

Note: The field for the subseries in Calibre should be named "Subseries" (#subseries). If not you might have to edit the patch accordingly.


Hides the author(s) if a series/subseries is displayed.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages