mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
34 lines
604 B
Lua
34 lines
604 B
Lua
local M = {}
|
|
|
|
function M.new()
|
|
return {
|
|
overlay_running = false,
|
|
texthooker_running = false,
|
|
overlay_process = nil,
|
|
binary_available = false,
|
|
binary_path = nil,
|
|
detected_backend = nil,
|
|
hover_highlight = {
|
|
revision = -1,
|
|
payload = nil,
|
|
saved_sub_visibility = nil,
|
|
saved_secondary_sub_visibility = nil,
|
|
overlay_active = false,
|
|
cached_ass = nil,
|
|
clear_timer = nil,
|
|
last_hover_update_ts = 0,
|
|
},
|
|
aniskip = {
|
|
mal_id = nil,
|
|
title = nil,
|
|
episode = nil,
|
|
intro_start = nil,
|
|
intro_end = nil,
|
|
found = false,
|
|
prompt_shown = false,
|
|
},
|
|
}
|
|
end
|
|
|
|
return M
|