Joechung 5 Posted November 11, 2021 Posted November 11, 2021 Hi, everybody, How to add other mandatory subtitles under the premise that the movie has built-in default mandatory subtitles? I tried using {forced/foreign} but nothing worked. As shown in the picture below, I renamed the subtitle suffix to {.forced}, but the movie still defaults to mandatory main subtitles in English. Is there any other solution?
Luke 39008 Posted November 11, 2021 Posted November 11, 2021 Hi, looks like it worked just fine, the new track is marked as forced. What is the problem?
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 (edited) Hi Luke I am very glad that you can answer my question. I may not describe it clearly. I'm sorry. My server is currently in good condition. My question is how to set the specified subtitles as mandatory subtitles. Because I encountered a little problem when setting up forced subtitles, I referred to the description of forced subtitles in the knowledge base (https://support.emby.media/support/solutions/articles/44001159160-subtitles), and tried it according to the official method. No improvement, EMBY still recognizes the English subtitle that comes with the movie as a mandatory main subtitle. That's why I came up to ask you all. I want to know about the setting of forced subtitles. My situation may be special, because the downloaded movie file comes with forced English subtitles by default (this is not the mandatory subtitle I want to specify), so I want to force Chinese subtitles through manual settings Set as the main subtitle of the movie. Looking forward to your reply. Edited November 12, 2021 by Joechung
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 After I set up mandatory Chinese subtitles. EMBY will still recognize the original English subtitles of the movie as mandatory. As shown below:
Happy2Play 9229 Posted November 12, 2021 Posted November 12, 2021 (edited) Best guess would be translation for subtitle. What does this translate to? Will have to test more with mixed embedded and external but did not have a issue with set language selection correct sub with en.forced.srt and zh-cn.forced.srt. Not knowing exact characters I translated Chinese to these characters (漢語) and English was chosen. So my theory would be correct. I can test more if you provide exact character per that naming scheme. @Lukedo subtitles allow the use of foreign language translations or is it specific to ISO 639-1 language code. @cayarsif auto selection is specific to ISO codes we may need to add that to the KB. Edited November 12, 2021 by Happy2Play corrected zh-cn 1
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 (edited) Hello, happy, I changed the suffix of the subtitles to "Simplified" I did this to identify subtitles for myself. Later, I changed the subtitles to the correct Chinese recognition "zh.forced.srt", but after scanning, EMBY still forced the embedded English subtitles in the first place. My purpose is to display mandatory Chinese subtitles as soon as EMBY is opened. Edited November 12, 2021 by Joechung
Luke 39008 Posted November 12, 2021 Posted November 12, 2021 1 hour ago, Joechung said: After I set up mandatory Chinese subtitles. EMBY will still recognize the original English subtitles of the movie as mandatory. As shown below: It's still there because adding a new one does not make the old one go away.
Luke 39008 Posted November 12, 2021 Posted November 12, 2021 Quote Hello, happy, I changed the suffix of the subtitles to "简体(Simplified)" to better identify the subtitles. This should not matter much. Actually it matters a lot. It's how the server knows what language the subtitles are and can match that to your emby user subtitle preferences. So yes, happy2play is correct. It should be an iso language code.
Happy2Play 9229 Posted November 12, 2021 Posted November 12, 2021 (edited) 16 minutes ago, Joechung said: Hello, happy, I changed the suffix of the subtitles to "简体(Simplified)" to better identify the subtitles. This should not matter much. I modified the subtitles to the correct Chinese recognition "en.forced.srt", but after scanning, EMBY still recognizes the English subtitles of the movie as mandatory subtitles. My purpose is to display EMBY as mandatory Chinese subtitles as soon as I open it. So are these English forced subs or Chinese Simplified forced sups? If the latter you would name them zh-cn.forced to get Emby to automatically select set language. Also note using zh.forced were selected also when set to Chinese Simplified. or chi.forced and zho.forced as they are ISO codes. Edited November 12, 2021 by Happy2Play
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 12 minutes ago, Happy2Play said: So are these English forced subs or Chinese Simplified forced sups? If the latter you would name them zh-cn.forced to get Emby to automatically select set language. The effect I want is the latter, but EMBY only recognizes the former. I cannot change the former because the former is embedded in the movie, and I cannot find the English subtitle file of the former.
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 (edited) 29 minutes ago, Happy2Play said: Also note using zh.forced were selected also when set to Chinese Simplified. Edited November 12, 2021 by Joechung
Happy2Play 9229 Posted November 12, 2021 Posted November 12, 2021 I will have to later with media that has embedded and external forced subtitles.
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 5 minutes ago, Happy2Play said: I will have to later with media that has embedded and external forced subtitles. OK. I am waiting for your reply.
Happy2Play 9229 Posted November 12, 2021 Posted November 12, 2021 (edited) @LukeI can reproduce this for a file that has embedded and external forced subs. Emby chose the embedded English forced subs vs the external Chinese forced sub. Edited November 12, 2021 by Happy2Play added sub settings
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 EMBY can recognize them at the same time, but this is a sequential problem. If the EMBY embedded subtitles were previously set to "forced", it will cause the subsequent settings of the "forced" subtitles to be sorted later instead of first.
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 EMBY can recognize them at the same time, but this is a sequential problem. If the EMBY embedded subtitles were previously set to "forced", it will cause the subsequent settings of the "forced" subtitles to be sorted later instead of first. The effect I want is to make EMBY recognize the "forced" subtitle file set by the latter as the first.
Happy2Play 9229 Posted November 12, 2021 Posted November 12, 2021 A temporary fix would be to remove the embedded Forced flag from the media with MKVToolNix. But dev will have to comment why in this mixed environment Language setting is not honored since external only honors language. Have not tested multiple internal forced subs.
Luke 39008 Posted November 12, 2021 Posted November 12, 2021 Depends on your emby user subtitle preferences and whether you've played that video before adding the new subtitles. It could be remembering your previous selection. First thing though is name the subtitle file with the language code so that the server knows what the language is.
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 4 hours ago, Happy2Play said: A temporary fix would be to remove the embedded Forced flag from the media with MKVToolNix. But dev will have to comment why in this mixed environment Language setting is not honored since external only honors language. Have not tested multiple internal forced subs. Agree, after actual operation, it is feasible. But this means that every movie (with built-in forced subtitles) needs to use MKVToolNix to remove the "Forced" of the embedded subtitles. If each movie is a file of 60G or more, the time cost is relatively high to operate through MKVToolNix.
Carlo 4509 Posted November 12, 2021 Posted November 12, 2021 That could be scripted to walk through the path either removing or changing the forced sub. Get a solution working first then deal with that after.
Joechung 5 Posted November 12, 2021 Author Posted November 12, 2021 41 minutes ago, cayars said: That could be scripted to walk through the path either removing or changing the forced sub. Get a solution working first then deal with that after. Hi carays is very happy that you can reply, but the solution you mentioned is too difficult for me, because I don't have the basis of programming scripts, so I should not be able to deal with it according to the method you said.
Luke 39008 Posted November 12, 2021 Posted November 12, 2021 Why are we taking about this? You don't have to remove the old subtitles. Please just start with what I suggested. Thanks. 1
Joechung 5 Posted December 3, 2021 Author Posted December 3, 2021 On 11/12/2021 at 12:33 PM, Happy2Play said: A temporary fix would be to remove the embedded Forced flag from the media with MKVToolNix 21 hours ago, Luke said: @Joechung has this helped? HI Hello Luke, I didn’t find a better way. I currently rely on MKVToolNix, and use MKVToolNix to remove the mandatory label from the movie. This is feasible, but the only thing The disadvantage is that this operation will take more time.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now