this is actually necessary
This commit is contained in:
1 parent
68132c65a9
commit
ea3315d1d6
1 file changed
+7
@@ -217,6 +217,13 @@ func getVideos(channelID string, videoIDs []string, stopChan stop.Chan, ipPool *
|
||||
default:
|
||||
}
|
||||
|
||||
state, err := config.VideoState(videoID)
|
||||
if err != nil {
|
||||
return nil, errors.Err(err)
|
||||
}
|
||||
if state == "published" {
|
||||
continue
|
||||
}
|
||||
video, err := downloader.GetVideoInformation(videoID, stopChan, ipPool)
|
||||
if err != nil {
|
||||
errSDK := config.MarkVideoStatus(shared.VideoStatus{
|
||||
|
||||
Reference in new issue
Block a user