aboutsummaryrefslogtreecommitdiff
path: root/automedia.py
diff options
context:
space:
mode:
Diffstat (limited to 'automedia.py')
-rwxr-xr-xautomedia.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/automedia.py b/automedia.py
index 4158d44..5670988 100755
--- a/automedia.py
+++ b/automedia.py
@@ -582,6 +582,10 @@ def sync(rss_config_dir, html_config_dir, download_dir, sync_rate_sec):
sync_rss(rss, tc)
# Add last synced timestamp. This together with "updated" file is used to remove series
# that haven't updated in a long time (either finished series or axes series)
+
+ # TODO: Fix. This will fail if the path is removed while its running,
+ # same with other places.
+ # To fix, add a command to remove tracked items safely
with open(os.path.join(rss_tracked_dir, rss.title, "synced"), "w") as file:
file.write(str(time.time()))
#else: