Esempio n. 1
0
 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");
     }
 }
Esempio n. 2
0
 private void DownloadCompleted(object source, BitSwarm.FinishingArgs e)
 {
     Log("Download of " + torrent.file.paths[fileIndexNext == -1 ? fileIndex : fileIndexNext] + " finished"); e.Cancel = DownloadNext();
 }