Changeset 6234


Ignore:
Timestamp:
Jun 20, 2008, 7:55:34 PM (13 years ago)
Author:
charles
Message:

add `isPrivate' to the info section of the torrent-get method

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/rpc-spec.txt

    r6222 r6234  
    169169                      | number   | pieceCount             | tr_info
    170170                      | number   | pieceSize              | tr_info
     171                      | 'boolean'| isPrivate              | tr_torrent
    171172   -------------------+----------+------------------------+-------------
    172173   limits, 128        | number   | downloadLimit          | tr_torrent
  • trunk/libtransmission/rpc.c

    r6222 r6234  
    294294        tr_bencDictAddStr( d, "creator", inf->creator ? inf->creator : "" );
    295295        tr_bencDictAddInt( d, "dateCreated", inf->dateCreated );
     296        tr_bencDictAddInt( d, "isPrivate", tr_torrentIsPrivate( tor ) );
    296297        tr_bencDictAddInt( d, "pieceCount", inf->pieceCount );
    297298        tr_bencDictAddInt( d, "pieceSize", inf->pieceSize );
Note: See TracChangeset for help on using the changeset viewer.