JSONAPIXtreamMovie: {
    type: "movie";
    id: string;
    attributes: {
        informationUrl: string;
        tmdbId: string;
        name: string;
        originalName: string;
        cover: string;
        poster: string;
        releaseDate: Date | null;
        youtubeId: string | null;
        director: string[];
        actors: string[];
        cast: string[];
        description: string | null;
        plot: string | null;
        rating: { age: number; mpaa: string };
        country: string;
        genre: string[];
        duration: number;
        durationFormatted: string;
        video?: Partial<CamelCaseKeys<XtreamVideoInfo, true>>;
        audio?: Partial<CamelCaseKeys<XtreamAudioInfo, true>>;
        bitrate?: number;
        subtitles: string[];
        voteAverage: number;
        createdAt: Date;
        url?: string;
    };
    relationships?: {
        categories?: { data: { type: "movie-category"; id: string }[] };
    };
}

JSON:API Xtream movie information

Type declaration

  • type: "movie"
  • id: string

    The unique identifier for the stream

  • attributes: {
        informationUrl: string;
        tmdbId: string;
        name: string;
        originalName: string;
        cover: string;
        poster: string;
        releaseDate: Date | null;
        youtubeId: string | null;
        director: string[];
        actors: string[];
        cast: string[];
        description: string | null;
        plot: string | null;
        rating: { age: number; mpaa: string };
        country: string;
        genre: string[];
        duration: number;
        durationFormatted: string;
        video?: Partial<CamelCaseKeys<XtreamVideoInfo, true>>;
        audio?: Partial<CamelCaseKeys<XtreamAudioInfo, true>>;
        bitrate?: number;
        subtitles: string[];
        voteAverage: number;
        createdAt: Date;
        url?: string;
    }
    • informationUrl: string

      The URL to the movie's tmdb/imdb etc page

    • tmdbId: string

      The ID of the movie in The Movie Database (TMDB)

    • name: string

      The title of the movie

    • originalName: string

      The original title of the movie

    • cover: string

      The URL for the movie's cover image

    • poster: string

      The URL for the movie's image

    • releaseDate: Date | null

      The release date of the movie

    • youtubeId: string | null

      The YouTube ID or URL for the trailer

    • director: string[]

      The director(s) of the movie

    • actors: string[]

      The actors in the movie

    • cast: string[]

      The cast of the movie

    • description: string | null

      The synopsis/description of the movie

    • plot: string | null

      The plot of the movie

    • rating: { age: number; mpaa: string }

      The age abd MPAA rating of the movie

    • country: string

      The country of origin for the movie

    • genre: string[]

      The genre(s) of the movie

    • duration: number

      The duration of the movie in seconds

    • durationFormatted: string

      The formatted duration of the movie

    • Optionalvideo?: Partial<CamelCaseKeys<XtreamVideoInfo, true>>

      Video stream information

    • Optionalaudio?: Partial<CamelCaseKeys<XtreamAudioInfo, true>>

      Audio stream information

    • Optionalbitrate?: number

      Bitrate of the stream

    • subtitles: string[]

      Array of available subtitles

    • voteAverage: number

      The rating of the movie

    • createdAt: Date

      The date when the movie was added to the system

    • Optionalurl?: string

      URL to access the stream

  • Optionalrelationships?: { categories?: { data: { type: "movie-category"; id: string }[] } }

    The movie relationships

    • Optionalcategories?: { data: { type: "movie-category"; id: string }[] }

      The categories relationship if applicable