invoke vtt to srt as dedicated binary
This commit is contained in:
@@ -52,7 +52,8 @@ func (c *Client) Download(video, local string) error {
|
|||||||
"/bin/sh",
|
"/bin/sh",
|
||||||
"-c",
|
"-c",
|
||||||
fmt.Sprintf(
|
fmt.Sprintf(
|
||||||
"true; python3 -m vtt_to_srt %q || python3 /usr/bin/vtt_to_srt.py %q",
|
"true; python3 -m vtt_to_srt %q || python3 /usr/bin/vtt_to_srt.py %q || vtt_to_srt %q",
|
||||||
|
path.Dir(local),
|
||||||
path.Dir(local),
|
path.Dir(local),
|
||||||
path.Dir(local),
|
path.Dir(local),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user