mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-13 12:35:05 +00:00
docs: phase 2 of the prose style across docs and docstrings
This commit is contained in:
@@ -66,7 +66,7 @@ folder-kind keys.
|
||||
| `tag` | str | `""` | Release-group tag. Fills the `{tag}` template variable and is written into MKV/audio tags. |
|
||||
| `tag_group_name` | bool | `true` | Include the group name (`tag`) in the MKV `Group` tag. |
|
||||
| `tag_imdb_tmdb` | bool | `true` | Write IMDb/TMDB/TVDB external-ID tags into the MKV (needs metadata providers). |
|
||||
| `chapter_fallback_name` | str | `""` | Fallback chapter-name template, e.g. `"Chapter {i:02}"`. |
|
||||
| `chapter_fallback_name` | str | `""` | Fallback template for chapter names, e.g. `"Chapter {i:02}"`. |
|
||||
| `unicode_filenames` | bool | `false` | Allow Unicode in filenames; when `false`, names are ASCII-sanitised. |
|
||||
|
||||
## `tag_rules`
|
||||
@@ -97,7 +97,7 @@ Rule semantics:
|
||||
`year`, `season`, `episode`, and so on) after it evaluates the rules, so a condition cannot
|
||||
use them.
|
||||
- An unknown key in `when` is a mistake: unshackle logs a warning that names the key
|
||||
and skips that rule. A rule without conditions or without a `tag` is also warned about and skipped.
|
||||
and skips that rule. unshackle also warns about a rule without conditions or without a `tag`, and skips it.
|
||||
|
||||
Put the more specific rules first, because unshackle stops at the first match.
|
||||
|
||||
|
||||
@@ -245,9 +245,9 @@ title object already knew: `{title}`, `{title_raw}`, `{title_id}`, `{year}`, `{s
|
||||
comes from the naming context, such as `{quality}`, `{hdr}`, `{artist}` and `{album}`, is
|
||||
empty.
|
||||
|
||||
A resumed `--continue` download that finishes runs `success` as usual. Because unshackle
|
||||
does not wait for your script, it never sees its exit code, so a failing script is not
|
||||
reported anywhere. Your script owns its own error handling and logging.
|
||||
A resumed `--continue-downloads` download that finishes runs `success` as usual. Because
|
||||
unshackle does not wait for your script, it never sees its exit code, so a failing script
|
||||
is not reported anywhere. Your script owns its own error handling and logging.
|
||||
|
||||
A `success` hook always names a file this run wrote. There is no skip-if-exists path in
|
||||
`dl` today, so nothing fires for a title that was not downloaded.
|
||||
|
||||
@@ -61,9 +61,9 @@ credentials:
|
||||
|
||||
Settings for extracting cookies directly from a local Firefox profile. A service block must give
|
||||
`hosts`, a list of cookie hostnames. unshackle ignores an entry shorter than 3 characters, to
|
||||
prevent dumping the whole cookie store. With an optional `local_storage` boolean, unshackle also
|
||||
pulls matching entries from `webappsstore.sqlite`, which only services that keep auth tokens
|
||||
in localStorage rather than in HTTP cookies need. Extraction is read-only.
|
||||
prevent a broad match dumping most of the profile. With an optional `local_storage` boolean,
|
||||
unshackle also pulls matching entries from `webappsstore.sqlite`, which only services that keep
|
||||
auth tokens in localStorage rather than in HTTP cookies need. Extraction is read-only.
|
||||
|
||||
!!! note "Firefox does not need to be closed"
|
||||
The extractor copies **both** `cookies.sqlite` **and** its WAL file into a `0700` temp
|
||||
|
||||
Reference in New Issue
Block a user