DIY-Viking

If you want something done right…

Plex audio and subtitle

We prefer to have all series and movies in both original language and French. When Plex users have different language preferences it becomes hard to give a seamless experience for everyone. For movies this might not be a very big problem, but there’s nothing worse than having to change language for each series-episode. Some users prefer to watch the original version (sometimes with subtitles), and others want always the French audio with forced subtitles. I have looked for self-hosted solutions/tools to help with this.

The first tool I tried was https://www.pastatool.com/. It works very good if you just rapidly need to change e.g. one season. It does demand quite a bit of administration, and is not easily accessible over https.

The best solution I have found so far is https://github.com/varthe/Defaulterr. Once the initial configuration and fine tuning has been done the result is perfect. I have fine tuned the configuration to fit the taste of everyone (we are 5 users at 3 different locations). I also use Tautulli to trigger a run when new content is added. This gives us a solution with practically no administration needs.

The example configuration on the github page is very helpful. Below is part of my configuration with some remarks.

# GROUPS
groups:
  frenchfirst:
    - user.one
    - user.two
  englishfirst:
    - user.three
    - user.four
    - "Owner Full Name"
# GROUPS END

filters:
  Series:
    frenchfirst:
      audio:
        - include:
            languageCode: fra
        - include:
            languageCode: eng
          on_match:
            subtitles:
              - include:
                  languageCode: fra
        - include:
            languageCode: heb
          on_match:
            subtitles:
              - include:
                  languageCode: fra
      subtitles:
        - include:
            language: Français
            languageCode: fra
            extendedDisplayTitle: forced

    englishfirst:
      audio:
        - include:
            languageCode: eng
          on_match:
            subtitles: disabled
        - include:
            languageCode: fra
          on_match:
            subtitles:
              - include:
                  languageCode: fra
                  extendedDisplayTitle: forced
        - include:
            languageCode: heb
          on_match:
            subtitles:
              - include:
                  languageCode: fra
        - include:
            languageCode: jpn
          on_match:
            subtitles:
              - include:
                  languageCode: fra

Honi

One thought on “Plex audio and subtitle”

  1. Nice practical overview. One thing that bites people later: subtitle track language metadata. If the SRT files are not tagged with the right language (and the forced flag for forced-narrative tracks), the per-user language preferences never auto-select correctly, and everyone ends up picking subtitles manually. A quick metadata check plus a timing QA pass (overlaps, gaps, reading speed) before dropping files into the library saves a lot of fiddling – AllSubConverter’s subtitle checker runs in the browser for exactly that.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top
WordPress Appliance - Powered by TurnKey Linux