Version 1.23.1.4602
Much to my suprice my almost all my external subtitles has disapeared.
I use the format:
/Movies
/Avatar (2009)
Avatar.mkv
Avatar.dan.srt
Only a few subtitles in this format are recognized.
What might i do wrong.
(I’m pretty sure it worked for all my subtitles before
Please post the first ~20 lines from the Plex XML info of an affected video.
Are the media stored on the server machine or on a network share/NAS?
They are all stored on NAS
Here goes:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Film" librarySectionUUID="47ada48d-8ad2-492d-8678-1ef36243a0b0" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1622085934">
<Video ratingKey="17201" key="/library/metadata/17201" guid="com.plexapp.agents.imdb://tt0055499?lang=da" studio="SF Studios" type="movie" title="Som i et spejl" librarySectionTitle="Film" librarySectionID="1" librarySectionKey="/library/sections/1" originalTitle="Såsom i en spegel" contentRating="Not Rated" summary="K..." rating="10.0" audienceRating="9.2" year="1961" tagline="..." thumb="/library/metadata/17201/thumb/1621940217" art="/library/metadata/17201/art/1621940217" duration="5150040" originallyAvailableAt="1961-06-06" addedAt="1464015510" updatedAt="1621940217" audienceRatingImage="rottentomatoes://image.rating.upright" chapterSource="agent" ratingImage="rottentomatoes://image.rating.ripe">
<Media id="14309" duration="5150040" bitrate="1700" width="720" height="576" aspectRatio="1.33" audioChannels="2" audioCodec="mp3" videoCodec="mpeg4" videoResolution="576" container="avi" videoFrameRate="PAL" videoProfile="advanced simple">
<Part accessible="1" exists="1" id="15106" key="/library/parts/15106/1464012945/file.avi" duration="5150040" file="W:\Shared Videos\hd11\HD11.0-4\hd111.5-9\11150\Såsom i en spegel (1961)\Såsom i en spegel.Dan.avi" size="1094098668" container="avi" deepAnalysisVersion="4" requiredBandwidths="1691,1691,1691,1691,1691,1691,1691,1691" videoProfile="advanced simple">
<Stream id="34467" streamType="1" codec="mpeg4" index="0" bitrate="1498" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codecID="XVID" codedHeight="576" codedWidth="720" frameRate="25.000" height="576" level="5" profile="advanced simple" refFrames="1" requiredBandwidths="1499,1499,1499,1499,1499,1499,1499,1499" width="720" displayTitle="480p (MPEG4)" extendedDisplayTitle="480p (MPEG4)"> </Stream>
<Stream id="34468" streamType="2" selected="1" codec="mp3" index="1" channels="2" bitrate="192" audioChannelLayout="stereo" requiredBandwidths="192,192,192,192,192,192,192,192" samplingRate="44100" streamIdentifier="1" displayTitle="Ukendt (MP3 Stereo)" extendedDisplayTitle="Ukendt (MP3 Stereo)"> </Stream>
</Part>
</Media>
Considering the file name of the video file, have you verified that the name of the subtitle file is actually Såsom i en spegel.Dan.dan.srt ?
Did something recently change on your NAS?
New firmware, or perhaps a change in the settings of the SMB server?
Has the folder W:\Shared Videos\hd11\HD11.0-4\hd111.5-9\11150\ been added directly to your Plex movie library, or does it point to a folder above it?
Another thought:
Settings - Server - Agents - Movies - “Plex Movie (Legacy)”
Is the line “Local Media Assets” disabled? If so, re-enable it.
Then perform “Refresh Metadata” on the affected movie.
This movie is still using the old (Python-based) metadata agent.
Are you using the opensubtitles.org agent, or perhaps SubZero?
If you don’t, consider switching to the new agent: https://support.plex.tv/articles/upgrading-a-movie-library-to-the-use-the-new-plex-movie-agent/
Keep in mind that this conversion is not complete until you Refreshed Metadata for the whole library.
The file names are correct. Playing movies from the NAS with VLC-player finds and shows the subtitles on all affected movies. There has been made no changes in the settings and the folder structure on the NAS for the last 4 years.
The “Local Media Assets” is enabled. Maybe I once disabled it… I don’t remember.
Anyway I got the subtitles back refreshing the metadata.
I don’t use subtitle agents. I find subtitles or translate myself and ajust them before storing in the folder together with the movie.
Could you take another look into the XML, to see if the content of the guid="... property is now different than before?
If it is different, you have already converted your library to use the new agent, but you didn’t complete the conversion by Refreshing Metadata of the whole library.
It’s the same.
I’m not very keen on changing agent since a lot of synpsis are “handmade”. I don’t want to loose anything 
Anyway I started a complete metadata refresh. It will take some time…
You won’t, if the “lock” icon is engaged on the Description field.
Okay. I started upgrading. X-ing fingers
I’m not sure how long it’ll take to refresh all meta data. The round cirkel iscompleeted but I can’t start another refresh. Only cansle the ongoing one… So I’ll have to wait an see. Anyway several subtitles are still missing so refresh might still be running
Don’t believe a compleete metadata refresh works.
Refreshing a single movie brings subtitles back - but they are shown as “UNKNOWN”. Wierd
Wait a little longer. Depending on the size of your library, this can take hours to complete.
Okay… I’ve got 5000 titles.
I’'l continue tonight 
Seems my subtitles are back but…
They are all “unknown”.
Seems Plex doesn’t understand the language code “dan”.
Could I see the precise & complete file names of a video+subtitle file pair?
Just as I thought. The subtitle file is missing the language code.
If you include the language code in the file name of the video file, the subtitle file needs a second language code.
The first one is merely there so the file name of the subtitle is identical to the video file. The second .dan will be used to tell Plex which language is inside.
So, change the file name of the SRT file to Citizen Kane.Dan.dan.srt and try again.
If I use:
Citizen Kane.avi
Citizen Kane.dan.srt
Subtitles aren’t found
???
Then switch the whole library to the new agent and be done.
The old agents won’t see any bugfixes anymore.
Please enable the display of file name extensions in Windows explorer. Windows is hiding them by default, which could mislead you about the true file names.