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

    Type Alias GetSubtitleWithTicksData

    type GetSubtitleWithTicksData = {
        body?: never;
        path: {
            routeItemId: string;
            routeMediaSourceId: string;
            routeIndex: number;
            routeStartPositionTicks: number;
            routeFormat: string;
        };
        query?: {
            itemId?: string;
            mediaSourceId?: string;
            index?: number;
            startPositionTicks?: number;
            format?: string;
            endPositionTicks?: number;
            copyTimestamps?: boolean;
            addVttTimeMap?: boolean;
        };
        url: "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}";
    }
    Index
    body?: never
    path: {
        routeItemId: string;
        routeMediaSourceId: string;
        routeIndex: number;
        routeStartPositionTicks: number;
        routeFormat: string;
    }

    Type Declaration

    • routeItemId: string

      The (route) item id.

    • routeMediaSourceId: string

      The (route) media source id.

    • routeIndex: number

      The (route) subtitle stream index.

    • routeStartPositionTicks: number

      The (route) start position of the subtitle in ticks.

    • routeFormat: string

      The (route) format of the returned subtitle.

    query?: {
        itemId?: string;
        mediaSourceId?: string;
        index?: number;
        startPositionTicks?: number;
        format?: string;
        endPositionTicks?: number;
        copyTimestamps?: boolean;
        addVttTimeMap?: boolean;
    }

    Type Declaration

    • OptionalitemId?: string

      The item id.

    • OptionalmediaSourceId?: string

      The media source id.

    • Optionalindex?: number

      The subtitle stream index.

    • OptionalstartPositionTicks?: number

      The start position of the subtitle in ticks.

    • Optionalformat?: string

      The format of the returned subtitle.

    • OptionalendPositionTicks?: number

      Optional. The end position of the subtitle in ticks.

    • OptionalcopyTimestamps?: boolean

      Optional. Whether to copy the timestamps.

    • OptionaladdVttTimeMap?: boolean

      Optional. Whether to add a VTT time map.

    url: "/Videos/{routeItemId}/{routeMediaSourceId}/Subtitles/{routeIndex}/{routeStartPositionTicks}/Stream.{routeFormat}"