mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-05 04:53:01 +00:00
add back the non-chunked streaming endpoint
This commit is contained in:
@@ -49,23 +49,24 @@ werkzeug.setLevel(logging.ERROR)
|
||||
|
||||
|
||||
# Background tasks
|
||||
@background
|
||||
def bg_run_setup():
|
||||
run_periodic_scans()
|
||||
# @background
|
||||
# def bg_run_setup():
|
||||
# pass
|
||||
# run_periodic_scans()
|
||||
|
||||
|
||||
@background
|
||||
def start_watchdog():
|
||||
WatchDog().run()
|
||||
# @background
|
||||
# def start_watchdog():
|
||||
# WatchDog().run()
|
||||
|
||||
|
||||
@background
|
||||
def run_swingmusic():
|
||||
log_startup_info()
|
||||
bg_run_setup()
|
||||
# bg_run_setup()
|
||||
register_plugins()
|
||||
|
||||
start_watchdog()
|
||||
# start_watchdog()
|
||||
|
||||
setproctitle.setproctitle(f"swingmusic ::{FLASKVARS.get_flask_port()}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user