• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Path substitution for files on NFS or Samba server

     
    • 0 Vote(s) - 0 Average

    SOLVED: Path substitution for files on NFS or Samba server

    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #1
    2024-05-25, 11:20 AM
    Hi all,
    upgraded to version 10.9 then to 10.9.2 on a Ubuntu 22.04.4 server a couple days ago. Everything seemed to work fine until I added a drive to the Movie library. I immediately noticed that there no longer is a textbox where you can type the absolute path to the shared drive on the NFS server in the form of
    Code:
    nfs://server/share
    (as per the screenshot in version 10.8     ) which results in the movies not playing on a Kodi instance with the Jellyfin addon in native mode. Did I miss a fundamental change in the way library sources are defined or is that a bug of some sort? Any help would be much appreciated.
    Jellyfin 10.10.6
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    Go to solution
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2024-05-25, 11:57 AM
    Adding network shares in a library's settings was removed some version ago. I believe it was due to security issues.
    qwerty12
    Offline

    Junior Member

    Posts: 30
    Threads: 0
    Joined: 2023 Jun
    Reputation: 3
    #3
    2024-05-25, 12:01 PM
    The option to add shared network folders from the web interface got removed (https://github.com/jellyfin/jellyfin-web/pull/5098), but they are still obeyed if set. It's mentioned on the documentation for the Kodi plugin ("Starting from Jellyfin 10.9 it is no longer possible to set the shared network folder.").

    I have no idea how to set those paths via the API, but you can still set them by editing Jellyfin setting files directly:

    1. Shutdown Jellyfin
    2. Go to C:\ProgramData\Jellyfin\Server\root\default\ (or the *NIX equivalent in your case)
    3. Open the options.xml of the library you want to add a network path to, and add a corresponding <NetworkPath> element underneath the <Path> element. Example:
      Code:
      <PathInfos>
          <MediaPathInfo>
            <Path>C:\1</Path>
            <NetworkPath>\\192.168.1.1\C$\1</NetworkPath>
          </MediaPathInfo>
          <MediaPathInfo>
            <Path>C:\2</Path>
            <NetworkPath>\\192.168.1.1\C$\2</NetworkPath>
          </MediaPathInfo>
        </PathInfos>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-05-25, 02:59 PM
    Echoing the prior two posts. Adding that it has always been strongly recommended to add network shares (NFS or SMB/CIFS) by mounting them in the file system and then providing that mounted path to Jellyfin. Doing it this way is less problematic, in general, allows you to use more secure NFS/CIFS protocols, etc.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #5
    2024-05-25, 08:26 PM
    (2024-05-25, 12:01 PM)qwerty12 Wrote: The option to add shared network folders from the web interface got removed (https://github.com/jellyfin/jellyfin-web/pull/5098), but they are still obeyed if set. It's mentioned on the documentation for the Kodi plugin ("Starting from Jellyfin 10.9 it is no longer possible to set the shared network folder.").

    I have no idea how to set those paths via the API, but you can still set them by editing Jellyfin setting files directly:

    1. Shutdown Jellyfin
    2. Go to C:\ProgramData\Jellyfin\Server\root\default\ (or the *NIX equivalent in your case)
    3. Open the options.xml of the library you want to add a network path to, and add a corresponding <NetworkPath> element underneath the <Path> element. Example:
      Code:
        <PathInfos>
          <MediaPathInfo>
            <Path>C:\1</Path>
            <NetworkPath>\\192.168.1.1\C$\1</NetworkPath>
          </MediaPathInfo>
          <MediaPathInfo>
            <Path>C:\2</Path>
            <NetworkPath>\\192.168.1.1\C$\2</NetworkPath>
          </MediaPathInfo>
        </PathInfos>
    Sorry clicked on the previous post for the solution. I can't change that apparently. Could a mod do it please?
    This is the solution. Thanks, works as expected.
    Jellyfin 10.10.6
    Ubuntu Server 22.04.4 LTS
    Gigabyte Technology Co., Ltd. GA-MA78LMT-US2H
    AMD® Phenom™ ii x6 1090t processor × 6
    20 GB Ram
    Nvidia P400
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode