• 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 Path substitution problem

     
    • 0 Vote(s) - 0 Average

    Path substitution problem

    When managing libraries from UI, path substitution disappears
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #1
    2024-11-06, 07:31 PM (This post was last modified: 2024-11-06, 07:32 PM by nanouk76. Edited 2 times in total.)
    Hi all,
    I may have stumbled on a very annoying regression with version 10.10.1 Previous functioning version was 10.10, I think. But let me explain my problem.
    I am using Kodi on a CoreELEC TV box with the Jellyfin addon but not Jellycon. During installation of the addon, I chose native mode. On the Jellyfin server I had edited /var/lib/jellyfin/root/default/Films/options.xml (with Jellyfin stopped) from the command line (as it was no longer possible in the web GUI due to a previous Jellyfin server version change) and entered all the path substitutions that I needed. Everything worked as expected and I have been able to play my media fine until now.
    However, I noticed a message about path substitutions during an automated update in Kodi. So I checked the options.xml file and noticed that all path substitutions had been removed. So I set about re-entering one NetworkPath after stopping the Jellyfin server and waiting for the processes to stop. After restarting the server from the command line, I opened options.xml and it had retained the modification.
    But after managing the film library from the web UI, options.xml had again reverted back to a version without any NetworkPath lines. And I cannot play any file obviously.
    Interestingly, the options.xml file with network paths survives a simple restart of Jellyfin from the command line.
    Any help would be much appreciated as I had rather stick with native mode in the Kodi Jellyfin addon.
    TIA
    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
    gnattu
    Offline

    Team Member

    Posts: 335
    Threads: 0
    Joined: 2024 Feb
    Reputation: 17
    #2
    2024-11-06, 07:39 PM
    Jellyfin 10.10 completely removed ntework path and it will no longer work.
    nanouk76
    Offline

    Junior Member

    Posts: 36
    Threads: 5
    Joined: 2023 Jun
    Reputation: 0
    Country:France
    #3
    2024-11-06, 07:48 PM (This post was last modified: 2024-11-06, 08:09 PM by nanouk76. Edited 1 time in total.)
    (2024-11-06, 07:39 PM)gnattu Wrote: Jellyfin 10.10 completely removed ntework path and it will no longer work.
    Thanks for the quick reply. Dang! I guess I missed the memo Worried-face 
    Was a matter of security behind the decision? Better be coz it's a bloody annoyance if you ask me. Don't see how that functionality bothered anyone to be honest. Left more flexibility to those who chose to go that path and were prepared to add all those NetworkPath lines. Anyway, not much choice now but to rebuild the database... Disappointed user here, after being thrilled by the software.
    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
    hillo
    Offline

    Junior Member

    Posts: 1
    Threads: 0
    Joined: 2024 Nov
    Reputation: 0
    Country:Finland
    #4
    2024-11-19, 09:42 PM
    As someone who just updated and ran into the same problem and found this thread from Google, I also managed to find a solution:

    The Jellyfin for Kodi addon now has a section for defining path substitutions, which is accessed through the regular menu, where all the libraries and tools for managing them are (not the settings). Remote path is what you have set in your Jellyfin libraries, and local path is self explanatory. I have multiple libraries but a single substitution for the base path worked for all of them. You may have to repair your libraries once.
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #5
    2024-11-19, 09:55 PM
    Path substitution was removed from the server because it complicated the API and library code and it was really just a holdover from ye olden days when we forked.

    Native mode was redesigned to function entirely client side in this PR https://github.com/jellyfin/jellyfin-kodi/pull/938 which has now been released in Jellyfin for Kodi 1.0.6
    1
    « 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