mirror of
https://github.com/neosubhamoy/neodlp.git
synced 2025-12-20 06:39:34 +05:30
(feat): added global video/audio file format selection settings and other minor improvements
This commit is contained in:
@@ -12,5 +12,8 @@ export interface Settings {
|
||||
prefer_video_over_playlist: boolean;
|
||||
use_proxy: boolean;
|
||||
proxy_url: string;
|
||||
video_format: string;
|
||||
audio_format: string;
|
||||
// extension settings
|
||||
websocket_port: number;
|
||||
}
|
||||
@@ -58,6 +58,8 @@ export interface DownloadActionStatesStore {
|
||||
|
||||
export interface SettingsPageStatesStore {
|
||||
activeTab: string;
|
||||
activeSubAppTab: string;
|
||||
activeSubExtTab: string;
|
||||
appVersion: string | null;
|
||||
isFetchingAppVersion: boolean;
|
||||
ytDlpVersion: string | null;
|
||||
@@ -72,6 +74,8 @@ export interface SettingsPageStatesStore {
|
||||
isUpdatingApp: boolean;
|
||||
appUpdateDownloadProgress: number;
|
||||
setActiveTab: (tab: string) => void;
|
||||
setActiveSubAppTab: (tab: string) => void;
|
||||
setActiveSubExtTab: (tab: string) => void;
|
||||
setAppVersion: (version: string | null) => void;
|
||||
setIsFetchingAppVersion: (isFetching: boolean) => void;
|
||||
setYtDlpVersion: (version: string | null) => void;
|
||||
|
||||
Reference in New Issue
Block a user