From cb91d9861435e79302d6e3787355c57d4a41b902 Mon Sep 17 00:00:00 2001 From: McCloudS <64094529+McCloudS@users.noreply.github.com> Date: Sat, 28 Jan 2023 10:45:59 -0700 Subject: [PATCH] Update Dockerfile --- subgen/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subgen/Dockerfile b/subgen/Dockerfile index a7d5de6..79a6231 100644 --- a/subgen/Dockerfile +++ b/subgen/Dockerfile @@ -12,7 +12,7 @@ ARG WHISPER_PROCESSORS 1 ARG PROCADDEDMEDIA True # will gen subtitles for all media added regardless of existing external/embedded subtitles ARG PROCMEDIAONPLAY True -# will gen subtitles for media that is missing a 'subgen' file when played (you have to wait for it, then enable it manually) +# will gen subtitles for all played media regardless of existing external/embedded subtitles ARG NAMESUBLANG aa # use 2 letter codes @ https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes // makes it easier to see which subtitles are generated by subgen -- names file like: "Community - S03E18 - Course Listing Unavailable.aa.subgen.srt" ARG UPDATEREPO True @@ -25,4 +25,4 @@ EXPOSE 8090 COPY ./subgen/subgen.py / -CMD [ "python3", "-u", "/subgen.py", "$WHISPER_MODEL", "$WHISPER_SPEEDUP", "$WHISPER_THREADS", "$WHISPER_PROCESSORS", "$PROCADDEDMEDIA", "$PROCMEDIAONPLAY", "$NAMESUBLANG", "$UPDATEREPO"] \ No newline at end of file +CMD [ "python3", "-u", "/subgen.py", "$WHISPER_MODEL", "$WHISPER_SPEEDUP", "$WHISPER_THREADS", "$WHISPER_PROCESSORS", "$PROCADDEDMEDIA", "$PROCMEDIAONPLAY", "$NAMESUBLANG", "$UPDATEREPO"]