From f2dfafbc6e9974c85068e2fba2445668985566dd Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Tue, 2 Jun 2020 16:40:47 +0200 Subject: [PATCH 1/3] webui: finished using destructuring synthax when useful --- webui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui b/webui index 791e218..e59ff93 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit 791e218154b9ed80e2363a7dfd881f8041c72112 +Subproject commit e59ff93b1d11a2c06f9b1cbb8bc88b3f479a5681 From a028efbcdd6a1fcf3231356e588dcf1dceaa1e71 Mon Sep 17 00:00:00 2001 From: Roberto Tonino Date: Wed, 3 Jun 2020 18:32:00 +0200 Subject: [PATCH 2/3] webui: added rollup-plugin-analyzer to retrieve useful information when building --- webui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui b/webui index e59ff93..da657bb 160000 --- a/webui +++ b/webui @@ -1 +1 @@ -Subproject commit e59ff93b1d11a2c06f9b1cbb8bc88b3f479a5681 +Subproject commit da657bbdcc1bb61938f0392f77cd170d632847df From c7d9413dab5889fc32040cb2e3ad42ad77737254 Mon Sep 17 00:00:00 2001 From: RemixDev Date: Wed, 3 Jun 2020 19:03:37 +0200 Subject: [PATCH 3/3] Added backend support for link analyzer link not recognized --- README.md | 2 +- server.py | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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 92924f6..3f5a27c 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):