Skip to content

Update Module_aria2.asp #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions aria2/webs/Module_aria2.asp
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@
var ddnsto_ = {};
var params_input = ["aria2_cpulimit_value", "aria2_dir", "aria2_max_tries", "aria2_retry_wait", "aria2_referer", "aria2_disk_cache", "aria2_file_allocation", "aria2_rpc_listen_port", "aria2_event_poll", "aria2_rpc_secret", "aria2_max_concurrent_downloads", "aria2_max_connection_per_server", "aria2_min_split_size", "aria2_split", "aria2_max_overall_download_limit", "aria2_max_download_limit", "aria2_max_overall_upload_limit", "aria2_max_upload_limit", "aria2_lowest_speed_limit", "aria2_dht_listen_port", "aria2_bt_max_peers", "aria2_listen_port", "aria2_user_agent", "aria2_peer_id_prefix", "aria2_seed_ratio", "aria2_save_session_interval", "aria2_input_file", "aria2_save_session"]
var params_check1 = ["aria2_enable", "aria2_cpulimit_enable"];
var params_check2 = ["aria2_disable_ipv6", "aria2_continue", "aria2_enable_mmap", "aria2_enable_rpc", "aria2_rpc_allow_origin_all", "aria2_rpc_listen_all", "aria2_bt_enable_lpd", "aria2_enable_dht", "aria2_bt_require_crypto", "aria2_follow_torrent", "aria2_enable_peer_exchange", "aria2_force_save", "aria2_bt_hash_check_seed", "aria2_bt_seed_unverified", "aria2_bt_save_metadata"];
var params_check2 = ["aria2_disable_ipv6", "aria2_continue", "aria2_enable_mmap", "aria2_enable_rpc", "aria2_rpc_allow_origin_all", "aria2_rpc_listen_all", "aria2_bt_detach_seed_only", "aria2_bt_enable_lpd", "aria2_enable_dht", "aria2_bt_require_crypto", "aria2_follow_torrent", "aria2_enable_peer_exchange", "aria2_force_save", "aria2_bt_hash_check_seed", "aria2_bt_seed_unverified", "aria2_bt_save_metadata"];
var params_base64 = ["aria2_custom", "aria2_bt_tracker"];
var params_all = ["aria2_cpulimit_value", "aria2_dir", "aria2_max_tries", "aria2_retry_wait", "aria2_referer", "aria2_disk_cache", "aria2_file_allocation", "aria2_rpc_listen_port", "aria2_event_poll", "aria2_rpc_secret", "aria2_max_concurrent_downloads", "aria2_max_connection_per_server", "aria2_min_split_size", "aria2_split", "aria2_max_overall_download_limit", "aria2_max_download_limit", "aria2_max_overall_upload_limit", "aria2_max_upload_limit", "aria2_lowest_speed_limit", "aria2_dht_listen_port", "aria2_bt_max_peers", "aria2_listen_port", "aria2_user_agent", "aria2_peer_id_prefix", "aria2_seed_ratio", "aria2_save_session_interval", "aria2_input_file", "aria2_save_session", "aria2_enable", "aria2_cpulimit_enable", "aria2_disable_ipv6", "aria2_continue", "aria2_enable_mmap", "aria2_enable_rpc", "aria2_rpc_allow_origin_all", "aria2_rpc_listen_all", "aria2_bt_enable_lpd", "aria2_enable_dht", "aria2_bt_require_crypto", "aria2_follow_torrent", "aria2_enable_peer_exchange", "aria2_force_save", "aria2_bt_hash_check_seed", "aria2_bt_seed_unverified", "aria2_bt_save_metadata", "aria2_custom", "aria2_bt_tracker"];
var params_all = ["aria2_cpulimit_value", "aria2_dir", "aria2_max_tries", "aria2_retry_wait", "aria2_referer", "aria2_disk_cache", "aria2_file_allocation", "aria2_rpc_listen_port", "aria2_event_poll", "aria2_rpc_secret", "aria2_max_concurrent_downloads", "aria2_max_connection_per_server", "aria2_min_split_size", "aria2_split", "aria2_max_overall_download_limit", "aria2_max_download_limit", "aria2_max_overall_upload_limit", "aria2_max_upload_limit", "aria2_lowest_speed_limit", "aria2_dht_listen_port", "aria2_bt_max_peers", "aria2_listen_port", "aria2_user_agent", "aria2_peer_id_prefix", "aria2_seed_ratio", "aria2_save_session_interval", "aria2_input_file", "aria2_save_session", "aria2_enable", "aria2_cpulimit_enable", "aria2_disable_ipv6", "aria2_continue", "aria2_enable_mmap", "aria2_enable_rpc", "aria2_rpc_allow_origin_all", "aria2_rpc_listen_all", "aria2_bt_detach_seed_only", "aria2_bt_enable_lpd", "aria2_enable_dht", "aria2_bt_require_crypto", "aria2_follow_torrent", "aria2_enable_peer_exchange", "aria2_force_save", "aria2_bt_hash_check_seed", "aria2_bt_seed_unverified", "aria2_bt_save_metadata", "aria2_custom", "aria2_bt_tracker"];
function init() {
show_menu(menu_hook);
get_dbus_data();
Expand Down Expand Up @@ -1691,6 +1691,15 @@
</div>
<div id="aria2_bt_table" style="margin:-1px 0px 0px 0px;display: none;">
<table style="margin:-1px 0px 0px 0px;" width="100%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="FormTable">
<tr>
<td style="width:25%;">
<label>分离仅做种任务(bt-detach-seed-only)</label>
</td>
<td>
<input type="checkbox" id="aria2_bt_detach_seed_only" name="aria2_bt_detach_seed_only" />
<small>*</small>
</td>
</tr>
<tr>
<td style="width:25%;">
<label>启用本地节点查找(LPD)</label>
Expand Down