feat: add new Xtream actions and enhance internationalization for archive playback

This commit is contained in:
4gray committed 2026-04-05 19:04:55 +02:00
1 parent d22515657d
commit 2659d52cb9
4 files changed
+10

No files matched your search

@@ -51,6 +51,8 @@ export class ElectronService extends DataService {
XtreamCodeActions.GetVodCategories,
XtreamCodeActions.GetSeriesCategories,
XtreamCodeActions.GetShortEpg,
XtreamCodeActions.GetSimpleDataTable,
XtreamCodeActions.GetSimpleDateTable,
]);
constructor() {
+2
View File
@@ -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 */
+2
View File
@@ -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.",
+4
View File
@@ -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<Playlist>;