Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify output folder #84

Open
cbusillo opened this issue Jun 21, 2024 · 1 comment
Open

Specify output folder #84

cbusillo opened this issue Jun 21, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@cbusillo
Copy link

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
Copy link
Owner

ratoaq2 commented Jun 22, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants