mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-14 05:06:16 -08:00
Merge remote-tracking branch 'origin/master' into claude/vod-multi-source-49a8ba
This commit is contained in:
commit
26b820cc29
60 files changed
+2772
-160
No files matched your search
@@ -182,6 +182,18 @@ export interface ElectronBridgeWindowState {
|
||||
isFullScreen: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* A playlist file the operating system asked the app to open — a command line
|
||||
* argument, a file association double-click, or macOS' `open-file` event. The
|
||||
* main process resolves the path to an absolute one before handing it over.
|
||||
*/
|
||||
export interface ElectronBridgePlaylistOpenRequest {
|
||||
fileName: string;
|
||||
filePath: string;
|
||||
/** Pass back to `acknowledgePlaylistOpenRequest` once received. */
|
||||
requestId: string;
|
||||
}
|
||||
|
||||
export interface ElectronBridgeAppUpdateRelease {
|
||||
version: string;
|
||||
releaseDate?: string;
|
||||
@@ -575,6 +587,21 @@ export interface ElectronBridgeApi {
|
||||
title: string
|
||||
) => Promise<Playlist>;
|
||||
openPlaylistFromFile: () => Promise<Playlist | null>;
|
||||
onPlaylistOpenRequest: (
|
||||
callback: (request: ElectronBridgePlaylistOpenRequest) => void
|
||||
) => () => void;
|
||||
/**
|
||||
* Tells the main process that an `onPlaylistOpenRequest` listener is
|
||||
* attached, so it can push the playlist files the OS handed over — both
|
||||
* the ones queued before this renderer existed and any that arrive later.
|
||||
* Call it *after* subscribing.
|
||||
*/
|
||||
announcePlaylistOpenListener: () => Promise<void>;
|
||||
/**
|
||||
* Confirms a pushed request reached this renderer. Until it does, the main
|
||||
* process keeps the request and replays it to the next renderer.
|
||||
*/
|
||||
acknowledgePlaylistOpenRequest: (requestId: string) => Promise<void>;
|
||||
getPathForFile: (file: File) => string;
|
||||
saveFileDialog: (
|
||||
defaultPath: string,
|
||||
|
||||
Reference in new issue
Block a user