mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
feat: enhance Xtream data models and services with EPG support, including new fields for content and improved API handling
This commit is contained in:
1 parent
fb04b0b0f5
commit
12eca90e4a
19 files changed
+1120
-30
No files matched your search
@@ -8,6 +8,8 @@ export interface EpgProgram {
|
||||
title: string;
|
||||
desc: string | null;
|
||||
category: string | null;
|
||||
startTimestamp?: number | null;
|
||||
stopTimestamp?: number | null;
|
||||
date?: string;
|
||||
episodeNum?: string | null;
|
||||
iconUrl?: string | null;
|
||||
|
||||
@@ -9,4 +9,6 @@ export enum XtreamCodeActions {
|
||||
GetVodCategories = 'get_vod_categories',
|
||||
GetVodInfo = 'get_vod_info',
|
||||
GetShortEpg = 'get_short_epg',
|
||||
GetSimpleDataTable = 'get_simple_data_table',
|
||||
GetSimpleDateTable = 'get_simple_date_table',
|
||||
}
|
||||
@@ -8,6 +8,9 @@ export interface XtreamItem {
|
||||
category_id: string;
|
||||
custom_sid: string;
|
||||
direct_source: string;
|
||||
epg_channel_id?: string;
|
||||
tv_archive?: number;
|
||||
tv_archive_duration?: number;
|
||||
rating_imdb?: string;
|
||||
xtream_id?: number;
|
||||
type?: 'movie' | 'series' | 'live';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { XtreamItem } from './xtream-item.interface';
|
||||
|
||||
export interface XtreamLiveStream extends XtreamItem {
|
||||
stream_type: 'live';
|
||||
epg_channel_id?: number;
|
||||
epg_channel_id?: string;
|
||||
tv_archive: number;
|
||||
tv_archive_duration: number;
|
||||
}
|
||||
Reference in new issue
Block a user