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,