remove unused params

This commit is contained in:
Niko Storni 2022-01-14 18:49:02 +01:00
parent e3a332c7e1
commit 7ff1a009da
2 changed files with 2 additions and 2 deletions

View file

@ -50,7 +50,7 @@ func GetPlaylistVideoIDs(channelName string, maxVideos int, stopChan stop.Chan,
const releaseTimeFormat = "2006-01-02, 15:04:05 (MST)" const releaseTimeFormat = "2006-01-02, 15:04:05 (MST)"
func GetVideoInformation(videoID string, stopChan stop.Chan, ip *net.TCPAddr, pool *ip_manager.IPPool) (*ytdl.YtdlVideo, error) { func GetVideoInformation(videoID string, stopChan stop.Chan, pool *ip_manager.IPPool) (*ytdl.YtdlVideo, error) {
args := []string{ args := []string{
"--skip-download", "--skip-download",
"--write-info-json", "--write-info-json",

View file

@ -223,7 +223,7 @@ func getVideos(channelID string, videoIDs []string, stopChan stop.Chan, ipPool *
if state == "published" { if state == "published" {
continue continue
} }
video, err := downloader.GetVideoInformation(videoID, stopChan, nil, ipPool) video, err := downloader.GetVideoInformation(videoID, stopChan, ipPool)
if err != nil { if err != nil {
errSDK := config.MarkVideoStatus(shared.VideoStatus{ errSDK := config.MarkVideoStatus(shared.VideoStatus{
ChannelID: channelID, ChannelID: channelID,