• 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 General Questions Is it possible to have separate library based on language?

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Is it possible to have separate library based on language?

    fedonr
    Offline

    Junior Member

    Posts: 21
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    #11
    2024-06-22, 04:49 PM (This post was last modified: 2024-06-22, 05:14 PM by fedonr. Edited 3 times in total.)
    (2024-06-21, 08:57 PM)TheDreadPirate Wrote: In your source folder each movie needs to be in its own folder, which is what our documentation states is the recommended folder and file structure anyway.

    https://jellyfin.org/docs/general/server/media/movies/

    Once you put each movie in its own folder, modify your script to symlink the folder instead of the file.

    As I stated, Jellyfin will follow symlinks for folders and will ignore symlinks for files.

    Hello, sorry I missed out on it yesterday, as I didn't check the playback. I did check the permissions and everything is good. Also Jellyfin detects everything correctly when it comes to Symlinks in terms of library update and metadata but the playback doesn't work I get the below error, while the symlinks does play via filemanager

    Code:
    {"Protocol":0,"Id":"e81a7e087fd2d744de287c30f8f7b7f8","Path":"/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mp4","Size":null,"Name":"Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p","IsRemote":false,"ETag":"543b6ca4c9f21c87d81daf7a932499c0","RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mp4 -noautorotate -i file:"/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -sn  -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "72b0fbc1bfc9f139395d3c42e0ac9350-1.mp4" -start_number 0 -hls_base_url "hls/72b0fbc1bfc9f139395d3c42e0ac9350/" -hls_segment_filename "/config/cache/transcodes/72b0fbc1bfc9f139395d3c42e0ac9350%d.mp4" -hls_playlist_type event -hls_list_size 0 -y "/config/cache/transcodes/72b0fbc1bfc9f139395d3c42e0ac9350.m3u8"


    ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      58.  2.100 / 58.  2.100
      libavcodec    60.  3.100 / 60.  3.100
      libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100
      libavfilter    9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample  4. 10.100 /  4. 10.100
      libpostproc    57.  1.100 / 57.  1.100
    file:/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4: No such file or directory

    I also checked the permissions and attaching it here 

    Code:
    silent@omv:~$ sudo ls -l "/drive1t/media/regmov/Vash (2023)/"
    total 4
    lrwxrwxrwx 1 aarsh users 61 Jun 22 21:44 'Vash (2023) WEBDL-1080p.mp4' -> '/drive1t/media/movies/Vash (2023)/Vash (2023) WEBDL-1080p.mp4'
    silent@omv:~$ sudo ls -l "/drive1t/media/movies/Vash (2023)/"
    total 2573232
    -rwxrwsr-x 1 aarsh users      91616 Jun 20 13:17 'Vash (2023) WEBDL-1080p.en.hi.srt'
    -rwxrwsr-x 1 aarsh users 2634890489 May  4 14:28 'Vash (2023) WEBDL-1080p.mp4'

    While Jellyfin does play the file directly, only symlinks give me the errors

    I guess the issue is from inside the Jellyfin container, symlinks linking to actual path doesn't work.

    Code:
    silent@omv:~$ sudo docker exec -it jellyfin bin/bash
    root@86cefe1980c3:/# ls
    app  command  defaults    donate.txt  init  lib64  media  package  root  srv  transcode
    bin  config  dev          etc        lib    libx32  mnt    photos  run  sys  usr
    boot  data    docker-mods  home        lib32  lsiopy  opt    proc    sbin  tmp  var
    root@86cefe1980c3:/# ls -l "/data/movies/Vash (2023)"
    total 2573232
    -rwxrwsr-x 1 abc users      91616 Jun 20 13:17 'Vash (2023) WEBDL-1080p.en.hi.srt'
    -rwxrwsr-x 1 abc users 2634890489 May  4 14:28 'Vash (2023) WEBDL-1080p.mp4'
    root@86cefe1980c3:/# ls -l "/data/regmov/Vash (2023)"
    total 4
    lrwxrwxrwx 1 abc users 61 Jun 22 21:44 'Vash (2023) WEBDL-1080p.mp4' -> '/drive1t/media/movies/Vash (2023)/Vash (2023) WEBDL-1080p.mp4'
    fedonr
    Offline

    Junior Member

    Posts: 21
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    #12
    2024-06-22, 05:19 PM
    (2024-06-22, 04:49 PM)fedonr Wrote:
    (2024-06-21, 08:57 PM)TheDreadPirate Wrote: In your source folder each movie needs to be in its own folder, which is what our documentation states is the recommended folder and file structure anyway.

    https://jellyfin.org/docs/general/server/media/movies/

    Once you put each movie in its own folder, modify your script to symlink the folder instead of the file.

    As I stated, Jellyfin will follow symlinks for folders and will ignore symlinks for files.

    Hello, sorry I missed out on it yesterday, as I didn't check the playback. I did check the permissions and everything is good. Also Jellyfin detects everything correctly when it comes to Symlinks in terms of library update and metadata but the playback doesn't work I get the below error, while the symlinks does play via filemanager

    Code:
    {"Protocol":0,"Id":"e81a7e087fd2d744de287c30f8f7b7f8","Path":"/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4","EncoderPath":null,"EncoderProtocol":null,"Type":0,"Container":"mp4","Size":null,"Name":"Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p","IsRemote":false,"ETag":"543b6ca4c9f21c87d81daf7a932499c0","RunTimeTicks":null,"ReadAtNativeFramerate":false,"IgnoreDts":false,"IgnoreIndex":false,"GenPtsInput":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"OpenToken":null,"RequiresClosing":false,"LiveStreamId":null,"BufferMs":null,"RequiresLooping":false,"SupportsProbing":true,"VideoType":0,"IsoType":null,"Video3DFormat":null,"MediaStreams":[],"MediaAttachments":[],"Formats":[],"Bitrate":null,"Timestamp":null,"RequiredHttpHeaders":{},"TranscodingUrl":null,"TranscodingSubProtocol":0,"TranscodingContainer":null,"AnalyzeDurationMs":null,"DefaultAudioStreamIndex":null,"DefaultSubtitleStreamIndex":null}

    /usr/lib/jellyfin-ffmpeg/ffmpeg -analyzeduration 200M -probesize 1G -f mp4 -noautorotate -i file:"/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4" -map_metadata -1 -map_chapters -1 -threads 0 -sn  -copyts -avoid_negative_ts disabled -max_muxing_queue_size 2048 -f hls -max_delay 5000000 -hls_time 3 -hls_segment_type fmp4 -hls_fmp4_init_filename "72b0fbc1bfc9f139395d3c42e0ac9350-1.mp4" -start_number 0 -hls_base_url "hls/72b0fbc1bfc9f139395d3c42e0ac9350/" -hls_segment_filename "/config/cache/transcodes/72b0fbc1bfc9f139395d3c42e0ac9350%d.mp4" -hls_playlist_type event -hls_list_size 0 -y "/config/cache/transcodes/72b0fbc1bfc9f139395d3c42e0ac9350.m3u8"


    ffmpeg version 6.0.1-Jellyfin Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
      configuration: --prefix=/usr/lib/jellyfin-ffmpeg --target-os=linux --extra-version=Jellyfin --disable-doc --disable-ffplay --disable-ptx-compression --disable-static --disable-libxcb --disable-sdl2 --disable-xlib --enable-lto --enable-gpl --enable-version3 --enable-shared --enable-gmp --enable-gnutls --enable-chromaprint --enable-opencl --enable-libdrm --enable-libass --enable-libfreetype --enable-libfribidi --enable-libfontconfig --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libopenmpt --enable-libdav1d --enable-libsvtav1 --enable-libwebp --enable-libvpx --enable-libx264 --enable-libx265 --enable-libzvbi --enable-libzimg --enable-libfdk-aac --arch=amd64 --enable-libshaderc --enable-libplacebo --enable-vulkan --enable-vaapi --enable-amf --enable-libvpl --enable-ffnvcodec --enable-cuda --enable-cuda-llvm --enable-cuvid --enable-nvdec --enable-nvenc
      libavutil      58.  2.100 / 58.  2.100
      libavcodec    60.  3.100 / 60.  3.100
      libavformat    60.  3.100 / 60.  3.100
      libavdevice    60.  1.100 / 60.  1.100
      libavfilter    9.  3.100 /  9.  3.100
      libswscale      7.  1.100 /  7.  1.100
      libswresample  4. 10.100 /  4. 10.100
      libpostproc    57.  1.100 / 57.  1.100
    file:/data/regmov/Chal Mann Jeetva Jaiye 2 (2023)/Chal Mann Jeetva Jaiye 2 (2023) WEBDL-1080p.mp4: No such file or directory

    I also checked the permissions and attaching it here 

    Code:
    silent@omv:~$ sudo ls -l "/drive1t/media/regmov/Vash (2023)/"
    total 4
    lrwxrwxrwx 1 aarsh users 61 Jun 22 21:44 'Vash (2023) WEBDL-1080p.mp4' -> '/drive1t/media/movies/Vash (2023)/Vash (2023) WEBDL-1080p.mp4'
    silent@omv:~$ sudo ls -l "/drive1t/media/movies/Vash (2023)/"
    total 2573232
    -rwxrwsr-x 1 aarsh users      91616 Jun 20 13:17 'Vash (2023) WEBDL-1080p.en.hi.srt'
    -rwxrwsr-x 1 aarsh users 2634890489 May  4 14:28 'Vash (2023) WEBDL-1080p.mp4'

    While Jellyfin does play the file directly, only symlinks give me the errors

    I guess the issue is from inside the Jellyfin container, symlinks linking to actual path doesn't work.

    Code:
    silent@omv:~$ sudo docker exec -it jellyfin bin/bash
    root@86cefe1980c3:/# ls
    app  command  defaults    donate.txt  init  lib64  media  package  root  srv  transcode
    bin  config  dev          etc        lib    libx32  mnt    photos  run  sys  usr
    boot  data    docker-mods  home        lib32  lsiopy  opt    proc    sbin  tmp  var
    root@86cefe1980c3:/# ls -l "/data/movies/Vash (2023)"
    total 2573232
    -rwxrwsr-x 1 abc users      91616 Jun 20 13:17 'Vash (2023) WEBDL-1080p.en.hi.srt'
    -rwxrwsr-x 1 abc users 2634890489 May  4 14:28 'Vash (2023) WEBDL-1080p.mp4'
    root@86cefe1980c3:/# ls -l "/data/regmov/Vash (2023)"
    total 4
    lrwxrwxrwx 1 abc users 61 Jun 22 21:44 'Vash (2023) WEBDL-1080p.mp4' -> '/drive1t/media/movies/Vash (2023)/Vash (2023) WEBDL-1080p.mp4'

    As in Jellyfin Voulme binding is  /drive1t/media/ to /data in Jellyfin, so when symlinks see /drive1t/media/ it might not detect the file
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #13
    2024-06-22, 05:27 PM
    Yes, if you are using symlinks it has to be a path that the container has mounted and the path matches. I found this out the hard way.
    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]
    fedonr
    Offline

    Junior Member

    Posts: 21
    Threads: 3
    Joined: 2024 Jun
    Reputation: 0
    #14
    2024-06-22, 05:30 PM
    Great! Even I just right now tested that, before I came back here. And it works now, matching the naming on both ends of docker volume binds, makes it work flawlessly. Thank you so much
    TheXaman
    Offline

    Junior Member

    Posts: 10
    Threads: 0
    Joined: 2025 Feb
    Reputation: 2
    Country:Germany
    #15
    2025-02-26, 10:57 AM
    (2024-06-21, 03:32 PM)fedonr Wrote: Im mainly referring to the audio language of the movies.

    For example, I have 5 movies in X language and 5 movies in Y Language. Now I want my library to show up all 10 movies, while for my parent's library I want only 5 movies to show up which are in X language.

    Or if both X and Y can have separate library I can manage with that, as my parents won't need to go thru a huge library as they only watch movies in X language (audio)

    Hi, I wrote a plugin that adds language tags to movies, tv shows and collection based on the available audio tracks. Together with the parental controls in jellyfin you can limit a users selection to only show content in the desired language. You can also use it to filter the full library via its tag.

    Feel free to check it out: https://github.com/TheXaman/jellyfin-plu...nguageTags
    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