Store queue in SQLite with pagination
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
A small local web UI for a system-wide `ani-cli` install.
|
||||
|
||||
Current version: `0.1.2`
|
||||
Current version: `0.2.0`
|
||||
|
||||
## Project Layout
|
||||
|
||||
@@ -29,6 +29,8 @@ http://127.0.0.1:8421/
|
||||
|
||||
The app searches anime, queues downloads, supports original or dubbed mode, quality, episode ranges, editable library names, season numbers, and a default download folder.
|
||||
|
||||
The queue is stored in SQLite, shown 10 jobs at a time, and includes bulk actions for removing finished jobs and retrying failed jobs.
|
||||
|
||||
Downloads are staged in the web app state directory first. After `ani-cli` finishes, the wrapper moves them into a Plex/Jellyfin-friendly layout:
|
||||
|
||||
```text
|
||||
@@ -44,6 +46,6 @@ ANI_CLI_DOWNLOAD_DIR/anime_name/Season <season>/anime_name - S01E01.mp4
|
||||
- `ANI_CLI_WEB_HOST`: server host, default `127.0.0.1`.
|
||||
- `ANI_CLI_WEB_PORT`: server port, default `8421`.
|
||||
|
||||
Settings and the queue are stored under XDG config/state directories when writable, with a local `.ani-cli-web/` fallback inside this project.
|
||||
Settings, queue data, and staging files are stored under XDG config/state directories when writable, with a local `.ani-cli-web/` fallback inside this project. Existing `queue.json` data is migrated into SQLite automatically.
|
||||
|
||||
Runtime folders such as `.ani-cli-web/`, `downloads/`, and Python bytecode cache directories at any depth are ignored by git.
|
||||
|
||||
Reference in New Issue
Block a user