Package com.aelitis.azureus.ui.selectedcontent

Examples of com.aelitis.azureus.ui.selectedcontent.DownloadUrlInfo


              ContentNetwork cn = ContentNetworkManagerFactory.getSingleton().getContentNetwork(contentNetworkID);
              if (cn == null) {
                cn = ConstantsVuze.getDefaultContentNetwork();
              }

              DownloadUrlInfo dlInfo = new DownloadUrlInfoContentNetwork(url,
                  cn);
              dlInfo.setReferer(MapUtils.getMapString(decodedMap, "referer",
                  null));

              TorrentUIUtilsV3.loadTorrent(dlInfo, playNow, playPrepare,
                  bringToFront);
View Full Code Here


          }catch( Throwable e ){
           
            Debug.printStackTrace(e);
          }
        }
        final DownloadUrlInfo dlInfo = new DownloadUrlInfoContentNetwork(url,
            ContentNetworkManagerFactory.getSingleton().getContentNetwork(
                context.getContentNetworkID()));
        dlInfo.setReferer(message.getReferer());

        AzureusCoreFactory.addCoreRunningListener(new AzureusCoreRunningListener() {
          public void azureusCoreRunning(AzureusCore core) {
            TorrentUIUtilsV3.loadTorrent(dlInfo, playNow, playPrepare,
                bringToFront);
View Full Code Here

    // we want to re-download the torrent if it's ours, since the existing
    // one is likely stale
    if (torrent != null && !DataSourceUtils.isPlatformContent(ds)) {
      TorrentUIUtilsV3.addTorrentToGM(torrent);
    } else {
      DownloadUrlInfo dlInfo = DataSourceUtils.getDownloadInfo(ds);
      if (dlInfo != null) {
        TorrentUIUtilsV3.loadTorrent(dlInfo, playNow, false, true);
        return;
      }

      String hash = DataSourceUtils.getHash(ds);
      if (hash != null) {
        ContentNetwork cn = DataSourceUtils.getContentNetwork(ds);
        if (cn == null) {
          dlInfo = new DownloadUrlInfo(UrlUtils.parseTextForMagnets(hash));
          dlInfo.setReferer(referal);
          TorrentUIUtilsV3.loadTorrent(dlInfo, playNow, false, true);
          return;
        }

        String url = cn.getTorrentDownloadService(hash, referal);
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.ui.selectedcontent.DownloadUrlInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.