• 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 Script to Tag Media with Language – Need Feedback and Help

     
    • 0 Vote(s) - 0 Average

    Script to Tag Media with Language – Need Feedback and Help

    StilgarBF
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    #1
    2025-03-03, 11:29 AM
    Hello everyone,

    I made a simple Python script for Jellyfin that adds language tags to movies. I had a problem: I like to watch movies in English, but when I watch with my family, I want to see only titles with German audio. I could not easily filter movies by audio track in Jellyfin. So, I created this script.

    GitHub: jellyfin-tag-audio-lang

    The script looks at the file name, folder name, and the embedded audio track titles. If it finds any indicator on this having German audio, it adds tags to a movie.nfo file. At the moment, it only supports German, but it can be extended to other languages easily.
    I would very much appreciate any feedback on this. - but please use at your own risk, maybe only on a few test folders/media.

    I faced an issue after successfully adding the needed tags to my media:
    When I run "Refresh metadata" and "Replace all metadata" in Jellyfin, the new movie.nfo files with the language tag are overwritten. This means that even if the tag was there and visible in Jellyfin, it disappears afterwards. I have to run my script again. I would appreciate any explanation or support to work around this behavior.

    I would be very grateful for any feedback, suggestions, or information on a better built-in solution to my filtering challenge.

    Thank you very much for your help!

    Best regards,
    User 16182
    Offline

    Unregistered
    Posts: 1
    Threads: 0
    Joined: 2025 Mar
    Country:United States
    #2
    2025-03-05, 10:38 PM
    I'm no expert, but you may need to lock Tags in the movie's metadata.

       
    StilgarBF
    Offline

    Junior Member

    Posts: 2
    Threads: 1
    Joined: 2025 Mar
    Reputation: 0
    #3
    2025-03-07, 04:36 AM
    I will test and validate that.
    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