# Functions
associates captions to scene/s with the same basename.
CleanCaptions removes non existent/accessible language codes from captions.
GetCaptionPath generates the path of a caption from a given file path, wanted language and caption sufffix.
GetFunscriptPath returns the path of a file with the extension changed to .funscript.
IsLangInCaptions returns true if lang is present in the captions.
IsValidLanguage checks whether the given string is a valid ISO 639 language code.
ReadSubs reads a captions file.
# Constants
to be used for captions without a language code in the filename ISO 639-1 uses 2 or 3 a-z chars for codes so 00 is a safe non valid choise https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes.
# Variables
in a case where vtt and srt files are both provided prioritize vtt file due to native support.