Update Dockerfile
This commit is contained in:
@@ -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"]
|
||||
CMD [ "python3", "-u", "/subgen.py", "$WHISPER_MODEL", "$WHISPER_SPEEDUP", "$WHISPER_THREADS", "$WHISPER_PROCESSORS", "$PROCADDEDMEDIA", "$PROCMEDIAONPLAY", "$NAMESUBLANG", "$UPDATEREPO"]
|
||||
|
||||
Reference in New Issue
Block a user