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: skills/multilingual-caption-video/SKILL.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ license: "GPL-3.0-or-Later"
5
5
compatibility: Requires ffmpeg and ffprobe with libass and H.264 support, uv, yt-dlp for URL inputs, and curl for URL delivery.
6
6
metadata:
7
7
author: o-az
8
-
version: "1.1.0"
8
+
version: "1.1.1"
9
9
---
10
10
11
11
# multilingual-caption-video
@@ -44,6 +44,7 @@ Run any script with `uv run <script> --help` for its interface.
44
44
- Deliver only the generated MP4. A request for a URL authorizes uploading that generated file, not unrelated local files.
45
45
- Write preferences only after explicit consent. An explicit request always overrides a saved preference for that job.
46
46
- Delete only marked working directories created by `scripts/cleanup.py`.
47
+
- Run bundled scripts as the current unprivileged user. Never invoke them through `sudo` or another privilege-elevation mechanism.
47
48
48
49
## Workflow
49
50
@@ -55,7 +56,7 @@ Resolve the directory containing this `SKILL.md` as `SKILL_ROOT`, then inspect s
55
56
uv run "$SKILL_ROOT/scripts/preferences.py" show
56
57
```
57
58
58
-
Preferences live at `${XDG_CONFIG_HOME:-~/.config}/multilingual-caption-video/preferences.json`. The file may contain `delivery`, `language`, `font`, and `font_size`.
59
+
Preferences live at `$XDG_CONFIG_HOME/multilingual-caption-video/preferences.json` when `XDG_CONFIG_HOME` is an absolute path, or `~/.config/multilingual-caption-video/preferences.json` otherwise. The file may contain `delivery`, `language`, `font`, and `font_size`.
59
60
60
61
Resolve each setting in this order: the current request, a saved preference, then the documented default. If neither the request nor saved preferences specify `delivery`, ask whether the user wants the finished video as a file or URL. If neither specifies the target language, ask for it. Do not infer either choice.
0 commit comments