Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(downloader): New option to download on finish #1964

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/i18n/resources/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@
"menu": {
"choose-download-folder": "Downloadordner wählen",
"download-playlist": "Wiedergabeliste herunterladen",
"download-finish": "Wenn Song endet herunterladen",
"presets": "Voreinstellungen",
"skip-existing": "Vorhandene Dateien überspringen"
},
Expand Down
1 change: 1 addition & 0 deletions src/i18n/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@
"menu": {
"choose-download-folder": "Choose download folder",
"download-playlist": "Download playlist",
"download-finish": "When song ends download",
"presets": "Presets",
"skip-existing": "Skip existing files"
},
Expand Down
2 changes: 2 additions & 0 deletions src/plugins/downloader/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { t } from '@/i18n';
export type DownloaderPluginConfig = {
enabled: boolean;
downloadFolder?: string;
downloadOnFinish: boolean;
selectedPreset: string;
customPresetSetting: Preset;
skipExisting: boolean;
Expand All @@ -20,6 +21,7 @@ export type DownloaderPluginConfig = {
export const defaultConfig: DownloaderPluginConfig = {
enabled: false,
downloadFolder: undefined,
downloadOnFinish: false,
selectedPreset: 'mp3 (256kbps)', // Selected preset
customPresetSetting: DefaultPresetList['mp3 (256kbps)'], // Presets
skipExisting: false,
Expand Down
Loading
Loading