From a2433e0e5eb1398b7378df23b802c2dc853f348c Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Wed, 4 Mar 2026 19:51:28 -0500 Subject: [PATCH] rearranged, started using different wgsi server --- Client/index.html | 2 +- Client/scripts.js | 2 +- Server/webbyBits.py | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) 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-->

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/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')