func GetCaptionPath(path, lang, suffix string) string {
	ext := filepath.Ext(path)
	fn := strings.TrimSuffix(path, ext)
	captionExt := ""
	if len(lang) == 0 || lang == LangUnknown {
		captionExt = suffix
	} else {
		captionExt = lang + "." + suffix
	}
	return fn + "." + captionExt
}
// GetCaptionPath generates the path of a caption
// from a given file path, wanted language and caption sufffix
GetCaptionPath generates the path of a caption
from a given file path, wanted language and caption sufffix
// GetCaptionPath generates the path of a caption // from a given file path wanted language and caption sufffix
func GetCaptionPath(path, lang, suffix string) string {
	ext := filepath.Ext(path)
	fn := strings.TrimSuffix(path, ext)
	captionExt := ""
	if len(lang) == 0 || lang == LangUnknown {
		captionExt = suffix
	} else {
		captionExt = lang + "." + suffix
	}
	return fn + "." + captionExt
}
func GetCaptionPath ( path , lang , suffix string ) string { ext := filepath . Ext ( path ) fn := strings . TrimSuffix ( path , ext ) captionExt := " " if len ( lang ) == 0 || lang == LangUnknown { captionExt = suffix } else { captionExt = lang + " " + suffix } return fn + " " + captionExt }
GetCaptionPath generates the path of a caption
from a given file path, wanted language and caption sufffix
GetCaptionPath generates the path of a caption from a given file path wanted language and caption sufffix