You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/addons/monloader/development.md
+8-5Lines changed: 8 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,14 +67,17 @@ monsender extension can branch on them:
67
67
|`file_too_large`| monbooru rejected the upload for size |
68
68
|`monbooru_unreachable`| the push got no HTTP response (connect / timeout) |
69
69
|`monbooru_rejected`| monbooru returned a 4xx/5xx other than the duplicate 200 |
70
-
|`hash_mismatch`| a metadata refetch found the source no longer serves the file monbooru stored, so nothing was merged |
70
+
|`hash_mismatch`| a metadata refetch returned a file that does not match the one monbooru stored, so nothing was merged; on a replace job, the downloaded file did not match the md5 the site claims, so nothing was pushed|
71
71
|`hash_not_found`| a hash lookup found no site (or the PTR index) holding the hash |
72
72
|`ptr_unavailable`| a PTR lookup was requested while the PTR backend is off; normally refused as a 409 when the lookup is enqueued |
73
+
|`ptr_syncing`| a PTR lookup was requested while the index is still building; normally refused as a 409 when the lookup is enqueued |
74
+
|`already_exists`| a replace job's downloaded file already exists in the gallery as another image; monbooru refuses the swap and records the two as a potential-duplicate pair instead |
75
+
|`wrong_type`| a replace job aimed at an image whose row is an archive or video, which cannot be swapped this way |
73
76
|`canceled`| the job was canceled while the item was in flight |
74
77
75
78
The job's `summary` aggregates its items:
76
-
`{ created, duplicate, enriched, skipped, failed, canceled, total }`. The
77
-
outcomes themselves are described in
79
+
`{ created, duplicate, enriched, replaced, skipped, failed, canceled, total }`.
|`category_overrides`| per-suffix tag-category remaps baked into the profile |
137
140
|`rating_overrides`| per-value rating remaps baked into the profile |
138
141
|`default_rating`| rating used only when the source gives none |
139
-
|`needs_tags`| a generic-family site that needs gallery-dl's `tags: true` to emit per-category tags (one extra request per post, e.g. sankaku)|
140
-
|`has_notes`| a generic-family site whose extractor emits note boxes with gallery-dl's `notes: true` (e.g. sankaku); the note-carrying booru families get it by family |
142
+
|`needs_tags`| a generic-family site that needs gallery-dl's `tags: true` to emit per-category tags (one extra request per post |
143
+
|`has_notes`| a generic-family site whose extractor emits note boxes with gallery-dl's `notes: true`; the note-carrying booru families get it by family |
Copy file name to clipboardExpand all lines: content/addons/monloader/getting-started/install.md
+1-6Lines changed: 1 addition & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,8 @@ override any TOML key, is in [configuration](../configuration.md).
40
40
| Mount | Purpose |
41
41
|---|---|
42
42
|`/config`| Persistent: `monloader.toml`, the managed `gallery-dl.json`, the gallery-dl download archive, and cookies files. |
43
-
|`/ptr`| Optional: the local Hydrus PTR tag index, only if you enable the PTR lookup. Expect more than 70 GB. See [Hydrus PTR](../guides/ptr/index.md). |
43
+
|`/ptr`| Optional: the local Hydrus PTR tag index, only if you enable the PTR lookup. Expect tens of GB. See [Hydrus PTR](../guides/ptr/index.md). |
44
44
45
45
monloader also uses an internal `/work` directory as scratch space for
46
46
downloads; files are deleted from it after each successful push (it doesn't need to be mounted). If you want
47
47
it RAM-backed, give it a `tmpfs` mount instead.
48
-
49
-
## Podman
50
-
51
-
A Quadlet unit ships at `docker/monloader.container` in the monloader
52
-
repository, with the same volumes and hardening as the compose service.
0 commit comments