Merge pull request #5 from kristy-fournier/admin-mode

Admin mode
This commit is contained in:
Kristy Fournier 2025-10-05 09:06:34 -04:00 committed by GitHub
commit 0034708091
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 167 additions and 23 deletions

View file

@ -28,6 +28,9 @@ webbyBits.py
* *If getting images, this process may take a long time with a large amount of mp3 files*
4. Run `webbyBits.py`
* *The port can be customized at runtime using* `-p portNumber` *as an atribute*
* *You can add an admin password at runtime with* `-a AdminPass` *as an atribute*
* ***NOTE: Do not reuse ANY password for this, it is 100% unsecure. The best option is just a random string you write down once***
* This is intended for protecting certain features for small closed events, not for public security
You can now connect with the client and use the app as normal. \
*Make sure you have turned down/off any other apps that might make noise or notification sounds* \
@ -57,6 +60,16 @@ These are specific details on each section of the app, and how to use them
- Uses port 19054 by default
- `--port (port)` changes the port for that run
- The default port can be changed in the file
- Running with `--admin (admin password)` sets an admin password for moderation on the client
- ***Note: Do not reuse a password, consider this like making whatever this string is public, no security is guaranteed***
- Anyone who knows the admin password can enter it on the client and change the abilities of any non-admin users (for example to limit skipping)
- The total set of features that can be restricted is
- Skip track
- Play-pause toggle
- Add track
- Partymode toggle
- Change volume
- When this argument is left out (or empty string) the admin features aren't used, and everyone can do everything
### Client:
![image](./Screenshot_MAIN.png) \