コード例 #1
0
ファイル: TorrentStreamer.cs プロジェクト: huerd/Flyleaf
 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");
     }
 }
コード例 #2
0
 private void DownloadCompleted(object source, BitSwarm.FinishingArgs e)
 {
     Log("Download of " + torrent.file.paths[fileIndexNext == -1 ? fileIndex : fileIndexNext] + " finished"); e.Cancel = DownloadNext();
 }