diff --git a/Client/index.html b/Client/index.html index 70b36c0..3a86b52 100644 --- a/Client/index.html +++ b/Client/index.html @@ -111,7 +111,7 @@ changes visibility with JS-->
Wipe the playlist, except the currently playing song*
+Wipe the playlist, except the currently playing song. With PartyMode enabled, a second song will be added back randomly
PartyJukebox is under an AGPLV3 liscense. You can access the source code here.
diff --git a/Client/scripts.js b/Client/scripts.js index cd7cb03..58e923b 100644 --- a/Client/scripts.js +++ b/Client/scripts.js @@ -83,7 +83,7 @@ async function getFromServer(bodyInfo, source="", secure=false, password=adminPa if (e.toString().includes("TypeError: Failed to fetch")){ alertText("Error: Can't Connect to Server (is the ip set?)") } else { - alertText("Error: " + e); + alertText(e); } const response=null; return response; diff --git a/Server/webbyBits.py b/Server/webbyBits.py index 25e245b..0e0560f 100644 --- a/Server/webbyBits.py +++ b/Server/webbyBits.py @@ -1,9 +1,12 @@ +import eventlet +eventlet.monkey_patch() from flask import Flask from flask import request from flask_cors import CORS from flask_socketio import SocketIO import sqlite3 as sql import vlc,threading,time,random,argparse,dotenv,os,hashlib,string + # Argparse Stuff parser=argparse.ArgumentParser(description="Options for the Webby Bits") # parser.add_argument('-p','--port',help="Port to host on, not the same as the web (client) port",default='19054')