mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-22 18:28:00 +00:00
22 lines
No EOL
531 B
JavaScript
22 lines
No EOL
531 B
JavaScript
import API from '../../../api.js';
|
|
|
|
export const getComskipConfig = async () => {
|
|
return await API.getComskipConfig();
|
|
};
|
|
|
|
export const uploadComskipIni = async (file) => {
|
|
return await API.uploadComskipIni(file);
|
|
};
|
|
|
|
export const getDvrSettingsFormInitialValues = () => {
|
|
return {
|
|
'tv_template': '',
|
|
'movie_template': '',
|
|
'tv_fallback_template': '',
|
|
'movie_fallback_template': '',
|
|
'comskip_enabled': false,
|
|
'comskip_custom_path': '',
|
|
'pre_offset_minutes': 0,
|
|
'post_offset_minutes': 0,
|
|
};
|
|
}; |