fix: LibTorrent not detecting that file has been deleted until LibTorrent Session is reinitialized / enhance download management with file existence checks and cleanup

This commit is contained in:
Vxrtrauter
2026-03-07 00:45:27 +01:00
parent 925fe21d03
commit dcc12c0b28
4 changed files with 49 additions and 5 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ def run_download(item, posts, post_titles):
consoleLog(f"Selected URL: {post_url}")
magnet_uri = get_magnet_link(post_url)
add_download(magnet_uri)
add_download_log(item, post_url, magnet_uri, False)
if add_download(magnet_uri):
add_download_log(item, post_url, magnet_uri, False)
def run_download_direct(magnet_uri):
consoleLog(f"Direct download: {magnet_uri[:60]}")