updated manifest for PWA

solved some more issues, added some more issues, you know how it goes
This commit is contained in:
Kristy Fournier 2025-03-11 10:10:07 -04:00
parent 0f81492332
commit a7c9f8ec4b
7 changed files with 32 additions and 4 deletions

View file

@ -41,6 +41,8 @@ if args.mode.lower() == "update":
songDatabaseList["songData"].pop(i)
for i in songDatabaseList["songData"]:
songFiles.remove(i)
# This prints everything in the directory, including non mp3s
# theres not agood way to fix this without looping again.
print("new songs: " + ", ".join(songFiles))
elif args.mode.lower()=="new":
songDatabaseList={"songDirectory":soundLocation,'songData':{}}