summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-03-16 16:49:03 +0100
committerAnton Luka Šijanec <anton@sijanec.eu>2023-03-16 16:49:03 +0100
commit8754f08f908eebe22a9520057027aee0917db0d8 (patch)
tree509ccd3c7d4102059869cb29cf3a77489692014d
parentno peer_log_alert (diff)
downloadtravnik-8754f08f908eebe22a9520057027aee0917db0d8.tar
travnik-8754f08f908eebe22a9520057027aee0917db0d8.tar.gz
travnik-8754f08f908eebe22a9520057027aee0917db0d8.tar.bz2
travnik-8754f08f908eebe22a9520057027aee0917db0d8.tar.lz
travnik-8754f08f908eebe22a9520057027aee0917db0d8.tar.xz
travnik-8754f08f908eebe22a9520057027aee0917db0d8.tar.zst
travnik-8754f08f908eebe22a9520057027aee0917db0d8.zip
-rwxr-xr-xradio/radio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/radio/radio.py b/radio/radio.py
index 11a36fd..5b6357d 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, libtorrent.log_alert, libtorrent.peer_log_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, libtorrent.peer_log_alert, libtorrent.picker_log_alert]:
continue
print(f"{type(a)} | {a}")