Plex-Auto-Languages icon indicating copy to clipboard operation
Plex-Auto-Languages copied to clipboard

Only change the subtitle if the Subtitle language exists

Open Eagle1337 opened this issue 2 years ago • 4 comments

Example: Season 1 Available Languages: English Season 2 Available Languages: English, Japanese

If you go to season to and change the subtitle language to Japanese it makes it so that Season 1 gets no subtitle language. It makes things a pain when you have different releases for some shows with multiple seasons. Ideally you'd be able to change the entire show's subtitles (and when you make a change in the season that's different it wouldn't wipe the old settings due to the language not existing.)

Eagle1337 avatar Apr 26 '22 04:04 Eagle1337

The current behavior is to unselect the currently selected stream if it does not match the one you are watching, I see how this can be a pain in your case.

The issue is that if you have for example this:

  • Episode 1: English/English Forced
  • Episode 2: English/English Forced

If I change the episode 1 to French/French Forced and the corresponding subtitle does not exists in the episode 2, it may not be ideal to let the English Forced subtitles selected.

What can be done is either set a configuration parameter, something like unselect_on_mismatch, or unselect only if the stream is a forced subtitle, which is the most subject to change. What do you think ?

RemiRigal avatar Apr 26 '22 07:04 RemiRigal

Like with anime for example, especially with tracks that have multiple subtitle tracks, you'll get things like english/EN (tag): XX subtitles No Honorifics English/ENM (tag): Honorifics

others like with use japanese or various other bits. and selecting an ENM tag in cases where it doesnt's exist completely kills all subtitle track defaults and defaults to none.

Eagle1337 avatar Apr 26 '22 07:04 Eagle1337

Bumping this issue, having the same experience. In my case I have the following setup:

Season 1:

  • English audio
  • Japanese audio
  • English subtitles for English audio (forced)
  • English subtitles for Japanese audio

Season 2:

  • Japanese audio
  • English subtitles for Japanese audio

If season 1 is watched with English audio and forced subtitles, then season 2 is changed by PAL to Japanese audio and no subtitles. This scenario is very common in anime as English audio is usually released after the Japanese audio, so experiencing this issue a fair bit.

Expected behavior would be to play the Japanese audio + English subtitles if there is no other option available.

Animorphs avatar Jan 10 '23 00:01 Animorphs

As a belated update thing. there was a fork by Jusremo, that didn't swap between, it just left things if they were in English, made it great when you had some fun with different english language tagged subs but not fully through, such as English Middle Ages and etc, but the guy killed the repo, I have a version via git clone as it's what I mostly use.

Eagle1337 avatar Jan 13 '24 20:01 Eagle1337