-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Library path verification doesn't work with symlinks (regression) #251
Comments
Symbolic links have been supported for a while 5a4ee71 and I know that some users use them without issues. Seanime simply uses standard methods for evaluating symlinks and since I'm not familiar enough with it I can't really guess where the issue comes from, especially without replicating your setup. |
It could potentially be because the files are not actually stored locally but mounted through webdav? I'll see if it works when I just create a symlink to a file stored locally. Though, I'm also not familiar with symlinks either. I am also using a docker image for this. |
This might be it. I don't know enough about this protocol and it looks like Go's symlink resolution relies completely on the OS's native symlink support. |
To test this, I have a local file now mounted into the docker container at
I created a symlink using this command:
I did also try this command
Now, there is a symlink at If i use the stat command on the symlink within the seanime docker container:
I get the following output:
Now, if I go to seanime and use /mnt/symlinks/test as the anime library path, nothing is picked up. If I use /mnt/test instead, that file is picked up. The logs don't have anything useful, as far as I can tell: Using
Using
This is running on a Ubuntu 24.04 VPS using umagistr/seanime as the docker image. |
Look at the scan logs |
Sorry, didn't know I could view them separately. A scan with
When viewing Solo leveling, it shows no downloaded episodes. And when i use
and I can then see the episode within seanime. |
Forgot to answer but it seems like the symlink got resolved correctly but a recent check I added is the reason why it gets ignored. i.e. the resolved path |
Checklist
Problem Description / Use Case
I have files from a remote location (real debrid) mounted through webdav (zurg + rclone), and my sonarr/radarr setup (w/ blackhole as a download client) creates symlinks after renaming/organising in another folder pointing to the actual file where it was mounted.
When doing a library scan, these files are not picked up.
Proposed Solution
Seanime should support symlinks and those files should be picked up by the scan.
The text was updated successfully, but these errors were encountered: