package
0.0.0-20240502064134-67d103e3dc8c
Repository: https://github.com/cal-lifornia/homieclips-hsl-transcoder.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
func EditMasterHls(objectName string) error { file, err := os.ReadFile(objectName + "_master.m3u8") if err != nil { return err } lines := strings.Split(string(file), "\n") for i, line := range lines { if strings.Contains(line, objectName) { lines[i] = objectName + "/" + line } } result := strings.Join(lines, "\n") err = os.WriteFile(objectName+".m3u8", []byte(result), 0644) if err != nil { return err } err = os.Remove(objectName + "_master.m3u8") if err != nil { return err } return nil } */.
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author