Upload files to "/"
This commit is contained in:
+11
-3
@@ -4,14 +4,14 @@ local pause_between_opens = false
|
|||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
local books = {
|
local books = {
|
||||||
read = 857,
|
read = 1966,
|
||||||
unread = 3093,
|
unread = 4103,
|
||||||
per_calibre_page = 6,
|
per_calibre_page = 6,
|
||||||
}
|
}
|
||||||
books.total = books.read + books.unread
|
books.total = books.read + books.unread
|
||||||
|
|
||||||
local ratings = {
|
local ratings = {
|
||||||
91, 130, 222, 158, 41
|
210, 384, 587, 383, 87,
|
||||||
}
|
}
|
||||||
local average_rating = (function()
|
local average_rating = (function()
|
||||||
local count, rating = 0, 0
|
local count, rating = 0, 0
|
||||||
@@ -37,6 +37,13 @@ books.average_page_count = books.average_page_count * (1 - 0.17)
|
|||||||
-- 2025-11-19
|
-- 2025-11-19
|
||||||
-- this was approximately 124.9, but a current estimate is 148.72
|
-- this was approximately 124.9, but a current estimate is 148.72
|
||||||
books.average_page_count = 148.72
|
books.average_page_count = 148.72
|
||||||
|
|
||||||
|
-- 2026-06-20
|
||||||
|
-- read + DNF + owned
|
||||||
|
books.average_page_count = 136909/1096 + 33597/170 + 207799/1421
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
print("Estimated average page count per book: " .. books.average_page_count)
|
print("Estimated average page count per book: " .. books.average_page_count)
|
||||||
|
|
||||||
local function to_calibre_pages(count)
|
local function to_calibre_pages(count)
|
||||||
@@ -81,3 +88,4 @@ print("Press enter to open 9 random pages on Calibre. :D Or close this window /
|
|||||||
io.read("*line")
|
io.read("*line")
|
||||||
|
|
||||||
open_random_links("unread", 9)
|
open_random_links("unread", 9)
|
||||||
|
-- open_random_links("read", 9)
|
||||||
Reference in New Issue
Block a user