Faster startup by loading existing index without any checks, then incremental scanning to update.
This commit is contained in:
@@ -11,7 +11,6 @@ All media paths are scoped to a **root**, identified by a stable `root_id`.
|
||||
| `GET` | `/api/config` | Returns the current root configuration. |
|
||||
| `GET` | `/api/roots` | List all active roots with status. |
|
||||
| `PUT` | `/api/roots` | Atomically replace the full root set. |
|
||||
| `GET` | `/api/roots/{root_id}/index` | Returns the media index for one root. |
|
||||
| `GET` | `/api/roots/{root_id}/status` | Returns scanner and library status for one root. |
|
||||
| `POST` | `/api/roots/{root_id}/scan` | Triggers a new scan for one root. |
|
||||
| `POST` | `/api/roots/{root_id}/play` | Opens a media file with the system player. |
|
||||
|
||||
@@ -45,7 +45,6 @@ Every `Movie.id` and `Series.id` is namespaced with its `root_id`:
|
||||
|----------|-------------|
|
||||
| `GET /api/roots` | List all roots (name, path, root_id, status) |
|
||||
| `PUT /api/roots` | Atomically replace full root map `{name: path}` |
|
||||
| `GET /api/roots/{root_id}/index` | Full index for one root |
|
||||
| `GET /api/roots/{root_id}/status` | Per-root scanning/loading/error state |
|
||||
| `POST /api/roots/{root_id}/scan` | Trigger scan for one root |
|
||||
| `WS /api/roots/{root_id}/ws` | Per-root WebSocket (init/upsert/remove/task) |
|
||||
|
||||
Reference in New Issue
Block a user