Sign inSign up

queeup/subtitle-monitor

By queeup

•Updated over 2 years ago

Directory/file monitor and subtitle downloader.

Image
Monitoring & observability
0

4.8K

queeup/subtitle-monitor repository overview

⁠subtitle-monitor

Directory/file monitor and subtitle downloader.

Powered by watchdog⁠ and subliminal⁠.

⁠Pull from hub.docker.com
docker pull queeup/subtitle-monitor
⁠Pull from ghcr.io
docker pull ghcr.io/queeup-containers/subtitle-monitor
⁠Volumes
  • -v cache:/cache

Example usage: Checking /storage/downloads directory recursively for new created *.mkv, *.mp4, *.avi files and then download subtitles for it.

docker run --rm -i --name subtitle-monitor \
    -v "$HOME/.cache/subliminal:/cache" \
    -v "/storage/downloads:/storage/downloads" \
    queeup/subtitle-monitor watchmedo shell-command \
        --ignore-directories \
        --recursive \
        --pattern="*.mkv;*.mp4;*.avi" \
        --ignore-pattern=".incomplete/*;*__*/*" \
        --command='test "${watch_event_type}" == "created" && (printf "Checking subtitles for ${watch_src_path} video file\n"; subliminal --opensubtitles user password download -l tr -l en -l es -a 1w -p opensubtitles "${watch_src_path}")' \
        /storage/downloads

Tag summary

Content type

Image

Digest

sha256:612148e92…

Size

20.1 MB

Last updated

over 2 years ago

docker pull queeup/subtitle-monitor