From 3cabee14e3b1990caebbea8385533567583599ab Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Sun, 20 Mar 2016 14:11:18 +0000 Subject: [PATCH] Removed update, reyling on OS file detection --- README.md | 9 +++++++++ cmdlistener.py | 1 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2232c90..9fda28e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,15 @@ # matrix-mpd-dj A matrix bot for controlling a mpd music stream +Setup +----- +You need: +- A working MPD Setup +- MPC installed +- A http stream +- A folder that this script can write and read to for music files. +- Auto update turned on in mpd + Commands -------- The current command selection is listed below: diff --git a/cmdlistener.py b/cmdlistener.py index 9077cbb..b7e66a6 100644 --- a/cmdlistener.py +++ b/cmdlistener.py @@ -88,7 +88,6 @@ class CmdListener: print(e) room.send_text("Couldn't download the file :(") return; - self.mpc.update(True) sleep(3) self.mpc.add(f) pos = len(self.mpc.playlist().split('\n'))-1