mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-10 18:36:15 -08:00
- Integrated external playback functionality in category and detail views. - Updated styles for play buttons to reflect different states (idle, launching, stop). - Enhanced episode cards to indicate launching and active external playback states. - Added new computed properties for managing external playback session states. - Improved user interface for playback buttons with dynamic labels and icons based on playback state. - Introduced new settings option to show external playback status bar on desktop. - Updated translations for new features and UI elements.
36 lines
947 B
TypeScript
36 lines
947 B
TypeScript
import { Language } from './language.enum';
|
|
import { StreamFormat } from './stream-format.enum';
|
|
import { Theme } from './theme.enum';
|
|
|
|
/**
|
|
* Contains all types of supported video players
|
|
*/
|
|
export enum VideoPlayer {
|
|
VideoJs = 'videojs',
|
|
Html5Player = 'html5',
|
|
MPV = 'mpv',
|
|
VLC = 'vlc',
|
|
ArtPlayer = 'artplayer',
|
|
}
|
|
|
|
/**
|
|
* Describes all available settings options of the application
|
|
*/
|
|
export interface Settings {
|
|
player: VideoPlayer;
|
|
epgUrl: string[];
|
|
streamFormat: StreamFormat;
|
|
language: Language;
|
|
showCaptions: boolean;
|
|
/** Show the desktop footer bar for external playback status */
|
|
showExternalPlaybackBar?: boolean;
|
|
theme: Theme;
|
|
mpvPlayerPath: string;
|
|
mpvReuseInstance: boolean;
|
|
vlcPlayerPath: string;
|
|
remoteControl: boolean;
|
|
remoteControlPort: number;
|
|
/** Custom download folder path (uses system Downloads folder if not set) */
|
|
downloadFolder?: string;
|
|
}
|