![]() |
Script to Tag Media with Language – Need Feedback and Help - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: Script to Tag Media with Language – Need Feedback and Help (/t-script-to-tag-media-with-language-%E2%80%93-need-feedback-and-help) |
Script to Tag Media with Language – Need Feedback and Help - StilgarBF - 2025-03-03 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, RE: Script to Tag Media with Language – Need Feedback and Help - riverlikelobo - 2025-03-05 I'm no expert, but you may need to lock Tags in the movie's metadata. RE: Script to Tag Media with Language – Need Feedback and Help - StilgarBF - 2025-03-07 I will test and validate that. Thank you! |