Files
ReadMeABook/prisma/migrations/20260108120000_add_chapter_merging_config/migration.sql
T
kikootwo 288421012d Implement chapter merging feature and update ranking algorithm
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.
2026-01-28 11:41:58 -05:00

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;