summaryrefslogtreecommitdiffstats
path: root/radio/radio.py
diff options
context:
space:
mode:
Diffstat (limited to 'radio/radio.py')
-rwxr-xr-xradio/radio.py4
1 files changed, 3 insertions, 1 deletions
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)