From 49c128c74645d548d8890a21eed5e9427ba493a3 Mon Sep 17 00:00:00 2001 From: bytedream Date: Sat, 26 Mar 2022 19:17:53 +0100 Subject: [PATCH] Add subtitle sorting documentation and fix typo --- Cli.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cli.md b/Cli.md index b140fa4..f21c688 100644 --- a/Cli.md +++ b/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`. 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 $ 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: ```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` ...