Documentation
¶
Index ¶
- func CleanSubtitles(Filename string, Subtitles []Track)
- func ExtractSrt(Filename string, Subtitles []Track)
- func FindReplaceString(Filename string, isSRT bool)
- func GetFileInfo(Filename string) ([]Track, []Track, []Track, error)
- func Muxing(Filename string, Videos []Track, Audios []Track, Subtitles []Track)
- func ReadConfig()
- type Config
- type Track
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanSubtitles ¶
CleanSubtitles all str files
func ExtractSrt ¶
ExtractSrt Extract the subtitles from the MKV
func FindReplaceString ¶
FindReplaceString remplace string inside str
func GetFileInfo ¶
GetFileInfo MKV info JSON structure
Types ¶
type Config ¶
type Config struct { ListADStoRemove []string `yaml:"list_ads_to_remove"` SortLang string `yaml:"sort_lang"` MaxTracksAudio int `yaml:"max_tracks_audio"` MaxTracksSub int `yaml:"max_tracks_sub"` KeepOrgFile bool `yaml:"keep_org_file"` AddToTitle string `yaml:"add_to_title"` StrAddToStrs string `yaml:"str_add_to_srts"` }
Config extract config file
var CFG Config
CFG global variable from config mkvpassthrucfg.yml
Click to show internal directories.
Click to hide internal directories.