This commit is contained in:
2024-03-29 21:34:04 +01:00
parent 8817c5097a
commit cbcb08e467
+2 -2
View File
@@ -68,8 +68,8 @@ def update_music_list():
if __name__ == "__main__": if __name__ == "__main__":
rescan(app.logger.getChild()) rescan(app.logger.getChild("BGtask"))
thread = threading.Thread(target=thread_rescan, args=["Updater",app.logger.getChild()]) thread = threading.Thread(target=thread_rescan, args=["Updater",app.logger.getChild("BGtask")])
thread.start() thread.start()
app.run(debug=True, host="0.0.0.0") app.run(debug=True, host="0.0.0.0")
#from waitress import serve #from waitress import serve