diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-16 16:27:00 +0100 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2023-03-16 16:27:00 +0100 |
commit | d6bffb168a19f987f7756d1ceafc1046ad3307ad (patch) | |
tree | 5399c50e3ef807dc92e388e8cae2f9a6818e9958 /radio | |
parent | no dht_pkt_alert (diff) | |
download | travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar.gz travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar.bz2 travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar.lz travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar.xz travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.tar.zst travnik-d6bffb168a19f987f7756d1ceafc1046ad3307ad.zip |
Diffstat (limited to 'radio')
-rwxr-xr-x | radio/radio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/radio/radio.py b/radio/radio.py index 7e4c9fc..e55c8d6 100755 --- a/radio/radio.py +++ b/radio/radio.py @@ -88,7 +88,7 @@ def alerts(session, playstack, save_path, torrents): continue else: a.handle.resume() - if type(a) in [libtorrent.external_ip_alert, libtorrent.listen_succeeded_alert, libtorrent.dht_get_peers_alert, libtorrent.dht_outgoing_get_peers_alert, libtorrent.dht_reply_alert, libtorrent.torrent_added_alert, libtorrent.state_changed_alert, libtorrent.torrent_resumed_alert, libtorrent.stats_alert, libtorrent.torrent_checked_alert, libtorrent.peer_connect_alert, libtorrent.alert, libtorrent.peer_disconnected_alert, libtorrent.incoming_connection_alert, libtorrent.block_downloading_alert, libtorrent.dht_bootstrap_alert, libtorrent.dht_announce_alert, libtorrent.block_finished_alert, libtorrent.piece_finished_alert, libtorrent.peer_unsnubbed_alert, libtorrent.peer_snubbed_alert, libtorrent.portmap_error_alert, libtorrent.block_timeout_alert, libtorrent.block_uploaded_alert, libtorrent.performance_alert, libtorrent.cache_flushed_alert, libtorrent.dht_log_alert, libtorrent.portmap_log_alert, libtorrent.dht_pkt_alert]: + if type(a) in [libtorrent.external_ip_alert, libtorrent.listen_succeeded_alert, libtorrent.dht_get_peers_alert, libtorrent.dht_outgoing_get_peers_alert, libtorrent.dht_reply_alert, libtorrent.torrent_added_alert, libtorrent.state_changed_alert, libtorrent.torrent_resumed_alert, libtorrent.stats_alert, libtorrent.torrent_checked_alert, libtorrent.peer_connect_alert, libtorrent.alert, libtorrent.peer_disconnected_alert, libtorrent.incoming_connection_alert, libtorrent.block_downloading_alert, libtorrent.dht_bootstrap_alert, libtorrent.dht_announce_alert, libtorrent.block_finished_alert, libtorrent.piece_finished_alert, libtorrent.peer_unsnubbed_alert, libtorrent.peer_snubbed_alert, libtorrent.portmap_error_alert, libtorrent.block_timeout_alert, libtorrent.block_uploaded_alert, libtorrent.performance_alert, libtorrent.cache_flushed_alert, libtorrent.dht_log_alert, libtorrent.portmap_log_alert, libtorrent.dht_pkt_alert, libtorrent.log_alert]: continue print(f"{type(a)} | {a}") |