Tsarr Documentation - v2.11.0
    Preparing search index...

    Type Alias TorrentsFiles

    type TorrentsFiles = {
        index?: number;
        name?: string;
        size?: number;
        progress?: number;
        priority?: 0 | 1 | 6 | 7;
        is_seed?: boolean;
        piece_range?: number[];
        availability?: number;
    }
    Index

    Properties

    index?: number

    File index

    name?: string

    File name (including relative path)

    size?: number

    File size (bytes)

    progress?: number

    File progress (percentage/100)

    priority?: 0 | 1 | 6 | 7

    File priority. See possible values here below

    Value Description
    0 Do not download
    1 Normal priority
    6 High priority
    7 Maximal priority
    is_seed?: boolean

    True if file is seeding/complete

    piece_range?: number[]

    The first number is the starting piece index and the second number is the ending piece index (inclusive)

    availability?: number

    Percentage of file pieces currently available (percentage/100)