You've already forked XiguaLiveDanmakuHelper
添加强制清理功能,添加百度云上传功能,部分逻辑修改
This commit is contained in:
10
WebMain.py
10
WebMain.py
@ -23,8 +23,6 @@ def index():
|
||||
def readConfig():
|
||||
config = Common.config.copy()
|
||||
config.pop("b_p")
|
||||
config.pop("mtd")
|
||||
config.pop("del")
|
||||
config.pop("mv")
|
||||
return jsonify(config)
|
||||
|
||||
@ -88,6 +86,14 @@ def toggleForceStartUploadThread():
|
||||
}})
|
||||
|
||||
|
||||
@app.route("/force/start/clean", methods=["POST"])
|
||||
def toggleForceStartUploadThread():
|
||||
Common.doClean(True)
|
||||
Common.appendOperation("强制执行清理程序")
|
||||
return jsonify({"message":"ok","code":200,"status":0,"data":{
|
||||
}})
|
||||
|
||||
|
||||
@app.route("/encode/insert", methods=["POST"])
|
||||
def insertEncode():
|
||||
if "filename" in request.form and os.path.exists(request.form["filename"]):
|
||||
|
Reference in New Issue
Block a user