Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
In the configuration file user-provided subs can be preferred to auto-generated subs by passing both options in the preferred order
--write-sub --write-auto-subbut it doesn't work for
--sub-lang en --sub-lang de.Often user-provided subs are not in the same language of the auto-generated subs (for example user-provided are
en-GB, while auto-generated areen. This leads to skip the user-provided subs and download the auto-generated ones. Passingen-GB,enwould embed both tracks, which is an undesirable outcome, especially since they are both listed as "English" in the output file.Adding the
/to give an order and download the first available only (as it is for video formats) would allow to have a configuration file like--embed-subs --write-sub --write-auto-sub --sub-lang en-GB/en-US/enor
--embed-subs --write-sub --sub-lang en/de/frand not to worry checking available languages every time.