This should have never been in that file
This commit is contained in:
parent
07b9fb4053
commit
e572753284
2 changed files with 5 additions and 5 deletions
|
@ -49,11 +49,6 @@ func downloadVideo(url string, path string, group GroupConfig) (err error) {
|
|||
|
||||
tempPath := MainConfig.TempDir+"/"+video.Info.ID
|
||||
|
||||
if video.Info.IsLive {
|
||||
log.Info("Video is a live stream. Skipping.")
|
||||
return nil
|
||||
}
|
||||
|
||||
/* VIDEO */
|
||||
if group.VideoFormat != "" {
|
||||
log.Debugf("Downloading video \"%s\" with format \"%s\"", video.Info.ID, group.VideoFormat)
|
||||
|
|
5
ytva.go
5
ytva.go
|
@ -152,6 +152,11 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
if v.IsLive {
|
||||
log.Infof("Skipping live stream \"%s\".", v.Title)
|
||||
continue
|
||||
}
|
||||
|
||||
dirPath := fillPlaceholders(group.OutputDir, v)
|
||||
fileName := fillPlaceholders(group.FileName, v)
|
||||
path := dirPath+"/"+fileName
|
||||
|
|
Loading…
Reference in a new issue