From deeea9720a022a10c6cbbaf3cb71430f9177cda8 Mon Sep 17 00:00:00 2001 From: Kristy Fournier <124598538+kristy-fournier@users.noreply.github.com> Date: Tue, 22 Oct 2024 00:01:18 -0400 Subject: [PATCH] you know breezy stuff --- RaspberryPI/FlashDrive/info.json | 4 ++++ RaspberryPI/startup.py | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 RaspberryPI/FlashDrive/info.json diff --git a/RaspberryPI/FlashDrive/info.json b/RaspberryPI/FlashDrive/info.json new file mode 100644 index 0000000..2ee8f73 --- /dev/null +++ b/RaspberryPI/FlashDrive/info.json @@ -0,0 +1,4 @@ +{ + "port": 19054, + "LastFMKey":"" +} \ No newline at end of file diff --git a/RaspberryPI/startup.py b/RaspberryPI/startup.py index 84dd220..1c35700 100644 --- a/RaspberryPI/startup.py +++ b/RaspberryPI/startup.py @@ -1 +1,12 @@ -import threading +""" +Assume that this file is being run at startup, and should do all the things needed + () Check USB for new mp3's + () Check USB for updated data files (api keys, ports, ) + () Copy them to correct directory + () Make sure the audio device is set to the 3.5mm jack + () Run database updater if new files were found + () Run Server + () Run http module to host client + () Generate a qr code and display it somehow (maybe) +""" +import threading, os, shutil,