• 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: Change media library paths

     
    • 0 Vote(s) - 0 Average

    SOLVED: Change media library paths

    Is there a way to change media library paths?
    nothingveryobvious
    Offline

    Member

    Posts: 108
    Threads: 40
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #1
    2024-04-04, 06:26 PM (This post was last modified: 2024-04-04, 06:26 PM by nothingveryobvious.)
    Hello, and sorry if this has been asked before but I can’t seem to find an answer on this forum.

    I use Jellyfin in Docker and an external hard drive named “dimepiece” and have paths set up like this within the container:
    - TV shows are in /dimepiece/tv-shows
    - Movies are in /dimepiece/movies

    If I move my media to a new hard drive, let’s call it “venti,” and want to change the paths within the container to avoid myself some confusion, I would want it to be like this:
    - TV shows are in /venti/tv-shows
    - Movies are in /venti/movies

    Can I do this in Jellyfin without having to rescan each library and rebuild metadata? For now the only way I can think of is going to Libraries and changing the folder paths, but that would require a full rescan and rebuilding of metadata, wouldn’t it? Or am I wrong about this?

    I know in Sonarr and Radarr it’s very easy to change the root folders. I’m looking for this type of solution, if possible.

    Thank you for your help!
    Go to solution
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-04, 06:37 PM
    When you are defining a volume in docker the right side of the colon can be anything you want. So if you move paths on the host (the left side of the colon), as long as the video folders are structured exactly the same you can move it anywhere on the host and Jellyfin in the container won't know that anything changed.
    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]
    nothingveryobvious
    Offline

    Member

    Posts: 108
    Threads: 40
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #3
    2024-04-17, 11:09 PM (This post was last modified: 2024-04-17, 11:10 PM by nothingveryobvious. Edited 1 time in total.)
    @TheDreadPirate

    Thank you, I’m aware of that.

    But what if I want to change the name of a hard drive within the Jellyfin container itself? On the right side of volumes in docker-compose I have it set as “/media/hard-drive-name-1/tv-shows”. What if I want to change it to “/media/hard-drive-name-2/tv-shows”?

    I don’t want to change the left side to “hard-drive-name-2” but keep the right side as “hard-drive-name-1” because it could be potentially confusing.

    I would have to rescan the entire library and rebuild all the metadata right? There’s no way to just change the root folder within the Jellyfin container itself?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-04-18, 12:13 AM
    You need to have the new folder in your library, even if it is currently empty, ahead of time if you want a clean cut over. But if this is for a whole you will have to think ahead a little.

    You will have create the folder you are going to mount the hard drive to NOW and add it to your docker config, then add this folder to your library.

    Stop Jellyfin, change where the hard drive is mounted, start Jellyfin. It SHOULD cut over cleanly and rescan everything but preserve metadata and watch status.

    You can always backup /config just in case.
    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]
    nothingveryobvious
    Offline

    Member

    Posts: 108
    Threads: 40
    Joined: 2023 Jun
    Reputation: 0
    Country:United States
    #5
    2024-11-07, 06:39 PM
    @TheDreadPirate

    Very late on my part, but thank you!
    « 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