This automation run inside a docker and use mkvtoolnix to extract the subtitle track from a Matroska file. It has two main parts:
This is an executable that will find and extract the subtitle track (.srt, .ssa) and output it in a tmp directory
for future use.
This is an executable that connects to a Ntfy server with a provided auth token and subscribe to a topic, waiting
for an event with a path to the file and the desired language. It will execute the Extract command to retrieve the subtitle
track and then send, line by line, the subtitle to be translated by AWS Translate. The translated file will be added with
the video file following Plex's desired pattern.
| Name | Required | Default | Comment |
|---|---|---|---|
IN_TOPIC | Yes | ||
AUTH_TOKEN | Yes | ||
NTFY_URL | https://ntfy.sh/ | ||
AWS_REGION | Yes | ||
AWS_ACCESS_KEY_ID | Yes | ||
AWS_SECRET_ACCESS_KEY | Yes |
version: "3.3"
services:
set:
image: remindful/set:v0.1
container_name: set
environment:
- IN_TOPIC=
- NTFY_URL=
- AUTH_TOKEN=
- AWS_REGION=
- AWS_ACCESS_KEY_ID=
- AWS_SECRET_ACCESS_KEY=
volumes:
- /path/to/tv:/tv
- /path/to/movies:/movies
restart: unless-stopped
Content type
Image
Digest
sha256:0f08e5efd…
Size
233.8 MB
Last updated
over 3 years ago
docker pull relieving/set