'ip_overhead_upload_rate': 'net.sent_ip_overhead_bytes', 'ip_overhead_download_rate': 'net.recv_ip_overhead_bytes', # Session status rate keys associated with session status counters. 'up_bandwidth_queue': 'net.limiter_up_queue',
'up_bandwidth_bytes_queue': 'net.limiter_up_bytes', # 'unchoke_counter': None, # lt.settings_pack 'total_tracker_upload': 'net.sent_tracker_bytes', 'total_tracker_download': 'net.recv_tracker_bytes', 'total_redundant_bytes': 'net.recv_redundant_bytes', 'total_payload_upload': 'net.sent_payload_bytes', 'total_payload_download': 'net.recv_payload_bytes', 'total_ip_overhead_upload': 'net.sent_ip_overhead_bytes', 'total_ip_overhead_download': 'net.recv_ip_overhead_bytes', 'total_failed_bytes': 'net.recv_failed_bytes', 'total_dht_download': 'dht.dht_bytes_in', # 'optimistic_unchoke_counter': None, # lt.settings_pack 'num_unchoked': 'peer.num_peers_up_unchoked', 'has_incoming_connections': 'net.has_incoming_connections', 'down_bandwidth_queue': 'net.limiter_down_queue', 'down_bandwidth_bytes_queue': 'net.limiter_down_bytes', 'allowed_upload_slots': 'ses.num_unchoke_slots', # 'active_requests': None, # In dht_stats_alert, if required. decorators import deprecated, maybe_coroutineįrom deluge. torrentmanager import TorrentManagerįrom deluge. preferencesmanager import PreferencesManagerįrom deluge. pluginmanager import PluginManagerįrom deluge. filtermanager import FilterManagerįrom deluge. eventmanager import EventManagerįrom deluge. alertmanager import AlertManagerįrom deluge. configmanager import ConfigManager, get_config_dirįrom deluge. _libtorrent import LT_VERSION, ltįrom deluge.
client import Agent, readBodyįrom deluge. internet import defer, reactor, taskįrom twisted. request import URLError, urlopenįrom twisted. # the additional special exception to link portions of this program with the OpenSSL library.įrom typing import Any, Dict, List, Optional, Tuple, Unionįrom urllib.
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with Core Class _init_ Function start Function stop Function shutdown Function apply_session_setting Function apply_session_settings Function _create_peer_id Function substitute_chr Function _save_session_state Function _load_session_state Function _on_alert_session_stats Function _update_session_cache_hit_ratio Function _update_session_rates Function get_new_release Function check_new_release Function add_torrent_file_async Function prefetch_magnet_metadata Function on_metadata Function add_torrent_file Function add_torrent_files Function add_torrents Function add_torrent_url Function add_torrent_magnet Function remove_torrent Function remove_torrents Function do_remove_torrents Function get_session_status Function force_reannounce Function pause_torrent Function pause_torrents Function connect_peer Function move_storage Function pause_session Function resume_session Function is_session_paused Function resume_torrent Function resume_torrents Function create_torrent_status Function get_torrent_status Function get_torrents_status Function get_filter_tree Function get_session_state Function get_config Function get_config_value Function get_config_values Function set_config Function get_listen_port Function get_proxy Function get_available_plugins Function get_enabled_plugins Function enable_plugin Function disable_plugin Function force_recheck Function set_torrent_options Function set_torrent_trackers Function get_magnet_uri Function set_torrent_max_connections Function set_torrent_max_upload_slots Function set_torrent_max_upload_speed Function set_torrent_max_download_speed Function set_torrent_file_priorities Function set_torrent_prioritize_first_last Function set_torrent_auto_managed Function set_torrent_stop_at_ratio Function set_torrent_stop_ratio Function set_torrent_remove_at_ratio Function set_torrent_move_completed Function set_torrent_move_completed_path Function get_path_size Function create_torrent Function _create_torrent_thread Function upload_plugin Function rescan_plugins Function rename_files Function rename Function rename_folder Function queue_top Function queue_up Function queue_down Function queue_bottom Function glob Function test_listen_port Function on_get_page Function on_error Function get_free_space Function _on_external_ip_event Function get_external_ip Function get_libtorrent_version Function get_completion_paths Function get_known_accounts Function get_auth_levels_mappings Function create_account Function update_account Function remove_account Function