Local Media Assets for subtitles and The Movie Database for movie names?

I need LMA first in agents so that I can force only foreign audio subtitles but this screws up movie names for a lot of my movies. The movie names go by the file name and sometimes file names are something like The.Greatest.Movie instead of The Greatest Movie. If I set The Movie Database as first in agents I get the correct movie names but then I dont have correct foreign only subtitles for movies.

Right now all of the movie is in subtitles even though it shouldnt be.

Is there a way to fix this?

Actually even with LMA first, all subtitles are shown even with foreign only selected in PMS. If I uncheck “automatically select audio and subtitle tracks” then no subtitles are shown at all.

I know this movie has a Forced subtitle track so Plex isnt selecting it for some reason. What is going on?

Using Local Media Assets doesn’t mean Plex will use the file name and you don’t have to have LMA to be the first item in the agent configuration for it to recognize your external subtitles.

With Plex, it’s all about having your files named correctly.
File names should alway match the Plex naming conventions described in the Plex Media Preparation support articles – this goes for the movie itself but also for the external subtitles!
Preferred structure should be:
Movies Folder > Your Movie ([year]) > Your Movie ([year]).mkv
Movies Folder > Your Movie ([year]) > Your Movie ([year]).[2 or 3-letter language code].["forced" for forced subtitles].srt

If you have tons of subtitles in the folder, embedded in the movie file or opensubtitles.org activated, Plex clients will play ALL AVAILABLE subtitles in the subtitles dropdown. However if you have properly named the subtitle names and 1 forced subtitle for the selected/preferred language, this one should be pre-selected by Plex.


Edit: you don’t need to have the movie folder… however with local media assets activated I strongly recommend to use this approach.

For some reason my files have been renamed before adding to Plex but Plex still sees the original file name which was embedded in the metadata. Thats why the filenames are funky. Not sure what to do beyond editing embedded metadata.

if Plex believes the file of a library item is different from the actual file, you will not be able to play it back but get an error message instead when doing so.

click Scan library Files in the context menu of the affected library to have Plex re-scan the folders and get the actual file names.

editing embedded metadata should have nothing to do with this at all…

What I’m saying is the movie’s metadata has the original filename of the movie before I renamed it to something with proper formatting. The original filename was something like The.Greatest.Movie.2018 but I renamed it to The Greatest Movie 2018. If I choose Local Media Assets as top most in priority, this problem occurs because it pulls movie name from metadata of file. But with The Movie DB it will get the proper name.

@kianrafiee said:
For some reason my files have been renamed before adding to Plex but Plex still sees the original file name which was embedded in the metadata. Thats why the filenames are funky. Not sure what to do beyond editing embedded metadata.

MP4 files? If so, remove the metadata(suchas the title) before adding to Plex.
For getting sub’s to work check out this
https://forums.plex.tv/discussion/comment/1407654/#Comment_1407654
And here on external sub’s
https://support.plex.tv/articles/200471133-adding-local-subtitles-to-your-media/

@tom80H said:
Using Local Media Assets doesn’t mean Plex will use the file name

But it will try to use the embedded metadata.

Side note: For all you who know. How does Plex handle foreign only parts of a movie IF you are using opensubtitles.org to display sub’s. Will it actually display the foreign parts or will it just display all dialogue for the movie?

answered here…

@NewPlaza: true… I believe there used to be a setting/flag in the library/advanced settings (now gone or I must have imagined it). In that case I’m glad I’m mostly using MKVs :wink:

@kianrafiee: perfectly possible to achieve this as described in my post and considering the remarks from NewPlaza. step 1 should be to change LMA to priority 2 behind Plex Movie or The Movie Database – done.

I set the video forced subtitle PGS track to Forced and Default and set other subtitle tracks to Off for both Forced and Default but it still defaults to another subtitle track in plex web player. I refreshed the metadata everytime.

You don’t have to deactivate the other subtitles… having 1 forced entry per language will do the job.

Refreshing metadata has nothing to do with this – metadata is the name, description, actors, air date, director name… not the actual content such as video, audio or subtitles.
Instead, use the Analyze button. Analyze will re-scan the movie file for any updates in its content (again… such as video, audio and subtitles) – this means it’ll look if media duration, resolution, audio/subtitle track languages have changed… and also if a subtitle track is forced.

@tom80H after the plex dance, it now correctly defaults to forced track. But it seems when I change the audio track in Plex App on Apple TV 4K, it reverts subtitle to the wrong one and not the forced one.

I also changed the movie files default audio track from TrueHD to AC3 and did the plex dance, but it still shows TrueHD in PMS.

as per @OttoKerner’s reply in your other discussion… once you changed/touched the selection, Plex will remember this as your “latest setting/preference” for this movie.

@tom80H I only changed the audio track. It changed the subtitle track on its own.