From aa8f08f79717b500f9e695ba87b1a9a8de146c74 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Mon, 15 Apr 2024 14:24:40 +0200 Subject: use symlinks instead of hard links (fixed in jellyfin 10.8) --- autonyaa.py | 2 +- readme.md | 9 +++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/autonyaa.py b/autonyaa.py index a84e801..23bc3be 100755 --- a/autonyaa.py +++ b/autonyaa.py @@ -126,7 +126,7 @@ def start_dl(result, section, vars): print("linking " + section["name"]) print(source + " -> " + target) os.makedirs(os.path.dirname(target), exist_ok=True) - os.link(source, target) + os.symlink(source, target) else: transmission_client.add_torrent(result.findtext("link")) print("adding torrent: " + result.findtext("title")) diff --git a/readme.md b/readme.md index e2ed22b..78e8c4d 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,9 @@ transmission daemon, and symlinks them once they're done downloading it's intentionally janky, because i don't expect it to work for a long time. if it keeps working (well) for long enough i'll refactor/document the code better. +2024 update: it's been working great for the past 2 years but i am now scared +to refactor the code. + ## configuration > because autonyaa is intentionally janky, it expects all configuration.an keys @@ -119,9 +122,3 @@ added before the season variable: episodes e 24 12 12 s ``` -## todo - -- [x] implement episode limit -- [x] implement match-submitter - - -- cgit v1.2.3