3 Commits
v0.4 ... v0.7

Author SHA1 Message Date
Bel LaPointe
da38522dc3 from bash to sh 2021-01-03 20:46:23 -05:00
bel
5daa95058d more often and fix bash 2020-12-14 22:09:21 -07:00
bel
e4ede9c4e1 Fix install cmd 2020-12-08 07:50:11 -07:00
4 changed files with 3 additions and 3 deletions

View File

@@ -18,7 +18,7 @@ func main() {
if err != nil {
panic(err)
}
interval := time.Hour * 4
interval := time.Minute * 30
for true {
err := do(client)
if err != nil {

BIN
youtubedl/.client.go.un~ Normal file

Binary file not shown.

View File

@@ -49,7 +49,7 @@ func (c *Client) Download(video, local string) error {
return err
}
cmd := exec.Command(
"bash",
"/bin/sh",
"-c",
fmt.Sprintf(
"true; python3 -m vtt_to_srt %q || python3 /usr/bin/vtt_to_srt.py %q",

View File

@@ -42,7 +42,7 @@ func installPyPip3FFMPEG() error {
if err == nil {
return nil
}
log.Println("%v: %v", err, combo)
log.Printf("%v: %v", err, combo)
}
return errors.New("cannot get python3 and pip3 and ffmpeg")
}