mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-28 19:06:19 -05:00
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:
parent
6be6fe6e19
commit
0ffbc05e91
13 changed files with 683 additions and 71 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue