Work to add Youtube downloads, video and image uploads, and the player script

This commit is contained in:
Bradley committed 2026-11-13 17:37:31 -05:00
1 parent a3f55a8c35
commit 92d6473e1d
15 files changed
+1047 -79

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
from flask import Flask, g
from blueprints.home.home import home_bp
from blueprints.upload_photo.upload_photo import upload_photo_bp
from blueprints.upload_video.upload_video import upload_video_bp
from blueprints.configure_stream.configure_stream import configure_stream_bp
from blueprints.youtube_download.youtube_download import youtube_download_bp
import os
@@ -15,8 +16,10 @@ if not os.path.exists(config_json["upload_location"]):
app = Flask(__name__)
app.config["MAX_CONTENT_LENGTH"] = 3 * (1024 ** 3)
app.config["config"] = config_json
app.config["CONFIG_DIRECTORY"] = os.path.dirname(os.path.abspath("config.json"))
app.register_blueprint(home_bp)
app.register_blueprint(upload_photo_bp)
app.register_blueprint(upload_video_bp)
app.register_blueprint(configure_stream_bp)
app.register_blueprint(youtube_download_bp)