From b8d8095524479571e0af4d1ffe0b37ad345b01f8 Mon Sep 17 00:00:00 2001 From: devl0rd Date: Wed, 22 Apr 2020 17:02:09 -0600 Subject: [PATCH] cleanup --- .../Devlord_modules/conColors.js | 37 ------------------- .../Devlord_modules/conSplash.js | 13 ------- SkyNX-Streamer/NxStreamingService/main.js | 2 +- 3 files changed, 1 insertion(+), 51 deletions(-) delete mode 100644 SkyNX-Streamer/NxStreamingService/Devlord_modules/conColors.js delete mode 100644 SkyNX-Streamer/NxStreamingService/Devlord_modules/conSplash.js diff --git a/SkyNX-Streamer/NxStreamingService/Devlord_modules/conColors.js b/SkyNX-Streamer/NxStreamingService/Devlord_modules/conColors.js deleted file mode 100644 index e289af9..0000000 --- a/SkyNX-Streamer/NxStreamingService/Devlord_modules/conColors.js +++ /dev/null @@ -1,37 +0,0 @@ -//Authour: Dustin Harris -//GitHub: https://github.com/DevL0rd -var reset = "\x1b[0m"; - -var style = { - bright: "\x1b[1m", - dim: "\x1b[2m", - underscore: "\x1b[4m", - blink: "\x1b[5m", - reverse: "\x1b[7m", - hidden: "\x1b[8m" -} - -var fg = { - black: "\x1b[30m", - red: "\x1b[31m", - green: "\x1b[32m", - yellow: "\x1b[33m", - blue: "\x1b[34m", - magenta: "\x1b[35m", - cyan: "\x1b[36m", - white: "\x1b[37m" -} -var bg = { - black: "\x1b[40m", - red: "\x1b[41m", - green: "\x1b[42m", - yellow: "\x1b[43m", - blue: "\x1b[44m", - magenta: "\x1b[45m", - cyan: "\x1b[46m", - white: "\x1b[47m" -} -exports.bg = bg; -exports.fg = fg; -exports.style = style; -exports.reset = reset; \ No newline at end of file diff --git a/SkyNX-Streamer/NxStreamingService/Devlord_modules/conSplash.js b/SkyNX-Streamer/NxStreamingService/Devlord_modules/conSplash.js deleted file mode 100644 index e2bc85d..0000000 --- a/SkyNX-Streamer/NxStreamingService/Devlord_modules/conSplash.js +++ /dev/null @@ -1,13 +0,0 @@ -//Authour: Dustin Harris -//GitHub: https://github.com/DevL0rd -var cc = require('./conColors.js'); -console.log(cc.style.bright + cc.fg.blue) -console.log(" ____ ___ __ "); -console.log("/\\ _`\\ /\\_ \\ /\\ \\ "); -console.log("\\ \\ \\/\\ \\ __ __ __\\//\\ \\ ___ _ __ \\_\\ \\ "); -console.log(" \\ \\ \\ \\ \\ /'__`\\/\\ \\/\\ \\ \\ \\ \\ / __`\\/\\`'__\\/'_` \\ "); -console.log(" \\ \\ \\_\\ \\/\\ __/\\ \\ \\_/ | \\_\\ \\_/\\ \\_\\ \\ \\ \\//\\ \\_\\ \\ "); -console.log(" \\ \\____/\\ \\____\\\\ \\___/ /\\____\\ \\____/\\ \\_\\\\ \\___,_\\ "); -console.log(" \\/___/ \\/____/ \\/__/ \\/____/\\/___/ \\/_/ \\/__,_ / "); -console.log(" "); -console.log(cc.reset) \ No newline at end of file diff --git a/SkyNX-Streamer/NxStreamingService/main.js b/SkyNX-Streamer/NxStreamingService/main.js index ae336bd..c667208 100644 --- a/SkyNX-Streamer/NxStreamingService/main.js +++ b/SkyNX-Streamer/NxStreamingService/main.js @@ -70,7 +70,7 @@ function startVideoProcess() { console.log(`${data}`); }); ffmpegProcess.stderr.on('data', (data) => { - console.error(`ffmpegProcessErr: ${data}`); + console.error(`${data}`); }); ffmpegProcess.on('close', (code) => { console.log(`VideoProcess process exited with code ${code}`);