• 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 Development Client Development Kodi Development Manage Path Replacement???

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Manage Path Replacement???

    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #11
    2024-12-21, 04:21 PM
    Still looking for an explination of what exactly is supposed to be entered in the path replacement field for native mode.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    mcarlton00
    Offline

    Kodi Addon Maintainer

    Posts: 145
    Threads: 1
    Joined: 2023 Sep
    Reputation: 9
    Country:United States
    #12
    2024-12-22, 05:50 PM
    It's a simple string replacement.  Remote path is where the server looks for files, local path is how the client should reach those same files.

    Example:
    Your library is mounted on your server at /mnt/media/Movies.
    The library is available over your network at nfs:/export/Movies

    You have two options here.
    - Option A: one to one replacement
      - Remote Path: /mnt/media/Movies
      - Local Path: nfs:/export/Movies
    - Option B: Multi match replacement
      - Remote Path: /mnt/media
      - Local Path: nfs:/export

    Option A works just fine and is effectively a 1:1 mapping of folder on the server vs how a client can see it.
    Option B can simplify the mappings if you have multiple paths stored in a single location.  ie: this would work for both /mnt/media/Movies and /mnt/media/Shows, assuming both of them are also available under the same relative NFS path.
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #13
    2024-12-26, 09:11 PM
    I really have no idea how this is supposed to work exactly but I put the paths to my media locations that I use in JF into the addon data data.json file and it worked. Got everything synced. So I fumbled my way to a solution, somehow. Blind squirrel with a yummy nut.

    Still having issues being able to access libraries for any reason after initial setup though. That just seems completely broken no matter which version of Kodi I try this on.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #14
    2025-09-09, 09:45 PM
    Rebuilt my server onto a stand-alone PC, got it up and running and for the most part set agiain properly, go to ensure Kodi is working fine and nope. Back to square one. Nothing works. No manually editing the data.json, no entering anything when the add-on requests information that isn't made clear, no options within the add-on to manage libraries, add or what ever. Constant fails. This all after deleting all add-on data, removing the add-on insstall and re-downloading to attempt to start from scratch. Just back to nothing works. Frustrated again. Even copying the info fomr the previous working data.json fails, even before making edits to it to reflect the new server set-up. As an example, not reflective of the post above, this is what the path in the old data.json looks like

    "/mnt/ => smbConfused-face/HTPC1/Movies": "/mnt/ => smbConfused-face/HTPC1/Movies",

    And that doesn't work now. Let alone adding the new path to the main server location. But this is what was in the file when it was working.Even just updating these paths with the old "working" install failed. Can't get into the add-on options to even attempt to add/delete/repair any libraries. Just total complete nothing. Like death.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #15
    2025-09-10, 03:08 AM (This post was last modified: 2025-09-10, 04:50 AM by KodiUser1138. Edited 2 times in total.)
    OK Maybe I figures out the confusing acpest of adding paths?

    Select "New Path" and enter the name for the library location the path ill be for (ie. Movies), press OK
    Scroll down to Windows Network (SMB) and navigate to the shared network location (ie. \\\MediaServer\Movies), press Ok.
    Continue for all paths to be linked.
    Select Finish.


    That seems to be correct? It at least populates the data.json file with those network path lines. Now the issue is Kodi is not giving the option to add libraries and when navigating within the add-on to add libraries the only option given is ALL. If I select ALL and click ok, nothing happens. Nothing scans. The library does not populate. If I quit Kodi and open it again I'm asked to again select Naitive or Add-on mode, then confirm the path replacements and then nothing. And navigating the app to add libraries still results in nothing.

    Stuck without a working Kodi library still, despite possibly having figured some part of it out?

    Even tried downgrading the add-on. Same results. Kodi sees the JF server, logs into the proper account, add the paths as I believe needed, then nothing. No add libraries, no manual adding libraries, just nothing. Broken.

    On my laptop using Add-on mode, JF is currently updating the library without issues (ssemingly). But nothing I dowith naitive mode works to add any libraries.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #16
    2025-09-10, 08:20 PM
    On a hunch I tried downgrading Kodi to 21.1 and nope, same thing. No ability to add libraries. It's just borken. Hoping someone who works on this sees this issue and might share some insight.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #17
    2025-09-10, 10:38 PM (This post was last modified: Yesterday, 01:49 AM by KodiUser1138. Edited 1 time in total.)
    Done everything I can think off. Downgraded both Kodi and the add-on version. Uninstalled and reinstalled Kodi Sync Cue, nothing works. Tried using add-on mode. Still nothing. I can't start a new Kodi set-up with Jellyfin no matter which of these options I try. And I've tested on 2 seperarate Kodi clients. I've used the local IP, exernal IP and my dns provided address. Still the same results. What worked before just does not no, without indication why. I look at the logs but don't recognize any error pointing to this issue. Just stuck, frustrated, bummed.


    Also adding in the programdata folder for the add-on there is no sync file created, further showing there is no adding of libraries happening on what is a 'fresh clean' Kodi setup.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #18
    Yesterday, 09:30 PM
    Keeping all my typed out thoughts here as breadcrumbs for the next time but I believe I found my issue.

    Must delete Database (remove full directory) to ensure Kodi and/or the add-on don't look at the old library files for any reason. This now allowed Kodi and/or the add-on to bring up the libraries selection and procede with scraping all the data.

    Frustrating to not understand but now makes sense, base on the solution posted long after the issue was brought up on the git as a likely reason which I probably stumbled into without realizing the first time this issue occured.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    KodiUser1138
    Offline

    Member

    Posts: 363
    Threads: 34
    Joined: 2023 Jun
    Reputation: 0
    Country:Canada
    #19
    3 hours ago
    Back again. Thought I had this worked out. The libraries updated. Though issues were created with the playlists I use to navigate Kodi. Spent time figuring them out and now to watch some media and WTF Kodi just hangs after a few seoncds of playback. This is suoopsed to be with direct paths, playing media contained on the same local machine that the Kodi client is running, and it just hangs. Never experienced this before (nor understand why suddenly my playlist variables didn't work) but there's something not right with the manage path replacement stuff as that is the only thing that seems different from my prior server built. Everything else is the same save for 1 additional media network location. And that's not even the location in question above. So back to more tiral and error tomorrow.
    JF Wish List:
    IMDb Top250 metadata
    Collection content rules: Library-Title/Sorttitle/Tag/Director/Filename/Contains
    Collection organized by Library
    Collections scanned to editable XML
    Media info show added Collection
    Soundtrack auto link to movie by title/sort/Manual
    Read Music Album Sort
    Pages (2): « Previous 1 2

    « 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