Ignore:
Timestamp:
Dec 2, 2006, 1:46:54 AM (15 years ago)
Author:
joshe
Message:

Merge scrape branch:

Automatically scrape trackers as needed.
If tracker supplies a trackerid then use it (untested).
Use tracker's min interval, clamped to the same range as interval.
Show total completed downloads in the MacOS X frontend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cli/transmissioncli.c

    r983 r1149  
    147147    if( showScrape )
    148148    {
    149         int seeders, leechers;
    150 
    151         if( tr_torrentScrape( tor, &seeders, &leechers ) )
     149        int seeders, leechers, downloaded;
     150
     151        if( tr_torrentScrape( tor, &seeders, &leechers, &downloaded ) )
    152152        {
    153153            printf( "Scrape failed.\n" );
     
    155155        else
    156156        {
    157             printf( "%d seeder(s), %d leecher(s).\n", seeders, leechers );
     157            printf( "%d seeder(s), %d leecher(s), %d download(s).\n",
     158                    seeders, leechers, downloaded );
    158159        }
    159160
Note: See TracChangeset for help on using the changeset viewer.