Type Alias XtreamChannel

XtreamChannel: {
    num: number;
    name: string;
    stream_type: string;
    stream_id: number;
    stream_icon: string;
    thumbnail: string;
    epg_channel_id: string;
    added: string;
    category_id: string;
    category_ids: number[];
    custom_sid: string;
    tv_archive: number;
    direct_source: string;
    tv_archive_duration: number;
    url?: string;
}

Xtream channel information

This type represents a live TV channel in the Xtream system

Type declaration

  • num: number

    The position/order number of the channel

  • name: string

    The name of the channel

  • stream_type: string

    The type of stream (e.g., "live")

  • stream_id: number

    The unique identifier for the stream

  • stream_icon: string

    The URL for the channel's logo

  • thumbnail: string

    The URL for the channel's cover image

  • epg_channel_id: string

    The Electronic Program Guide channel ID

  • added: string

    The date when the channel was added to the system

  • category_id: string

    The primary category ID of the channel

  • category_ids: number[]

    All category IDs the channel belongs to

  • custom_sid: string

    Custom stream identifier

  • tv_archive: number

    Flag indicating if TV archive is available (0/1)

  • direct_source: string

    The direct URL to the channel's source

  • tv_archive_duration: number

    The duration of available archive in days

  • Optionalurl?: string

    The URL to access the channel