Files
Server-scripts/audiobook_library

CI

The Gitea workflow runs the test suite with committed audiobook media and a generated database fixture, and lints with Ruff. On pushes to main, it builds a standalone executable and installs it to ~/tools/audiobook_library on the same runners used by ffmpeg_handling. FFmpeg and ffprobe must be available on the target host.

To run the suite locally, use python run_tests.py. It uses the committed MP3 files in testassets/audiobook_library at the scripts repository root by default; set AUDIOBOOK_TEST_ASSETS to use another media fixture directory. AUDIOBOOK_TEST_DATABASE can point to a database fixture file. CI generates only the database fixture with python test/create_ci_fixtures.py <directory>. Do not commit private database fixtures.