From 2d6eec4381ffb52da77584df42f8fc98b9477af5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Thu, 16 Mar 2023 17:02:04 +0100 Subject: radio: more logging --- radio/radio.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radio/radio.py b/radio/radio.py index b9806ca..9e0233c 100755 --- a/radio/radio.py +++ b/radio/radio.py @@ -82,7 +82,9 @@ def alerts(session, playstack, save_path, torrents): if a.handle.get_file_priorities()[a.index] != 4: print(f"alerts: IT LOOKS LIKE THIS FILE WAS CHECKED FROM CACHE") continue - playstack.append(a.handle.torrent_file().files().file_path(a.index)) + fname = a.handle.torrent_file().files().file_path(a.index) + playstack.append(fname) + print("alerts: ADDED FILE {fname} to playstack") if not random_file(a.handle, save_path): session.remove_torrent(a.handle) torrents.remove(a.handle) -- cgit v1.2.3