Jellyfin Forum
SOLVED: Auto external subtitles files pick - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: Auto external subtitles files pick (/t-solved-auto-external-subtitles-files-pick)



Auto external subtitles files pick - Yorai1212 - 2024-08-04

Hey, I'm currently having an issue with Jellyfin and I've been trying to find a solution, but so far no luck.

In Jellyfin, I usually almost always have a subtitles file next to a video file and when I play the episode of a show or a movie, I want those subtitles files to be automatically chosen, over ANYTHING else.
So, my native language is Hebrew and so most of my external SRT files are in Hebrew. Some are in English, since I can't find Hebrew subtitles for those.
My goal here is to make Jellyfin ALWAYS pick the external subtitles file, over the internal subtitles track that are in the MP4/MKV files.

As I understand, in order to do that. I need to organize my folders correctly like this;
[Image: c94DOth.png] [Image: NDe4pU7.png]

And the videos and subtitles files like this:
[Image: w8r28A1.png]
with the SRT format being show name (year).default.language.srt and video file being the same but without .default.language.
So I did that, for all of my shows.
And also similar thing to movies as well:
[Image: rS8DzUp.png]
Occasionally I change it from hebrew to english, but.. same thing, you know..

Anyway, this still doesn't work. It sometimes does select the subtitles file, but also sometimes doesn't, I have to manually switch to the external subtitles file in Jellyfin on my TV when it doesn't. Any ideas on what to do?
I just want a simple way to make it always choose the external subtitles files, ALWAYS.

Also, this is my subtitles settings here if it matters:
[Image: X7YpGiV.png]


RE: Auto external subtitles files pick - TheDreadPirate - 2024-08-04

Try renaming the language from "Hebrew" to the ISO abbreviation "he". Jellyfin expects the ISO language tag. Otherwise it may not parse it correctly. Including whether it is the default track or not.

https://jellyfin.org/docs/general/server/media/external-files/#naming-flags

Quote:Any arbitrary text not parsable to a language or flag will be combined and used as the title of the stream (if there is not a stream title already embedded in the file metadata).



RE: Auto external subtitles files pick - Yorai1212 - 2024-08-04

(2024-08-04, 04:10 PM)TheDreadPirate Wrote: Try renaming the language from "Hebrew" to the ISO abbreviation "he".  Jellyfin expects the ISO language tag.  Otherwise it may not parse it correctly.  Including whether it is the default track or not.

https://jellyfin.org/docs/general/server/media/external-files/#naming-flags

Quote:Any arbitrary text not parsable to a language or flag will be combined and used as the title of the stream (if there is not a stream title already embedded in the file metadata).

So changing it to "he" will potentially fix this? can't I actually just remove the .hebrew all together and just keep the default?
Doesn't "default" already makes the file the default file Jellyfin will use? as it, it will take that file and enable it over anything else.

I'm just extremely confused by the Jellyfin docs. I don't get exactly what to do in order to make a file the default selection.
There has to be an easier way, no?


RE: Auto external subtitles files pick - TheDreadPirate - 2024-08-04

I'd recommend just changing the language tag to "he" so that if you or another user has a language preference set it will parse the language of the subtitle track correctly.

Code:
American Horror Stories (2021).S01E01.default.he.srt

Like that.

I THINK it will resolve the problem. I, personally, prefer to not have any automatic subtitles on so I've never experimented with this.


RE: Auto external subtitles files pick - Yorai1212 - 2024-08-04

(2024-08-04, 06:47 PM)TheDreadPirate Wrote: I'd recommend just changing the language tag to "he" so that if you or another user has a language preference set it will parse the language of the subtitle track correctly.

Code:
American Horror Stories (2021).S01E01.default.he.srt

Like that.

I THINK it will resolve the problem.  I, personally, prefer to not have any automatic subtitles on so I've never experimented with this.

So if I understand this correctly, I was supposed to write "he" instead of "hebrew" and because I wrote "hebrew" it then completely ignored the "default" flag. Right? since it then thinks that that's just the file name and that there's no flags at all. Am I understanding this right?

And technically, no other user is using my server. I basically have no use for that language tag, at all. So my understanding is that writing ".default" only (for example:
American Horror Stories (2021).S01E01.default.srt)
should also make it default. I know you don't use this kind of thing, but from what you understand...?
The doc is so confusing to me for no reason... I apologize.


RE: Auto external subtitles files pick - TheDreadPirate - 2024-08-04

I quoted from the doc that if Jellyfin doesn't recognize ANY of the tags it will treat the entire thing as a title string and not parse it at all for any other tags.

https://jellyfin.org/docs/general/server/media/external-files/#naming-flags

Quote:Any arbitrary text not parsable to a language or flag will be combined and used as the title of the stream (if there is not a stream title already embedded in the file metadata).

You can forego a language tag and just use default by itself.


RE: Auto external subtitles files pick - Yorai1212 - 2024-08-05

(2024-08-04, 10:14 PM)TheDreadPirate Wrote: I quoted from the doc that if Jellyfin doesn't recognize ANY of the tags it will treat the entire thing as a title string and not parse it at all for any other tags.

https://jellyfin.org/docs/general/server/media/external-files/#naming-flags

Quote:Any arbitrary text not parsable to a language or flag will be combined and used as the title of the stream (if there is not a stream title already embedded in the file metadata).

You can forego a language tag and just use default by itself.

Yeap, I know you quoted. I just didn't exactly get that at first, English isn't my native language.
So I'll just use "default" from now on. Thank you very much for the help!
Do I mark the post as solved or should I test the files before and then?