Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export const FFMPEGSubmisison = () => {
let state = store.getState();
state = validateFFMPEG(state);
console.log(state);
store.dispatch(notify({
title: 'SUCCESS',
message: 'Sent Command, now processing, notification will be sent when completed',
status: 'info',
dismissible: true,
"buttons": [{
"name": "OK",
"primary": true
}]
}));
$.ajax({
url: 'http://127.0.0.1:8000/liquid-dl/ffmpeg-submit',
type: 'GET',
data: {
inputFormat: state.ffmpeg.inputFormat,
input_path: state.ffmpeg.input_path,
export const ErrorNotificationFactory = (message) => {
return store.dispatch(notify({
title: 'CAUTION',
message: '' + message,
status: 'error',
dismissible: true,
dismissAfter: 6000,
"buttons": [{
"name": "OK",
"primary": true
}]
}));
};
export const FFMPEGSubmisison = () => {
let state = store.getState();
state = validateFFMPEG(state);
store.dispatch(notify({
title: 'SUCCESS',
message: 'Sent Command, now processing, notification will be sent when completed',
status: 'info',
dismissible: true,
"buttons": [{
"name": "OK",
"primary": true
}]
}));
$.ajax({
url: 'http://' + state.global.server_ip + ":" + state.global.server_port + '/liquid-dl/ffmpeg-submit',
type: 'GET',
data: {
operating_system: getOS(),
input_format: state.ffmpeg.inputFormat,