DownloadManager dm = (DownloadManager) selectedDataSources[i];
if (dm != null) {
TOTorrent torrent = dm.getTorrent();
String contentHash = PlatformTorrentUtils.getContentHash(torrent);
if (contentHash != null && contentHash.length() > 0) {
ContentNetwork cn = DataSourceUtils.getContentNetwork(torrent);
if (cn == null) {
new MessageBoxShell(SWT.OK, "coq",
"Not in Content Network List").open(null);
return;
}
String url = cn.getTorrentDownloadService(contentHash, "coq");
DownloadUrlInfo dlInfo = new DownloadUrlInfoContentNetwork(
url, cn);
TorrentUIUtilsV3.loadTorrent(dlInfo, false, false, true);
}