diff --git a/apps/web/src/app/services/electron.service.ts b/apps/web/src/app/services/electron.service.ts index b5b23de6e..5ded3f335 100644 --- a/apps/web/src/app/services/electron.service.ts +++ b/apps/web/src/app/services/electron.service.ts @@ -51,6 +51,8 @@ export class ElectronService extends DataService { XtreamCodeActions.GetVodCategories, XtreamCodeActions.GetSeriesCategories, XtreamCodeActions.GetShortEpg, + XtreamCodeActions.GetSimpleDataTable, + XtreamCodeActions.GetSimpleDateTable, ]); constructor() { diff --git a/apps/web/src/app/services/pwa.service.ts b/apps/web/src/app/services/pwa.service.ts index b3d20c234..3793c5716 100644 --- a/apps/web/src/app/services/pwa.service.ts +++ b/apps/web/src/app/services/pwa.service.ts @@ -63,6 +63,8 @@ export class PwaService extends DataService { XtreamCodeActions.GetVodCategories, XtreamCodeActions.GetSeriesCategories, XtreamCodeActions.GetShortEpg, + XtreamCodeActions.GetSimpleDataTable, + XtreamCodeActions.GetSimpleDateTable, ]); /** Proxy URL to avoid CORS issues */ diff --git a/apps/web/src/assets/i18n/en.json b/apps/web/src/assets/i18n/en.json index 81f628aae..536485cc8 100644 --- a/apps/web/src/assets/i18n/en.json +++ b/apps/web/src/assets/i18n/en.json @@ -307,6 +307,8 @@ "LIVE_NOW": "Live now", "LIVE_STREAM": "Live stream", "TIMESHIFT_AVAILABLE": "Timeshift is available, click to play", + "ARCHIVE_PLAYBACK_UNAVAILABLE_TITLE": "Archive playback is unavailable", + "ARCHIVE_PLAYBACK_UNAVAILABLE_DESCRIPTION": "This provider exposes schedule history for the channel, but does not expose playable archive/catch-up playback.", "EPG_NOT_AVAILABLE_DATE": "Ooops, EPG is not available for the selected date", "EPG_NOT_AVAILABLE_CHANNEL_TITLE": "Ooops, EPG is not available for this channel.", "EPG_NOT_AVAILABLE_CHANNEL_DESCRIPTION": "Please add/change the URL of the EPG list in the settings of the app.", diff --git a/apps/web/src/typings.d.ts b/apps/web/src/typings.d.ts index a17d42fab..658be0933 100644 --- a/apps/web/src/typings.d.ts +++ b/apps/web/src/typings.d.ts @@ -131,6 +131,10 @@ declare global { xtreamCancelSession: ( sessionId: string ) => Promise<{ success: boolean; cancelled: number }>; + xtreamProbeUrl: ( + url: string, + method?: 'GET' | 'HEAD' + ) => Promise<{ status: number; url: string }>; refreshPlaylist: ( payload: PlaylistRefreshPayload ) => Promise;