Plex not finding .SRT - subtitles

For the last couple of updates, something’s broken with PMS Linux: it just refuses to detect .SRT-subtitles. It used to work fine before and it works fine on my NVIDIA Shield TV using the exact same files, but the PMS Linux has recently stopped recognizing .SRT on any new media I add. It is HUGELY annoying and it is definitely a bug.

I am currently using PMS Linux version 1.18.6.2368.

Settings - Server - Agents -
make sure the line ‘Local Media Assets’ is not disabled under any of the categories and subcategories.

And since this is Linux, make sure that these srt files are accessible to the user account plex .

As I said, it worked fine before and it continues to work with PMS running on my Shield TV, so no, it’s not a permissions-issue and I have also not changed anything in Local Media Assets - settings.

Please provide a ls -la of the directory containing the movie and the SRT file

yhteensä 7,5G
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E01.avi’
-rw-rw-rw- 1 nita nita 49K loka 16 2005 ‘Charmed S03E01.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E02.avi’
-rw-rw-rw- 1 nita nita 51K loka 16 2005 ‘Charmed S03E02.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E03.avi’
-rw-rw-rw- 1 nita nita 46K loka 16 2005 ‘Charmed S03E03.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E04.avi’
-rw-rw-rw- 1 nita nita 45K loka 16 2005 ‘Charmed S03E04.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E05.avi’
-rw-rw-rw- 1 nita nita 45K loka 16 2005 ‘Charmed S03E05.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E06.avi’
-rw-rw-rw- 1 nita nita 47K loka 16 2005 ‘Charmed S03E06.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E07.avi’
-rw-rw-rw- 1 nita nita 44K loka 16 2005 ‘Charmed S03E07.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E08.avi’
-rw-rw-rw- 1 nita nita 44K loka 16 2005 ‘Charmed S03E08.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E09.avi’
-rw-rw-rw- 1 nita nita 49K loka 16 2005 ‘Charmed S03E09.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 19 2018 ‘Charmed S03E10.avi’
-rw-rw-rw- 1 nita nita 50K loka 16 2005 ‘Charmed S03E10.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E11.avi’
-rw-rw-rw- 1 nita nita 54K loka 16 2005 ‘Charmed S03E11.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E12.avi’
-rw-rw-rw- 1 nita nita 46K loka 16 2005 ‘Charmed S03E12.en.srt’
-rw-rw-rw- 1 nita nita 349M marras 18 2018 ‘Charmed S03E13.avi’
-rw-rw-rw- 1 nita nita 49K loka 16 2005 ‘Charmed S03E13.en.srt’
-rw-rw-rw- 1 nita nita 349M marras 18 2018 ‘Charmed S03E14.avi’
-rw-rw-rw- 1 nita nita 47K loka 16 2005 ‘Charmed S03E14.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E15.avi’
-rw-rw-rw- 1 nita nita 46K loka 16 2005 ‘Charmed S03E15.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 19 2018 ‘Charmed S03E16.avi’
-rw-rw-rw- 1 nita nita 46K loka 16 2005 ‘Charmed S03E16.en.srt’
-rw-rw-rw- 1 nita nita 349M marras 18 2018 ‘Charmed S03E17.avi’
-rw-rw-rw- 1 nita nita 50K loka 16 2005 ‘Charmed S03E17.en.srt’
-rw-rw-rw- 1 nita nita 349M marras 18 2018 ‘Charmed S03E18.avi’
-rw-rw-rw- 1 nita nita 54K loka 16 2005 ‘Charmed S03E18.en.srt’
-rw-rw-rw- 1 nita nita 347M marras 18 2018 ‘Charmed S03E19.avi’
-rw-rw-rw- 1 nita nita 49K loka 16 2005 ‘Charmed S03E19.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E20.avi’
-rw-rw-rw- 1 nita nita 47K loka 16 2005 ‘Charmed S03E20.en.srt’
-rw-rw-rw- 1 nita nita 350M marras 18 2018 ‘Charmed S03E21.avi’
-rw-rw-rw- 1 nita nita 44K loka 16 2005 ‘Charmed S03E21.en.srt’
-rw-rw-rw- 1 nita nita 349M marras 18 2018 ‘Charmed S03E22.avi’
-rw-rw-rw- 1 nita nita 46K loka 16 2005 ‘Charmed S03E22.en.srt’

As you can see, there’s nothing wrong with the permissions.

Try the 3 letter codes not 2. We’ll see if something slipped in either the local locale or in PMS.

[chuck@lizum Lucy (2014).498]$ ls -la
total 20517016
drwsr-sr-x   2 chuck chuck        4096 Aug 21 14:29 ./
drwsr-sr-x 283 chuck chuck       16384 Jan  2 21:08 ../
-rw-r--r--   1 chuck chuck        3674 Nov 22  2014 Lucy (2014).eng.forced.srt
-rw-r--r--   1 chuck chuck 21009351103 May 27  2018 Lucy (2014).mkv
[chuck@lizum Lucy (2014).499]$ 

