diff --git a/app/js/player.js b/app/js/player.js index 89ff349..6df23d6 100644 --- a/app/js/player.js +++ b/app/js/player.js @@ -4,7 +4,7 @@ import * as html from "./lib/html.js"; import * as format from "./lib/format.js"; import * as pubsub from "./lib/pubsub.js"; -const DELAY = 2000; +const DELAY = 1000; const DOM = {}; let current = {}; diff --git a/index.js b/index.js index 74809b0..dd862a7 100644 --- a/index.js +++ b/index.js @@ -60,3 +60,4 @@ function onRequest(request, response) { let httpServer = require("http").createServer(onRequest).listen(port); require("ws2mpd").ws2mpd(httpServer, `http://localhost:${port}`); +require("ws2mpd").logging(false); diff --git a/package.json b/package.json index 482b13f..b9650ad 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "main": "index.js", "dependencies": { "node-static": "^0.7.11", - "ws2mpd": "^1.0.0" + "ws2mpd": "^1.1.0" }, "devDependencies": { "less": "^3.9.0"