Dir Scan doesn't rename/ handle directories like regular scan #1591
Replies: 2 comments
-
|
Confirming this still reproduces on current versions. Environment
Reproduction
Sanitized log excerpt: {"level":"info","directoryID":"<redacted>","runID":"<redacted>","name":"Linux Distribution Release 01","torrent":"Linux.Distribution.Release.01","hash":"<redacted>","perfect":true,"partial":false,"matchRatio":1,"pieceMatchPercent":100,"message":"dirscan: found match"}
{"level":"info","directoryID":"<redacted>","runID":"<redacted>","name":"Linux Distribution Release 01","success":true,"message":"dirscan: injected torrent"}Useful controls from the same setup:
This isolates the failure to post-match top-level path alignment rather than mount visibility or content matching. The behavior reproduces in regular/reuse mode. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ive opened a PR to try and address this issue here: #2113 It can be tested with docker by pulling the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description
The regular scan seems to rename things properly to what exists on disk (dunno if this is through sonarr/radarr or by reading disk location from qbittorrent?) and even works great between cross-seed torrents that do and don't use a directory structure. Dir Scan doesn't do this though, leaving a ton of errored torrents I have to manually set the directory name/file name for and force recheck. Seems to me it has access to the information it needs to be able to do this, though.
Steps to reproduce
Turn on dir access, radarr/sonarr API. Select a dir scan directory/options (enable start torrents paused), then hit play icon.
Any torrent that uses a top directory instead of just the file will require it to be manually renamed and rechecked. Any torrent with slightly differing filenames from what's on disk also requires this to be renamed and rechecked.
To be clear, it does handle correctly which "set location" it should be under, it just doesn't rename the torrent directory name to match the subdirectory on disk.
Environment
Relevant logs
Checklist
Beta Was this translation helpful? Give feedback.
All reactions