Unifying video download settings so that global/channel/rss/video

download settings have inheritance.  Allowing more granular control of
potentially failed downloads.
This commit is contained in:
Roland 2026-03-05 16:18:03 -07:00
parent 6be6fe6e19
commit 0ffbc05e91
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
13 changed files with 683 additions and 71 deletions

View file

@ -421,6 +421,11 @@ export async function fetchVideoDownloaderConfig() {
return await getConfig('videos_downloader.yaml');
}
export async function fetchVideoDownloadDefaults() {
const response = await apiGet(`${VIDEOS_API}/download-defaults`);
return await response.json();
}
export async function updateConfig(fileName, config) {
const body = {config};
const response = await apiPost(`${API_URI}/config?file_name=${fileName}`, body);