diff --git a/README.md b/README.md index ab684a6..ff0b7b3 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ NOTES: - You also might need [.NET 4.0](https://www.microsoft.com/en-us/download/details.aspx?id=17718) installed After installing Python open a terminal/command prompt and install the dependencies using `python3 -m pip install -U -r requirements.txt --user`
-If you're using git to get this repo you should use `git submodule update --init --recursive` as well. If you're just downloading the archive.zip, make sure you download and extract [deemix-webui](https://notabug.org/RemixDev/deemix-webui) into the webui folder. +If you're using git to get this repo you should use `git submodule update --init --recursive` as well. If you're just downloading the archive.zip, make sure you download and extract [deemix-webui](https://notabug.org/RemixDev/deemix-webui) into the webui folder.
Run `python3 server.py` to start the server and then connect to `127.0.0.1:9666`. The GUI should show up.
If you don't want to use your browser you can start the GUI by using `python3 deemix_gui.py`
diff --git a/server.py b/server.py index 86ce669..9de17b3 100644 --- a/server.py +++ b/server.py @@ -230,7 +230,10 @@ def getTracklist(data): @socketio.on('analyzeLink') def analyzeLink(link): (type, data) = app.analyzeLink(session['dz'], link) - emit('analyze_'+type, data) + if len(data): + emit('analyze_'+type, data) + else: + emit('analyze_notSupported') @socketio.on('getChartTracks') def getChartTracks(id): diff --git a/webui b/webui index e59ff93..da657bb 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit e59ff93b1d11a2c06f9b1cbb8bc88b3f479a5681 +Subproject commit da657bbdcc1bb61938f0392f77cd170d632847df