From 37945ccced3eee0280949fde2156cfd487cd74b5 Mon Sep 17 00:00:00 2001 From: Kristy Fournier Date: Wed, 21 Jan 2026 18:36:41 -0500 Subject: [PATCH] updated example.env also rearranged imports and wishlist --- Server/databaseGenerator.py | 3 +-- Server/example.env | 6 +++++- wishlist.md | 4 ++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Server/databaseGenerator.py b/Server/databaseGenerator.py index 99e2fe5..ebf8263 100644 --- a/Server/databaseGenerator.py +++ b/Server/databaseGenerator.py @@ -1,10 +1,9 @@ -import os from mutagen.easyid3 import EasyID3 from mutagen.mp3 import MP3 import mutagen.flac import mutagen.wave import sqlite3 as sql -import requests, ast, time, math, argparse, dotenv +import requests, ast, time, math, argparse, dotenv, os loading = ["-","\\","|","/"] diff --git a/Server/example.env b/Server/example.env index 98fc312..8167158 100644 --- a/Server/example.env +++ b/Server/example.env @@ -1,3 +1,7 @@ API_KEY= DIRECTORY=./sound -SERVER_PORT=19054 \ No newline at end of file +SERVER_PORT=19054 + +#API_KEY = a lastfm api key +#Directory = either a relative or concrete directory, default is subdirectory "sound", should work on unix and windows +#server_port= the port for the webbybits.py flask server \ No newline at end of file diff --git a/wishlist.md b/wishlist.md index 1b20f9b..02df8c5 100644 --- a/wishlist.md +++ b/wishlist.md @@ -3,9 +3,9 @@ - [x] Admin password * Allows restricting certain features and changing permissions on the fly on the client - [ ] Refactoring existing code + - [x] Remove old comments - [ ] Update the SQL -> Server -> Client pipeline when searching and building playlist - [ ] Verify all if-else sequences are correct and not redundant - - [x] Remove old comments - [ ] Security Updates - [x] `.env` file for the api keys and other runtime info to be set, rather than in the `.py` files - [ ] Hashing rather than plaintext sending passwords (that way at least the password text itself isn't transmitted over the network) @@ -16,8 +16,8 @@ - [ ] GUI update for client - [x] Playlist items look cleaner - [x] Dark mode - - [ ] Google material design (Not sure I want this anymore) - [ ] New Icons + - [ ] Google material design (Not sure I want this anymore) - [ ] "Credit" system so each client can only add a set number of songs - Based on time period, number in queue, other possible ideas for credits - Without a login system there's no easy way to give credits to specific clients (and a login is beyond scope of what I want to do)