aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-15 14:24:40 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-15 14:24:40 +0200
commitaa8f08f79717b500f9e695ba87b1a9a8de146c74 (patch)
treef6861fb0693ce3dab45aa6738b0b25eb00c9b4fd
parent53cbdbfc3f83910946d2fa91e8a60f9ad0c7ef3e (diff)
use symlinks instead of hard links (fixed in jellyfin 10.8)HEADmaster
-rwxr-xr-xautonyaa.py2
-rw-r--r--readme.md9
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
-
-