• 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 Media Scanning & Identification SOLVED: Metadata reading not using root path?

     
    • 0 Vote(s) - 0 Average

    SOLVED: Metadata reading not using root path?

    Metadata for shows is sometimes using a Season subfolder instead of the root
    lordjynx
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #1
    2025-03-17, 02:43 PM (This post was last modified: 2025-03-17, 03:04 PM by TheDreadPirate. Edited 1 time in total.)
    Sometimes, metadata is picking up a subfolder as the metadata instead of the root.
    For example, I have Friends and Vampire Diaries but the metadata is set like this:
    (I can't edit the metadata paths either)

    /tv/main/Friends_1994_tt0108778/Season_03
    and
    /tv/kids/The_Vampire_Diaries_2009/Season_02

    I use {apps we don't talk about - TDP} to set all of my metadata .nfo and images.
    This is causing pictures to not load and sometimes shows end up outside of the folder as a new one.

    Does anyone have suggestions on how to fix this?
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2025-03-17, 03:05 PM
    Which folder is the library root? /tv? Or /tv/main and /tv/kids?
    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]
    lordjynx
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #3
    2025-03-17, 03:37 PM
    So in this case, I don't have a root defined but each show is added as a folder.
    so, /tv/main/Friends, etc.

    Basically, I'm limiting what this person can watch to the folders I add.
    lordjynx
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #4
    2025-03-17, 05:20 PM (This post was last modified: 2025-03-17, 05:26 PM by lordjynx. Edited 1 time in total.)
    So, just as a test, I created an empty folder and hard-linked some folders to it.
    This worked flawlessly.

    Is there a way to fix this w/o having to code a hard-link or symbolic link that anyone can think of?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2025-03-17, 05:41 PM
    Adding each show as a root is not supported. Jellyfin does not take into account the root folder's name when constructing the query for metadata.

    For what you are trying to achieve, using symlinks for each show folder would work. Jellyfin will follow symlinks for folders but not for files.
    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]
    lordjynx
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #6
    2025-03-17, 06:03 PM
    Ok, thanks @TheDreadPirate. I've symlinked all of the shows and created new roots for the people.
    Hopefully, these two folks don't keep requesting access to my other shows. Smiling-face
    lordjynx
    Offline

    Junior Member

    Posts: 5
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    Country:United States
    #7
    2025-03-17, 11:34 PM (This post was last modified: 2025-03-18, 04:30 PM by TheDreadPirate. Edited 4 times in total.)
    For anyone running *{Apps we don't talk about - TDP} that want to automate a symbolic link, here's a script I threw together that should work:
    #!/bin/bash

    #Prevent errors when saving/testing
    if [[ "${Apps we don't talk about - TDP}_eventtype" == "Test" ]]; then
    exit
    fi

    #set the symbolic link path + save folder name from {Apps we don't talk about - TDP}
    symlink_dest="user's root path/$(basename "${Apps we don't talk about - TDP}_series_path")"

    #only create the symlink if the folder doesn't exist
    if [[ ! -L "$symlink_dest" ]]; then
    ln -s "${Apps we don't talk about - TDP}_series_path" "$symlink_dest"
    fi
    « 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