diff --git a/setup.go b/setup.go index f73afca..5b69e85 100644 --- a/setup.go +++ b/setup.go @@ -123,8 +123,6 @@ func (s *Sync) ensureEnoughUTXOs() error { return err } else if prefillTx == nil { return errors.Err("no response") - } else if !prefillTx.Complete || !prefillTx.Broadcast { - return errors.Err("failed to prefill addresses") } wait := 15 * time.Second diff --git a/ytsync.go b/ytsync.go index e0822a6..e480baf 100644 --- a/ytsync.go +++ b/ytsync.go @@ -235,13 +235,11 @@ func (s *Sync) startWorker(workerNum int) { strings.Contains(err.Error(), "download error: AccessDenied: Access Denied") || strings.Contains(err.Error(), "Playback on other websites has been disabled by the video owner") { log.Println("This error should not be retried at all") - } else if tryCount >= s.MaxTries { - log.Printf("Video failed after %d retries, exiting", s.MaxTries) - s.stop.Stop() - } else { + } else if tryCount < s.MaxTries{ log.Println("Retrying") continue } + log.Printf("Video failed after %d retries, skipping", s.MaxTries) } } break