{"action":"opened","issue":{"url":"https://api.github.com/repos/s-a/video-datetime-stamp/issues/1","repository_url":"https://api.github.com/repos/s-a/video-datetime-stamp","labels_url":"https://api.github.com/repos/s-a/video-datetime-stamp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/s-a/video-datetime-stamp/issues/1/comments","events_url":"https://api.github.com/repos/s-a/video-datetime-stamp/issues/1/events","html_url":"https://github.com/s-a/video-datetime-stamp/issues/1","id":161800284,"number":1,"title":"Receiving error in bin/render-stamp.js on line 20","user":{"login":"Drumsticks","id":1084110,"avatar_url":"https://avatars.githubusercontent.com/u/1084110?v=3","gravatar_id":"","url":"https://api.github.com/users/Drumsticks","html_url":"https://github.com/Drumsticks","followers_url":"https://api.github.com/users/Drumsticks/followers","following_url":"https://api.github.com/users/Drumsticks/following{/other_user}","gists_url":"https://api.github.com/users/Drumsticks/gists{/gist_id}","starred_url":"https://api.github.com/users/Drumsticks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Drumsticks/subscriptions","organizations_url":"https://api.github.com/users/Drumsticks/orgs","repos_url":"https://api.github.com/users/Drumsticks/repos","events_url":"https://api.github.com/users/Drumsticks/events{/privacy}","received_events_url":"https://api.github.com/users/Drumsticks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-22T22:20:26Z","updated_at":"2016-06-22T22:20:26Z","closed_at":null,"body":"Hello, I'm receiving the following error when running the following line:\r\n`node test/test'\r\n\r\nThe following error is what I receive and I am not sure why.\r\n$ mocha test/test\r\n\r\n\r\n  render a time stamp to MP4\r\nRendering F:\\videostamp\\video\\BigBuckBunny_320x180.mp4 to F:\\videostamp\\video\\BigBuckBunny_320x180.stamped.mp4\r\nfont: font/OpenSans-Regular.ttf\r\nvideo end Wednesday, July 15th 2015, 12:58:34 pm a year ago\r\nF:\\videostamp\\bin\\render-stamp.js:20\r\n        var duration =  (shell.exec(cmd).output.replace(/\\n/g, \"\").replace(/\\r/g, \"\")\r\n                                               ^\r\nTypeError: Cannot read property 'replace' of undefined\r\n    at getVideoDuration (F:\\videostamp\\bin\\render-stamp.js:20:41)\r\n    at convertVideo (F:\\videostamp\\bin\\render-stamp.js:77:17)\r\n    at Object.<anonymous> (F:\\videostamp\\bin\\render-stamp.js:107:2)\r\n    at Module._compile (module.js:460:26)\r\n    at Object.Module._extensions..js (module.js:478:10)\r\n    at Module.load (module.js:355:32)\r\n    at Function.Module._load (module.js:310:12)\r\n    at Function.Module.runMain (module.js:501:10)\r\n    at startup (node.js:129:16)\r\n    at node.js:814:3\r\n    1) should exit with error code 0\r\n    √ should exists an output file\r\n\r\n\r\n  1 passing (2s)\r\n  1 failing\r\n\r\n  1) render a time stamp to MP4 should exit with error code 0:\r\n\r\n      AssertionError: expected 1 to be 0\r\n      + expected - actual\r\n\r\n      -1\r\n      +0\r\n\r\n      at Assertion.fail (F:\\videostamp\\node_modules\\should\\cjs\\should.js:326:17)\r\n      at Assertion.Object.defineProperty.value (F:\\videostamp\\node_modules\\should\\cjs\\should.js:398:19)\r\n      at Context.<anonymous> (F:\\videostamp\\test\\test.js:20:22)\r\n      at callFn (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runnable.js:326:21)\r\n      at Test.Runnable.run (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runnable.js:319:7)\r\n      at Runner.runTest (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:422:10)\r\n      at C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:528:12\r\n      at next (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:342:14)\r\n      at C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:352:7\r\n      at next (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:284:14)\r\n      at Immediate._onImmediate (C:\\Users\\asdf\\AppData\\Roaming\\npm\\node_modules\\mocha\\lib\\runner.js:320:5)\r\n"}}
{"actor":{"display_login":"Drumsticks"}}