private void OnFinishing(object source, BitSwarm.FinishingArgs e) { player.UrlType = InputType.TorrentFile; Log("Download of " + Torrent.file.paths[fileIndexNext == -1 ? fileIndex : fileIndexNext] + " finished"); e.Cancel = DownloadNext(); if (!e.Cancel) { Log("Stopped"); } }
private void DownloadCompleted(object source, BitSwarm.FinishingArgs e) { Log("Download of " + torrent.file.paths[fileIndexNext == -1 ? fileIndex : fileIndexNext] + " finished"); e.Cancel = DownloadNext(); }