docs(post-scripts): use post-script as the one term for hooks

Add the post-script row to the ste-writing terminology contract and
replace hook/postscript/post-download script across docs and docstrings.
This commit is contained in:
imSp4rky
2026-08-25 19:57:41 -06:00
parent a13081b14f
commit b94f338619
11 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -597,7 +597,7 @@ async def download(request: web.Request) -> web.Response:
description: >-
Download a video title based on the specified parameters.
'postscript', 'post_script' and 'post_scripts' are never accepted and return 400.
You configure post-download hooks only in unshackle.yaml.
You configure post-scripts only in unshackle.yaml.
requestBody:
required: true
content:
+1 -1
View File
@@ -142,7 +142,7 @@ def build_context(
def season_context(context: dict[str, str], folder: Path) -> dict[str, str]:
"""Blank the file-level variables so a season/album hook describes the folder."""
"""Blank the file-level variables so a season/album post-script describes the folder."""
out = dict(context)
for key in ("filepath", "filename", "ext", "sidecars", "episode", "episode_name"):
out[key] = ""