diff --git a/Server/static/scripts.js b/Server/static/scripts.js index c089880..25ce887 100644 --- a/Server/static/scripts.js +++ b/Server/static/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/templates/index.html b/Server/templates/index.html index 3ec8ddc..0811395 100644 --- a/Server/templates/index.html +++ b/Server/templates/index.html @@ -111,7 +111,7 @@ changes visibility with JS-->

Clear the playlist

-

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/Server/webbyBits.py b/Server/webbyBits.py index fea2afe..0017481 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,render_template 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')