Jellyfin compatible naming scheme : MULTi

Any questions? Need some help?
Post Reply
smellycheese
Posts: 12
Joined: 27 Sep 2025, 23:12

Jellyfin compatible naming scheme : MULTi

Post by smellycheese »

Hi,

Following main thread (Jellyfin compatible naming scheme) here is second part of the main idea named "MULTi"

For many non English (or for non English movies) we can have a specific tag to highlight that multiple languages are included with the movie.

If existing in original filename or if multiple language audio tracks are detected. I'd like to have MULTi in new filename.

There's a catch I could have multiple audio tracks of the same language (ie audio description, comment, different codec) that don't match for MULTi.

But, by example for an English movie, if I've an French audio track, I only will have comment audio track in English if I've also an English audio track for the movie itself.

If (order not relevant) :
- ENG + FRA = MULTI (each of them is a main title audio track)
- ENG + ENG = VO (2 main title tracks with different codec/quality, or different dubbing, or one main track and a commentary track, by example
- ENG + ENG + FRA = MULTi
- ENG + FRA + FRA = MULTi
- ENG + FRA + ITA = MULTi

I know that DUAL tag also exist, but I prefer to stick to MULTi for example described above.

Thank in advance
User avatar
rednoah
The Source
Posts: 24412
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Jellyfin compatible naming scheme : MULTi

Post by rednoah »

:idea: The {audioLanguages} binding will take care of extracting / validating / deduplicating the audio stream languages:

Format: Select all

{ if (count(audioLanguages) >= 2) 'MULTi' }

:idea: We can check the current file name for MULTi and the {audioLanguages} count like so:

Format: Select all

{ if (fn =~ /MULTi/ || count(audioLanguages) >= 2) 'MULTi' }



smellycheese wrote: 27 Sep 2025, 23:52 There's a catch I could have multiple audio tracks of the same language (ie audio description, comment, different codec) that don't match for MULTi.
smellycheese wrote: 27 Sep 2025, 23:52 - ENG + ENG = VO (2 main title tracks with different codec/quality, or different dubbing, or one main track and a commentary track, by example
:?: {audioLanguages} notably does not exclude any audio streams. If the audio streams in the file at hand are correctly tagged (e.g. comment audio stream is marked as such) then we can modify the code to account for that. I'd need you to share the MediaInfo table of a file that is representative for this corner case, so that we can have a look and see what we're working with.
:idea: Please read the FAQ and How to Request Help.
smellycheese
Posts: 12
Joined: 27 Sep 2025, 23:12

Re: Jellyfin compatible naming scheme : MULTi

Post by smellycheese »

Hello,

Can't test at this moment but if I well understand, you count how many audio language appear in a file.
If we've 2 or more language then we add MULTi (if not already present in original filename).

If I well understood, then this function should avoid being tricked by multi track of the same language case.

I'll look for that and, if not working as expected, share a suitable mediainfo output.

Regards
Post Reply