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/macosx/Torrent.m

    r1119 r1149  
    726726{
    727727    int date = fInfo->dateCreated;
    728     return date > 0 ? [NSDate dateWithTimeIntervalSince1970: fInfo->dateCreated] : nil;
     728    return date > 0 ? [NSDate dateWithTimeIntervalSince1970: date] : nil;
    729729}
    730730
     
    882882{
    883883    return fStat->leechers;
     884}
     885
     886- (int) completedFromTracker
     887{
     888    return fStat->completedFromTracker;
    884889}
    885890
Note: See TracChangeset for help on using the changeset viewer.