Support for Infinidysk / Downloaders with symlinks

The idea in one sentence: Support for downloaders that symlink the media to another mount.

How you would use it: Use Infinidysk to stream media instead of downloading it.

What you do today instead: Sabnzbd. When trying to use infinidysk the downloads are not getting imported since the importer does not import symlinks, even when HOLYARRS_FOLLOW_LINKS is set to 1.

Here’s an example (the movie is in another subfolder but for other downloads without the extra subfolder the file is also not imported):

Hi! I was working with Claude on this one. Apologies if this isn’t helpful!

Follow-up to #158 (FOLLOW_LINKS) — I think two folder walks were missed, so usenet “streaming” downloaders (AltMount, InfiniDysk/NzbDAV) still never import on 1.2.0.

Setup: HOLYARRS_FOLLOW_LINKS=1, SABnzbd-compatible downloader, every finished job is a folder of symlinks into a FUSE mount (same paths in all containers). Grab + download work, job shows Completed, but import always says “no file in the download matched this movie”. In holyarrs.db every finished download has files_seen = [], even with a path pair / HOLYARRS_SAVE_PATH set.

Looks like:
• downloads/failure.go:479 (readFinishedIn) skips every symlink regardless of FollowLinks — and SAB gives no file list, so this is the only source of FilesSeen
• importer/manual.go:256 (ScanByHand) does the same, so Import by hand can’t be used as a fallback

Small related one: client_sabnzbd.go:86 sends mode=version without the apikey — fine for real SABnzbd, but AltMount requires a key on every call, so the downloader shows as failing.

I have a full write-up with code refs, suggested fix and sanitized DB/log excerpts — happy to open a GitHub issue or post it here, whichever you prefer. Can also test a build.

1 Like