2024-06-21, 08:52 PM
(2024-06-21, 07:19 PM)TheDreadPirate Wrote: Oh. And instead of making symlinks for the file you need to make a symlink for the folder that the movie is in. In my code blocks in the above post I would make a symlink for "/media/storage2/testMovies/Batman Begins" instead of the mkv in it.
Jellyfin will follow symlinks for folders but will ignore symlinks for files.
THanks that worked, but now I am able to play it from the Network Storage File Manager, but Jellyfin would not add it in library, I get errors like
Code:
[02:14:50] [ERR] [24] Emby.Server.Implementations.IO.ManagedFileSystem: Reading the file size of the symlink at /data/regmov/movies/Khufiya (2023) WEBRip-1080p.mkv failed. Marking the file as not existing.
System.IO.FileNotFoundException: Could not find file '/data/regmov/movies/Khufiya (2023) WEBRip-1080p.mkv'.
File name: '/data/regmov/movies/Khufiya (2023) WEBRip-1080p.mkv'
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException)
at System.IO.File.OpenHandle(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize)
at Emby.Server.Implementations.IO.ManagedFileSystem.GetFileSystemMetadata(FileSystemInfo info)
[02:14:54] [INF] [15] Emby.Server.Implementations.ScheduledTasks.TaskManager: Scan Media Library Completed after 0 minute(s) and 4 seconds
[02:14:54] [INF] [20] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory /data/regmov