Subtitle streams in idx/sub not detected

I have problems with some .idx/.sub-subtitles. VLC detects a number of language’s but Plex only detects one. Is this a known “feature”?

It should be working. I have seen multiple language choices when using idx/sub files. Can you provide the naming you are using for the movie and the idx/sub file? If you could provide the actual idx/sub files, that would help to diagnose problems.

“Tremors 4 The Legend Begins.720.idx”
“Tremors 4 The Legend Begins.720.sub”
Here are the files. Hope I am not violating any forum rules here, if so, feel free to delete this URL.
gofile.me/6oEwD/duu0wNvZU

You’re ok with the link.

I tried your files and I see a bunch of languages.

I wonder if the 1 you are seeing is the 1 that Plex automatically downloaded and it is not picking up the idx/sub file at all. Check your agent listing and make sure local media is enabled and at the top of the list.
I use Freebase so my settings look like this.

I can only see one language “Polski (IDX)” so it’s picking up the file obviously.

EDIT: Oh, when I pick “update” on the movie it detects either Polski or Espanol… Bug eh? :slight_smile:

Can you refresh the movie again? Then go to your logs folder, there will be a plugins log subfolder. Find the localmedia.log (I think that is what it is called) and upload it here.

Server version would be helpful too.

Server version: 0.9.12.14

Can’t locate the logfile you mentioned.

I have the same problem.

This is what shows up in com.plexapp.agents.localmedia.log;
2015-11-05 20:04:22,003 (307d8183700) : INFO (localmedia:268) - Looking for subtitle media in 1 paths with 1 media files. 2015-11-05 20:04:22,003 (307d8183700) : INFO (localmedia:269) - Paths: § 2015-11-05 20:04:22,004 (307d8183700) : INFO (subtitlehelpers:45) - Attempting to parse VobSub file: /path/tv/Series.Name/Name.S02E12.720p.BluRay.x264/Name.S02E12.720p.BluRay.x264.idx 2015-11-05 20:04:22,055 (307d8183700) : INFO (subtitlehelpers:59) - Found .idx subtitle file: /path/tv/Series.Name/Name.S02E12.720p.BluRay.x264/Name.S02E12.720p.BluRay.x264.idx language: en stream index: 0 2015-11-05 20:04:22,055 (307d8183700) : INFO (subtitlehelpers:59) - Found .idx subtitle file: /path/tv/Series.Name/Name.S02E12.720p.BluRay.x264/Name.S02E12.720p.BluRay.x264.idx language: en stream index: 1 2015-11-05 20:04:22,056 (307d8183700) : INFO (subtitlehelpers:59) - Found .idx subtitle file: /path/tv/Series.Name/Name.S02E12.720p.BluRay.x264/Name.S02E12.720p.BluRay.x264.idx language: fr stream index: 2 2015-11-05 20:04:22,056 (307d8183700) : INFO (subtitlehelpers:59) - Found .idx subtitle file: /path/tv/Series.Name/Name.S02E12.720p.BluRay.x264/Name.S02E12.720p.BluRay.x264.idx language: es stream index: 3 2015-11-05 20:04:22,063 (307d8183700) : DEBUG (model:229) - Serializing to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/TV Shows/1/7d0376fd57823767bba543ee8c0f60492c4d1ea.bundle/Contents/com.plexapp.agents.localmedia/Info.xml

And in all clients, including the webclient, all I see is the downloaded SRT-subs and ONLY “Español (IDX)”.
However; IF I use PHT I am able to see and select the other IDX-subtitles from the overlay-menu under audio-settings. But that’s it.

While snooping around a little in the logs, I found the path to the http-api for the episode in question, and the xml show only one IDX - the spanish. The rest was SRT’s that I assume PMS downloaded automatically.

I’m running PMS version 0.9.12.18 on Debian Wheezy.

Another update on my own diggings into this issue. It seem to occur quite random. I do however believe this might be a bug in PMS.

I’ve created a new section in PMS and copied some movies there containing Subtitles from idx&srt-files which contains multiple languages. In my test this idx/srt-combo contains 3 languages, whereas only one is reported by PMS api.

Some log-entries from com.plexapp.system.log proving the subtitles are found;

According to the log above, the resulting XML is found in var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Media/localhost/9/12344d16314a68eb18e90bcbbad28a12a9b68fc.bundle/Contents/Subtitles.xml does indeed contain all the IDX-languages (en, es & fr).

The PMS api for the specific movie (localhost:32400/library/metadata/189111/tree) does only contain ONE of the found idx-subitles; the Spanish one.

I’ve browsed the db with sqlitebrowser and could only find the spanish idx for that specific movie.

It seems to me that the subtitles are found by the helping agents, but somewhere in the transfer to PMS’ internals some of it get lost.
I’m not sure where in the logs I should look next to try to figure this issue out. And also, I don’t think I am able to troubleshoot this further without the help of someone from staff who knows the internals of PMS, or being able to activate more logging.

Is there anybody willing to help out? :slight_smile:

I’m runing PMS 0.9.14.0 on 64bit Debian Wheezy with PMS installed from the packages located at shell.ninthgate.se.

(Sorry @elan for this poor attempt to get attention on this potential PMS bug. :slight_smile: )

I’m a bit mad now actually… I watched a tv-show (picked english idx). But a few hours later it was gone and I could only pick spanish. WTF?! I haven’t touched the files on my server…
This issue needs to be fixed.

Sorry for bumping this thread but I am experiencing a similar problem using Plex Media Player.

@anon18523487 said:
Can you refresh the movie again? Then go to your logs folder, there will be a plugins log subfolder. Find the localmedia.log (I think that is what it is called) and upload it here.
Please do the above so I can see what is going on. Also, provide the entire file as an attachment. Looking at bits and pieces doesn’t really tell the whole picture.

FYI, this issue seem to have been fixed in PMS 0.9.15.6 for me.

Early 2021 clean-up: no feature suggestion (appears to have been a bug, fixed w/ PMS 0.9.15.6)