ready4testing

This commit is contained in:
Gerrit Linnemann 2015-11-02 15:44:13 +01:00
parent 9be3aad60e
commit 1d08ba6432
2 changed files with 5 additions and 3 deletions

View File

@ -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(
@ -78,6 +78,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);

View File

@ -14,7 +14,7 @@
} }
], ],
"logging": { "logging": {
"mode": "friendly", "mode": "friendly_",
"trace": "no" "trace": "no"
} }
} }