Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLI: automatically fetch FPS from movies whenever suitable
This commit deprecates "-A, --auto-fps" switch. It added unnecessary complexity. FPS are now fetched whenever it's suitable i.e. when movie is specified by user (via -v switch) or where there is automatically found a movie for subtitle (practically when it has the same basename as subtitle file, but with a different extension). FPS is not automatically detected whenever user gives it via --fps switch. When Subconvert is unable to auto detect FPS, it uses some default value. Note that it only changes CLI version behaviour. Users can still set in pfiles their preferences about automatic FPS fetch and CLI will respect them. -A switch is not removed yet. Instead Subconvert will print a message informing user about its deprecation. It will be removed in the next major release.
- Loading branch information