ready4testing
This commit is contained in:
parent
9be3aad60e
commit
1d08ba6432
@ -52,7 +52,7 @@ exports.play = function(idx) {
|
|||||||
if(channel !== undefined) {
|
if(channel !== undefined) {
|
||||||
var stream2play = channel.stream;
|
var stream2play = channel.stream;
|
||||||
|
|
||||||
/*try {
|
try {
|
||||||
var parsers = require("playlist-parser");
|
var parsers = require("playlist-parser");
|
||||||
var M3U = parsers.M3U;
|
var M3U = parsers.M3U;
|
||||||
|
|
||||||
@ -65,7 +65,7 @@ exports.play = function(idx) {
|
|||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
Log.error(e);
|
Log.error(e);
|
||||||
}*/
|
}
|
||||||
|
|
||||||
|
|
||||||
var ls = exec(
|
var ls = exec(
|
||||||
@ -79,6 +79,8 @@ exports.play = function(idx) {
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
setTimeout(function() { exec('echo "pause"', function(error, stdout, stderr) {}); }, 4000);
|
||||||
|
|
||||||
ls.on('exit', function (code){
|
ls.on('exit', function (code){
|
||||||
Log.log('Radio: Child process exited with exit code ' + code);
|
Log.log('Radio: Child process exited with exit code ' + code);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"logging": {
|
"logging": {
|
||||||
"mode": "friendly",
|
"mode": "friendly_",
|
||||||
"trace": "no"
|
"trace": "no"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user