I am running Plex on my FreeNAS-9.10.2-U5 (561f0d7a1) box as a plugin and my content is available directly from my ZFS file system. My content is written to the file system by a user that disallows Plex or anything connecting via SMB to delete my content. It can only be modified via SFTP or using my user account via Putty. This configuration is on purpose in case someone tries to delete my content or someone’s computer on my network gets infected and tries to delete everyone’s content on my FreeNAS box.
All of my content is created by FFmpeg with H.264 video and stereo AAC audio and is in an MP4 container. The MP4 file reports that the audio track is in English by both Plex and MediaInfo and my subtitles are configured per this article and named per this article.
Below is an image of my content as it appears on my Windows box. My content is synced from my PC to my FreeNAS box via WinSCP. If you would prefer I can show you my content on my FreeNAS box via WinSCP.
As you can see in the image above my audio track announces itself as “English”, I have two subtitles in my directory for the same video, and Plex has subtitles configured. I create my SRT files via HdBr Stream Extractor v9, which creates a .sub file. Once that file is created I convert it to .srt via Subtitle Edit. My SRT file is encoded using UTF-8-BOM which is the default for Subtitle Edit. Plex does not see the subtitle with the “eng” value added which is shown as supported in the link above. My subtitles work without issue using RoksBox or when I deliver my media using either Wowza Streaming Engine or the now discontinued Helix Universal Server by RealNetworks.
I know that am missing something completely obvious here. Can anybody please be so kind as to direct me to the tutorial that I must have missed?
You need to activate ‘Local Media Assets’ in Settings - Server - Agents - Movies - Plex Movie
as well as
Settings - Server - Agents - Movies - TheMovieDatabase
and
Settings - Server - Agents - TV Shows - TheTVDB
and
Settings - Server - Agents - TV Shows - TheMovieDatabase
Do also verify that the subtitle files have the same file access permissions as the video files, so the server can actually access them.
@OttoKerner said:
You need to activate ‘Local Media Assets’ in Settings - Server - Agents - Movies - Plex Movie
as well as
Settings - Server - Agents - Movies - TheMovieDatabase
and
Settings - Server - Agents - TV Shows - TheTVDB
and
Settings - Server - Agents - TV Shows - TheMovieDatabase
Do also verify that the subtitle files have the same file access permissions as the video files, so the server can actually access them.
I have configured everything as shown above. All of my media assets (MP4 files and SRT files for example) all have the same permissions:
root@plexmediaserver_1:/media # pwd
/media
root@plexmediaserver_1:/media # ls -al
total 107
drwxr-xr-x 5 root wheel 5 Aug 16 2016 .
drwxr-xr-x 18 root wheel 23 Sep 24 2016 ..
drwxr-xr-x 103 1001 1001 105 Jul 18 23:10 audio
drwxr-xr-x 18 1001 1001 19 Apr 8 11:55 pictures
drwxr-xr-x 5 1001 1001 13 Sep 21 21:18 video
root@plexmediaserver_1:/media # cd video
root@plexmediaserver_1:/media/video # ls -al
total 6930
drwxr-xr-x 5 1001 1001 13 Sep 21 21:18 .
drwxr-xr-x 5 root wheel 5 Aug 16 2016 ..
drwxrwxrwx 54 1001 1001 628 Sep 20 11:20 My Movies
drwxrwxrwx 17 1001 1001 21 Sep 20 20:30 My TV
drwxrwxrwx 6 1001 1001 9 Sep 21 05:26 Other Video
-rwxrwxrwx 1 1001 1001 292058 Oct 20 2013 google-test.html
-rwxrwxrwx 1 1001 1001 5598 Jan 1 2015 orig-videoxml.php
-rw-r--r-- 1 1001 1001 654 May 25 14:50 player.html
-rwxrwxrwx 1 1001 1001 4702 Oct 11 2013 rbindex.ph
-rwxrwxrwx 1 1001 1001 22 Oct 19 2013 test.php
-rwxrwxrwx 1 1001 1001 5856 Jan 1 2015 videoxml.php
-rwxrwxrwx 1 1001 1001 3003 Feb 19 2016 wowzalogo.png
-rw-r--r-- 1 1001 1001 6365603 Apr 25 2011 zztop.mp3
root@plexmediaserver_1:/media/video # cd My\ Movies/
root@plexmediaserver_1:/media/video/My Movies # ls -al | less
total 191311489
drwxrwxrwx 54 1001 1001 628 Sep 20 11:20 .
drwxr-xr-x 5 1001 1001 13 Sep 21 21:18 ..
-rw-r--r-- 1 1001 1001 53519 Mar 29 2014 2001 - A Space Odyssey.eng.forced.srt
-rw-r--r-- 1 1001 1001 53702 Mar 29 2014 2001 - A Space Odyssey.jpg
-rw-r--r-- 1 1001 1001 2585430651 Sep 19 16:53 2001 - A Space Odyssey.mp4
-rw-r--r-- 1 1001 1001 2550122 Mar 29 2014 2001 - A Space Odyssey.mp4.tgmd
-rw-r--r-- 1 1001 1001 410647 Mar 29 2014 2001 - A Space Odyssey.mp4_sheet.jpg
-rw-r--r-- 1 1001 1001 14520 Apr 13 2014 2001 - A Space Odyssey.nfo
-rw-r--r-- 1 1001 1001 53519 Mar 29 2014 2001 - A Space Odyssey.srt
Note that the Plex Plugin (Version 1.8.4.4249) appears to have full read/write access however my media is mapped to a location that does not provide write access for Plex.
$ pwd
/mnt/roku/media/video/My Movies
$
$ ls -al | less
total 191311489
drwxrwxrwx 54 kevin kevin 628 Sep 20 11:20 .
drwxr-xr-x 5 kevin kevin 13 Sep 21 21:18 ..
-rw-r--r-- 1 kevin kevin 53519 Mar 29 2014 2001 - A Space Odyssey.eng.forced.srt
-rw-r--r-- 1 kevin kevin 53702 Mar 29 2014 2001 - A Space Odyssey.jpg
-rw-r--r-- 1 kevin kevin 2585430651 Sep 19 16:53 2001 - A Space Odyssey.mp4
-rw-r--r-- 1 kevin kevin 2550122 Mar 29 2014 2001 - A Space Odyssey.mp4.tgmd
-rw-r--r-- 1 kevin kevin 410647 Mar 29 2014 2001 - A Space Odyssey.mp4_sheet.jpg
-rw-r--r-- 1 kevin kevin 14520 Apr 13 2014 2001 - A Space Odyssey.nfo
-rw-r--r-- 1 kevin kevin 53519 Mar 29 2014 2001 - A Space Odyssey.srt
When I first installed Plex I made sure to let it know that the media location is read only. I cannot allow Plex write access to my media location as that location is where I sync my movie content via WinSCP in synchronize mirror mode. If I add a file to the source location on my PC then WinSCP will add it to the appropriate location. If I modify the asset on my PC then WinSCP will overwrite the old asset. If I delete an asset on my PC then WinSCP will delete it. Were I to provide Plex with write access then things would go wonky.
This is my Local Media Assets (Movies) setting which is the same across the board for Movies, Shows, Artists, Albums, and Photos. If I modify the setting for one agent then all agents are affected. As such I am using the lowest directory available which would be the “/media” directory as shown above:
Settings - Server - Agents - Movies - Plex Movie:
Settings - Server - Agents - Movies - The Movie Database:
Settings - Server - Agents - TV Shows - TheTVDB:
Settings - Server - Agents - TV Shows - The Movie Database:
My subtitles are still not showing up:
I know that I am missing something obvious and you likely already instructed me on exactly what to do. Please let me know what I missed.
So far you did almost everything perfectly.
(Except for the first screenshot. This has no relevance, you can remove the path from there)
If subtitles don’t appear after a manual analysis of the movie, either your local media Assets’ agent is defective or it is some incompatibility with how your media storage is mounted with Plex.
But I wouldn’t know that, because unfortunately I have no experience whatsoever with FreeBSD.
I can only recommended you to activate debug logging for Plex, then Refresh Metadata for one movie. Then fetch logs and look out for error messages.