Actually, the ability to see external subtitles also depends on following the rules for folders and subfolders.
Are these files located in a Season 03 subfolder, underneath the main ‘Charmed’ folder?

No difference.

Yes, they are.

Could you post the contents of the Plex XML info of one of these episodes?

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="2" librarySectionTitle="Sarjat" librarySectionUUID="e1b274c7-10c1-43d4-886a-d5b9d555b698" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1580813708">
<Video ratingKey="11566" key="/library/metadata/11566" parentRatingKey="11544" grandparentRatingKey="3907" guid="com.plexapp.agents.thetvdb://70626/3/22?lang=en" parentGuid="com.plexapp.agents.thetvdb://70626/3?lang=en" grandparentGuid="com.plexapp.agents.thetvdb://70626?lang=en" type="episode" title="All Hell Breaks Loose" grandparentKey="/library/metadata/3907" parentKey="/library/metadata/11544" librarySectionTitle="Sarjat" librarySectionID="2" librarySectionKey="/library/sections/2" grandparentTitle="Charmed" parentTitle="Kausi 3" contentRating="TV-14" summary="When the Halliwell sisters are exposed as witches on nation-wide television, they form a pact with The Source to reverse time and undo the damage. However, in the process, one of the sisters makes the ultimate sacrifice, placing the Power of Three in mortal danger." index="22" parentIndex="3" rating="7.7" year="2001" thumb="/library/metadata/11566/thumb/1580831180" art="/library/metadata/3907/art/1580831182" parentThumb="/library/metadata/11544/thumb/1580831182" grandparentThumb="/library/metadata/3907/thumb/1580831182" grandparentArt="/library/metadata/3907/art/1580831182" grandparentTheme="/library/metadata/3907/theme/1580831182" duration="2452224" originallyAvailableAt="2001-05-17" addedAt="1580831158" updatedAt="1580831180">
<Media id="21224" duration="2452224" bitrate="1182" width="640" height="480" aspectRatio="1.33" audioChannels="2" audioCodec="ac3" videoCodec="mpeg4" videoResolution="480" container="avi" videoFrameRate="PAL" videoProfile="simple">
<Part accessible="1" exists="1" id="21396" key="/library/parts/21396/1542550147/file.avi" duration="2452224" file="/mnt/Storage/Video/TV-Shows/Charmed (1998)/Season 3/Charmed S03E22.avi" size="365164544" container="avi" deepAnalysisVersion="4" requiredBandwidths="2297,1936,1650,1650,1650,1650,1650,1650" videoProfile="simple">
<Stream id="74143" streamType="1" codec="mpeg4" index="0" bitrate="990" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="480" codedWidth="640" frameRate="25.000" height="480" level="3" profile="simple" refFrames="1" requiredBandwidths="2105,1744,1461,1461,1461,1461,1461,1461" width="640" displayTitle="480p (MPEG4)"/>
<Stream id="74144" streamType="2" selected="1" codec="ac3" index="1" channels="2" bitrate="192" audioChannelLayout="stereo" requiredBandwidths="192,192,192,192,192,192,192,192" samplingRate="48000" streamIdentifier="1" displayTitle="Tuntematon (AC3 Stereo)"/>
</Part>
</Media>
<Writer id="14444" filter="writer=14444" tag="Brad Kern"/>
<Extras size="0"> </Extras>
</Video>
</MediaContainer>

OK, this confirms that you have successfully matched this show with TheTVDB agent.
Now please go to
Settings - Server - Agents - Shows - TheTVDB
and see if there is a line called ‘Local Media Assets’ at all.
And if it’s there, whether it has a check mark in front of it.

Yes, there was “Local Media Assets” and it was checked. I unchecked it, then checked it again, refreshed library and then refreshed metadata, after which Plex seems to have found the missing subtitles. Some sort of a UI-bug or something?

I cannot know that. Maybe the last Refresh of Metadata was aborted before it could scan for external subtitles.
Maybe it was indeed something wrong with the configuration of the metadata agent combination, which your toggling of the LMA appears to have fixed.

Were the server data perhaps backed up and restored from a different machine? In this case, something like this has been reported previously.

No, I haven’t had to do anything like that with the data. I have so far (knock on wood) managed to avoid any server-mishaps that’d require restoring from backups.

Well, anyways, it was just a hunch: over the years I’ve had SO many Windows-, Linux, Android- and web-apps randomly have similarly buggy checkboxes, where they claim to be checked but apparently aren’t, so I thought to just give it a go and it seems to have worked. Could even be Firefox that messed it up, instead of PMS, I guess. Just glad it got fixed!

So I can check the box, “Scan files” was executed on that library section?

Not just that section, but the whole library. I did originally try refreshing the library, refreshing all metadata, analyzing everything – none of it got the subs to show up. Unticking and then ticking the checkbox and then refreshing library didn’t work, but then following that with refreshing metadata worked, so something was a bit wonky. I wouldn’t know what.

I’ve not seen that behavior before. I will definitely keep my eyes open for it occurring.

There are times , even in desktop linux (Ubuntu 18.04 + Gnome is an example) when an apparently active setting isn’t active.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.