Example #1
0
  public static void setContentThumbnail(TOTorrent torrent, byte[] thumbnail) {
    Map mapContent = getContentMap(torrent);
    putOrRemove(mapContent, TOR_AZ_PROP_THUMBNAIL, thumbnail);

    writeTorrentIfExists(torrent);
  }
Example #2
0
  public static void setAdId(TOTorrent torrent, String sID) {
    Map mapContent = getContentMap(torrent);
    putOrRemove(mapContent, TOR_AZ_PROP_AD_ID, sID);

    writeTorrentIfExists(torrent);
  }
Example #3
0
  public static void setContentQuality(TOTorrent torrent, String sQualityID) {
    Map mapContent = getContentMap(torrent);
    putOrRemove(mapContent, TOR_AZ_PROP_QUALITY, sQualityID);

    writeTorrentIfExists(torrent);
  }