Jellyfin Forum
Windows: Read library from SMB share - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Windows: Read library from SMB share (/t-windows-read-library-from-smb-share)



Windows: Read library from SMB share - IngwiePhoenix - 2023-07-26

Hello there!

I helped my friend set up Jellyfin on a spare PC using Jellyfin Server as installed through winget. Worked pretty nicely, and after starting the tray applet, it was up and running in no time.

However, this PC is also configured to partake in my Headscale VPN, so it can access my NAS, and I would like to help him add my NAS as a library source.

Since Jellyfin runs as a service, instead of a "normal previleged" user, it naturally does not see the already mounted SMB shares and only the local disks instead. I tried entering the full SMB URI - including variations with and without
Code:
\\user:pass@host\path
for the "Path" value, but neither worked.

Do you know of any way I can get this mount to work properly?

Thanks a lot and kind regards,

Ingwie


RE: Windows: Read library from SMB share - TheDreadPirate - 2023-07-26

AFAIK, Jellyfin does not support directly providing a network path.

https://jellyfin.org/docs/general/administration/storage/#storage

Quote:A network storage device that is using samba or NFS must be directly mounted to the OS. The Jellyfin database should also be stored locally and not on a network storage device.

According to this post, you can setup a scheduled task to mount the share to the OS for the SYSTEM user.  Or whatever privlidged user the tray app runs as.

https://superuser.com/questions/753400/map-network-drive-for-the-system-user-in-windows


RE: Windows: Read library from SMB share - esjaysee - 2024-02-01

Got a work around on windows to 'mount' on boot for nas drives. Use a symbolic link. In the command prompt or Powershell use this

mklink /d "c:\linkfoldername" "//nas/drive/location"

Then point jellyfin to the folder it made.

That's how I got mine working, works for wsl mounts (docker) too.

Let me know if that helps.