ratoaq2 / pgsrip

Rip your PGS subtitles
MIT License
39 stars 8 forks source link

Specify output folder #84

Open cbusillo opened 3 weeks ago

cbusillo commented 3 weeks ago

Is it possible to specify the output folder of the srts from the API? I couldn't figure out the correct way to do it if possible.

ratoaq2 commented 3 weeks ago

Not currently.

These are the available options:

pgsrip --help
Usage: pgsrip [OPTIONS] PATH...

Options:
  -c, --config PATH               cleanit configuration path to be used
  -l, --language LANGUAGE         Language as IETF code, e.g. en, pt-BR (can
                                  be used multiple times).
  -t, --tag TEXT                  Rule tags to be used, e.g. ocr, tidy, no-
                                  sdh, no-style, no-lyrics, no-spam (can be
                                  used multiple times).
  -e, --encoding TEXT             Save subtitles using the following encoding.
  -a, --age AGE                   Filter videos newer than AGE, e.g. 12h,
                                  1w2d.
  -A, --srt-age AGE               Filter videos which srt subtitles are newer
                                  than AGE, e.g. 12h, 1w2d.
  -f, --force                     re-rip and overwrite existing srt subtitles,
                                  even if they already exist
  -a, --all                       rip all tracks for a given language, even
                                  another track for that language was already
                                  ripped
  -w, --max-workers INTEGER RANGE
                                  Maximum number of threads to use.
                                  [1<=x<=50]
  --keep-temp-files               Do not delete temporary files created, e.g.
                                  extracted sup files, generated png files and
                                  other useful debug files
  --debug                         Print useful information for debugging and
                                  for reporting bugs.
  -v, --verbose                   Display debug messages
  --version                       Show the version and exit.
  --help                          Show this message and exit.