mirror of
https://github.com/kikootwo/ReadMeABook.git
synced 2026-06-02 20:30:10 +00:00
288421012d
Added automatic chapter merging to M4B with admin/config toggles, UI controls, and backend logic. Updated documentation to reflect implementation. Refactored ranking algorithm: increased Title/Author match points, removed size scoring, and improved Usenet/torrent handling. Enhanced Prowlarr integration for protocol detection and filtering. Improved file organizer to support chapter merging. Various bug fixes and logging improvements.
17 lines
621 B
SQL
17 lines
621 B
SQL
-- Add chapter merging configuration
|
|
-- This allows admin to enable/disable automatic merging of multi-file chapter downloads into single M4B
|
|
|
|
-- Insert default configuration for chapter merging (disabled by default)
|
|
INSERT INTO configuration (id, key, value, encrypted, category, description, created_at, updated_at)
|
|
VALUES (
|
|
gen_random_uuid(),
|
|
'chapter_merging_enabled',
|
|
'false',
|
|
false,
|
|
'automation',
|
|
'Automatically merge multi-file chapter downloads into a single M4B audiobook with chapter markers. Improves playback experience and library organization.',
|
|
NOW(),
|
|
NOW()
|
|
)
|
|
ON CONFLICT (key) DO NOTHING;
|