Warn before watch history is left behind, and re-apply it later (#2)
CI / test (push) Successful in 1m16s

This commit is contained in:
IxianPixel committed 2026-11-06 17:34:22 +00:00
1 parent 2bd4489b1a
commit 8cfa0f05eb
15 files changed
+611 -73

No files matched your search

+2
View File
@@ -36,12 +36,14 @@ forwarding.
| `GET /info` | Node name, version, Jellyfin version |
| `GET /libraries`, `GET /items?library=&search=` | Browse the peer's Jellyfin |
| `GET /seasons?series=` | A show's seasons, with each one's folder if it has its own |
| `GET /users`, `GET /watchers?item=` | User names; users with watch state for an item. Used to warn before a move whose watch history wouldn't carry over |
| `POST /exports {item_id}` | Source: start checking, hashing and capturing user data. Idempotent per item. |
| `GET /exports/{id}` | Poll: `Preparing` → `Ready` (with `ExportInfo`) or `Failed` |
| `GET /exports/{id}/files/{idx}` | Range-capable download of manifest entry `idx` |
| `POST /exports/{id}/complete {job_id?, moved_to?}` | Source: move folder to a new trash entry and rescan. Idempotent. |
| `GET /trash`, `POST /trash/empty {ids}` | List the source's trash entries; delete entries by ID (never by path) |
| `POST /jobs`, `GET /jobs` | Create or list jobs on the peer (destination) |
| `POST /jobs/{id}/reapply` | Apply the watch state of users who had no account when the move ran (`Job.missing_users`), once they do |
## Job stages