Commit 5d1ca452 authored by Andrey Filippov's avatar Andrey Filippov

changed set_prefix to set_prefix_raw

parent c07862e5
...@@ -86,7 +86,7 @@ var record_en = 0; ...@@ -86,7 +86,7 @@ var record_en = 0;
var multicam_dir = ""; var multicam_dir = "";
var multicam_rperiod = 5.0; // image refresh period var multicam_rperiod = 5.0; // image refresh period
var multicam_speriod = 2.0; // status refresh period var multicam_speriod = 2.0; // status refresh period
var use_file_system = 1; // no fast recording var use_file_system = 0; // 1; // no fast recording
var rec_running_intvl; var rec_running_intvl;
var refresh_status_intvl; var refresh_status_intvl;
var refresh_previews_intvl; var refresh_previews_intvl;
...@@ -1398,7 +1398,7 @@ function updateConfifs(){ // write modified settings to the master camera persis ...@@ -1398,7 +1398,7 @@ function updateConfifs(){ // write modified settings to the master camera persis
function setDirMulti(){ function setDirMulti(){
// url = "camogm_interface.php?cmd=dir_prefix&name=" + multicam_dir; // url = "camogm_interface.php?cmd=dir_prefix&name=" + multicam_dir;
url = "camogm_interface.php?cmd=set_prefix&name=" + multicam_dir; // can not mkdir before mounted url = "camogm_interface.php?cmd=set_prefix_raw&name=" + multicam_dir; // can not mkdir before mounted
console.log("setDirMulti(), url="+url); console.log("setDirMulti(), url="+url);
multi_ajax(url,function(){ multi_ajax(url,function(){
console.log(this.ip+": dir_prefix " + multicam_dir); console.log(this.ip+": dir_prefix " + multicam_dir);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment