목록 메뉴에 전체 중지 버튼 추가
This commit is contained in:
@@ -43,7 +43,7 @@ menu = {
|
||||
}
|
||||
|
||||
plugin_info = {
|
||||
'version': '1.6.10',
|
||||
'version': '1.6.11',
|
||||
'name': 'youtube-dl',
|
||||
'category_name': 'vod',
|
||||
'developer': 'joyfuI',
|
||||
@@ -149,6 +149,11 @@ def ajax(sub):
|
||||
ret.append(data)
|
||||
return jsonify(ret)
|
||||
|
||||
elif sub == 'all_stop':
|
||||
for i in LogicNormal.youtube_dl_list:
|
||||
i.stop()
|
||||
return jsonify([])
|
||||
|
||||
elif sub == 'stop':
|
||||
index = int(request.form['index'])
|
||||
LogicNormal.youtube_dl_list[index].stop()
|
||||
|
||||
Reference in New Issue
Block a user