• 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 Sharing subset of media library to guests - symlinks in Docker?

     
    • 0 Vote(s) - 0 Average

    Sharing subset of media library to guests - symlinks in Docker?

    Sharing subset of media library to guests with symlinks in Docker?
    zff
    Offline

    Junior Member

    Posts: 2
    Threads: 2
    Joined: 2023 Aug
    Reputation: 0
    Country:United States
    #1
    2023-11-02, 03:14 AM
    I want to share parts of a library to different guests. Allowing guests access to certain libraries doesn't really make sense as that would mean I would have to potentially break up e.g. a TV series into arbitrary media libraries to share to guests if I don't want them to view the entire series.

    Using symlinks to link subdirectories of the root directory for the media library should work, right? Can someone provide an example for how to set this up with Docker? preferably via docker-compose.yml as opposed to command line arguments.

    For example, I have /data/media-libraryConfused-facemedia/media-library for docker-compose.yml and then want to share /data/media-library/vacation-pics/europe from the host to Jellyfin running in Docker. I just want to be able to create/delete a symlink on the host system to add/remove access to subdirectories in the media library (I suppose doing this on the host side is the simplest).

    Much appreciated.
    bitmap
    Offline

    Community Moderator

    Posts: 821
    Threads: 9
    Joined: 2023 Jul
    Reputation: 27
    #2
    2023-11-02, 06:07 AM
    As far as I know, symlinks must be made on the host using the terminal. You would create a separate structure, say /media/sym/userA and symlink anything you want User A to have access to within that folder, of course following the prescribed structure for the libraries you want to add.

    In docker, you'd mount that as an additional volume:

    Code:
    /mnt/sym/userA:/mnt/sym/userA

    I wouldn't recommend using the same root folder unless your libraries are more broken down than that. In any case, create your symlinks (ln -s <source> <dest>) in a separate + mirrored area so that you can create a library and provide access to only that individual from within the Jellyfin dashboard. If you really want to use the same root folder, I'd separate out into global, userA, etc... For example, you could create a structure using paths such as:

    Code:
    /mnt/media/global/TV
    /mnt/media/global/movies
    /mnt/media/userA/TV
    /mnt/media/userA/movies

    Then create your symlinks from global > userA and generate a library for each.
    Jellyfin 10.10.7 LSIO Docker | Ubuntu 24.04 LTS | i7-13700K | Arc A380 6 GB | 64 GB RAM | 79 TB Storage

    [Image: AIL4fc84QG6uSnTDEZiCCtosg7uAA8x9j1myFaFs...qL0Q=w2400]
    « 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