Add subtitle sorting documentation and fix typo

bytedream 2022-03-26 19:17:53 +01:00
parent d22f5ff45d
commit 49c128c746

4
Cli.md

@ -76,6 +76,8 @@ $ crunchy archive -l en-US -l de-DE https://www.crunchyroll.com/darling-in-the-f
To store all locales, use `all` as argument for `-l`. To store all locales, use `all` as argument for `-l`.
If you're using `--compress` you can format the name: Every `{series_name}` in the string gets replaced with the actual series name from the episode(s) you're downloading. If you're using `--compress` you can format the name: Every `{series_name}` in the string gets replaced with the actual series name from the episode(s) you're downloading.
If you want to sort the subtitles after the specified language (you've specified the first languages as `en-US`, so the first subtitle language will also be `en-US`, ...), set the environment variable `SORT_SUBTITLES=1` before executing.
```shell ```shell
$ crunchy archive --compress "{series_name}.tar.gz" -l all https://www.crunchyroll.com/darling-in-the-franxx $ crunchy archive --compress "{series_name}.tar.gz" -l all https://www.crunchyroll.com/darling-in-the-franxx
``` ```
@ -115,7 +117,7 @@ The `-o` / `--output` and `-d` / `--directory` flags accept some patterns that g
Example: Example:
```shell ```shell
$ crunchy download -o "S{episode_number}E{episode_number} ({title}).ts" https://www.crunchyroll.com/darling-in-the-franxx/episode-1-alone-and-lonesome-759575 $ crunchy download -o "S{season_number}E{episode_number} ({title}).ts" https://www.crunchyroll.com/darling-in-the-franxx/episode-1-alone-and-lonesome-759575
... ...
➞ Downloading episode `Alone and Lonesome` to `S1E1 (Alone and Lonesome).ts` ➞ Downloading episode `Alone and Lonesome` to `S1E1 (Alone and Lonesome).ts`
... ...