feat: 合成 MP4 时带上独立音频并支持按剧重新下载
This commit is contained in:
@@ -83,6 +83,21 @@ def resume_all_downloads():
|
||||
return downloads.resume_all()
|
||||
|
||||
|
||||
@router.post("/remux")
|
||||
def remux_downloads():
|
||||
return call(downloads.remux_saved)
|
||||
|
||||
|
||||
@router.post("/{drama_id}/remux")
|
||||
def remux_one_download(drama_id: str):
|
||||
return call(lambda: downloads.remux_job(drama_id))
|
||||
|
||||
|
||||
@router.post("/{drama_id}/redownload")
|
||||
def redownload_one(drama_id: str):
|
||||
return call(lambda: downloads.redownload(drama_id))
|
||||
|
||||
|
||||
@router.post("/{drama_id}/pause")
|
||||
def pause_download(drama_id: str):
|
||||
return downloads.pause(drama_id)
|
||||
|
||||
Reference in New Issue
Block a user