Hi,
Before proceeding with the suggested steps, I checked all the permissions mentioned and they are all correct. Just to make sure, I followed through the suggested steps. After that, I tried to delete the subtitle using the “x” button and the subtitle is not deleted. I tried deleting a show and it got deleted fine. This indicates it is not a permission issue.
I checked Plex Media Server.log
to see if it show where the subtitle is taken from and found the following.
Feb 11, 2021 14:21:18.222 [0x7fefcca1d700] DEBUG - Content-Length of /volume1/video/Children/Series/Mickey Mouse/Mickey Mouse - S01E05 - Tokyo Go.mp4 is 44087705 (of total: 44087705).
Feb 11, 2021 14:21:18.223 [0x7fefcd2e7700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Feb 11, 2021 14:21:18.223 [0x7fefcd2e7700] DEBUG - Selecting best audio stream for part ID 45772 (autoselect: 1 language: en)
Feb 11, 2021 14:21:18.223 [0x7fefcd2e7700] DEBUG - We're going to try to auto-select a subtitle.
Feb 11, 2021 14:21:18.223 [0x7fefcd2e7700] DEBUG - Subtitles: Found a candidate subtitle language [eng] for a foreign film
Feb 11, 2021 14:21:18.223 [0x7fefcd2e7700] DEBUG - Audio Stream: 131952, Subtitle Stream: 132137
Feb 11, 2021 14:21:18.224 [0x7fefce7b8700] DEBUG - Completed: [127.0.0.1:49460] 200 GET /library/metadata/34856 (16 live) 10ms 3534 bytes (pipelined: 2)
Feb 11, 2021 14:21:18.280 [0x7fefc4855700] DEBUG - Request: [127.0.0.1:49460 (Loopback)] GET /clients (16 live) Signed-in Token (classified)
Feb 11, 2021 14:21:18.281 [0x7fefceaa6700] DEBUG - Completed: [127.0.0.1:49460] 200 GET /clients (16 live) 0ms 918 bytes (pipelined: 3)
Feb 11, 2021 14:21:18.568 [0x7fefce7b8700] DEBUG - Auth: authenticated user 1 as classified
Feb 11, 2021 14:21:18.568 [0x7fefa2b7d700] DEBUG - Request: [192.168.2.179:52286 (Subnet)] GET /subtitles/:/transcode/universal/start?hasMDE=1&path=%2Flibrary%2Fmetadata%2F34856&mediaIndex=0&partIndex=0&protocol=http&fastSeek=1&directPlay=1&directStream=1&subtitleSize=100&audioBoost=100&location=lan&addDebugOverlay=0&autoAdjustQuality=1&directStreamAudio=1&mediaBufferSize=102400&session=1h8nh02mupvn47p07i8wrbgl&subtitles=sidecar©ts=1&Accept-Language=en (16 live) TLS GZIP Signed-in Token (classified)
Feb 11, 2021 14:21:18.585 [0x7fefa2b7d700] DEBUG - [Transcode] Found session GUID of 1h8nh02mupvn47p07i8wrbgl in session start.
Feb 11, 2021 14:21:18.585 [0x7fefa2b7d700] WARN - [Transcode] ClientProfileExtra: unable to find transcode profile for adding or appending codec
Feb 11, 2021 14:21:18.585 [0x7fefa2b7d700] DEBUG - [Transcode] TranscodeUniversalRequest: using augmented profile Firefox
Feb 11, 2021 14:21:18.585 [0x7fefa2b7d700] DEBUG - [Transcode] Downloading document http://127.0.0.1:32400/library/metadata/34856?checkFiles=1&includeBandwidths=1&offset=0&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=9rg27k8jy4pj3ydskxgmiwcd
Feb 11, 2021 14:21:18.586 [0x7fefa2b7d700] DEBUG - [Transcode] Auth: authenticated user 1 as classified
Feb 11, 2021 14:21:18.591 [0x7fefa2b7d700] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Feb 11, 2021 14:21:18.591 [0x7fefa2b7d700] DEBUG - [Transcode] Selecting best audio stream for part ID 45772 (autoselect: 1 language: en)
Feb 11, 2021 14:21:18.591 [0x7fefa2b7d700] DEBUG - [Transcode] We're going to try to auto-select a subtitle.
Feb 11, 2021 14:21:18.591 [0x7fefa2b7d700] DEBUG - [Transcode] Subtitles: Found a candidate subtitle language [eng] for a foreign film
Feb 11, 2021 14:21:18.591 [0x7fefa2b7d700] DEBUG - [Transcode] Audio Stream: 131952, Subtitle Stream: 132137
Feb 11, 2021 14:21:18.592 [0x7fefa2b7d700] DEBUG - [Transcode] Cleaning directory for session 1h8nh02mupvn47p07i8wrbgl ()
Feb 11, 2021 14:21:18.593 [0x7fefa2b7d700] DEBUG - [Transcode] Starting a transcode session 1h8nh02mupvn47p07i8wrbgl at offset -1.0 (state=3)
Feb 11, 2021 14:21:18.608 [0x7fefa2b7d700] DEBUG - [Transcode] HTTP requesting GET http://127.0.0.1:32400/library/streams/132137?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Feb 11, 2021 14:21:18.609 [0x7fefcd2e7700] DEBUG - Request: [127.0.0.1:49464 (Loopback)] GET /library/streams/132137 (17 live) GZIP Signed-in Token (classified)
Feb 11, 2021 14:21:18.611 [0x7fefcd2e7700] DEBUG - Calculated media file path for path [media://b/74b1cbc45a8719ef3ef3070f9d889014e556ae6.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_88bd9d24b05bafc6faaa9daf9b1b55256921cc2e.srt]: ["/volume1/Plex/Library/Application Support/Plex Media Server/Media/localhost/b/74b1cbc45a8719ef3ef3070f9d889014e556ae6.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_88bd9d24b05bafc6faaa9daf9b1b55256921cc2e.srt"]
Feb 11, 2021 14:21:18.626 [0x7fefcd2e7700] DEBUG - Content-Length of /volume1/Plex/Library/Application Support/Plex Media Server/Media/localhost/b/74b1cbc45a8719ef3ef3070f9d889014e556ae6.bundle/Contents/Subtitles/en/com.plexapp.agents.opensubtitles_88bd9d24b05bafc6faaa9daf9b1b55256921cc2e.srt is 5914 (of total: 5914).
The log above clearly shows that the subtitle is from agents.opensubtitles
.
I then checked other logs and I found the following in com.plexapp.agents.opensubtitles.log
.
2021-02-11 12:45:03,115 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID df4fbbf2c4e9d07c and size 44087705
2021-02-11 12:45:03,712 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E05 - Tokyo Go.mp4, 1, 5
2021-02-11 12:45:04,255 (7f1219890700) : INFO (__init__:223) - No subtitles available for language chi
2021-02-11 12:45:04,256 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID df4fbbf2c4e9d07c and size 44087705
2021-02-11 12:45:04,857 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E05 - Tokyo Go.mp4, 1, 5
2021-02-11 12:45:05,431 (7f1219890700) : INFO (__init__:223) - No subtitles available for language tha
2021-02-11 12:45:05,432 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID df4fbbf2c4e9d07c and size 44087705
2021-02-11 12:45:05,743 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E05 - Tokyo Go.mp4, 1, 5
2021-02-11 12:45:06,344 (7f1219890700) : INFO (__init__:165) - Comparing "The.Wonderful.World.of.Mickey.Mouse.S01E05.Keep.on.Rollin.720p.DSNP.WEB-DL.DDP5.1.H.264-LAZY - m.srt" vs. "Mickey Mouse - S01E05 - Tokyo Go.mp4" and it had the ratio: 0.308824
2021-02-11 12:45:06,345 (7f1219890700) : INFO (__init__:220) - Skipping, subtitle already downloaded (http://dl.opensubtitles.org/en/download/src-api/vrf-19b10c53)
2021-02-11 12:45:06,347 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID 6bccc3f11fc3448d and size 42800482
2021-02-11 12:45:22,153 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E04 - New York Weenie.mp4, 1, 4
2021-02-11 12:45:22,749 (7f1219890700) : INFO (__init__:223) - No subtitles available for language chi
2021-02-11 12:45:22,749 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID 6bccc3f11fc3448d and size 42800482
2021-02-11 12:45:23,066 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E04 - New York Weenie.mp4, 1, 4
2021-02-11 12:45:23,630 (7f1219890700) : INFO (__init__:223) - No subtitles available for language tha
2021-02-11 12:45:23,631 (7f1219890700) : INFO (__init__:116) - Looking for match for GUID 6bccc3f11fc3448d and size 42800482
2021-02-11 12:45:24,206 (7f1219890700) : INFO (__init__:135) - Found nothing via hash, trying search with filename/season/episode: Mickey Mouse - S01E04 - New York Weenie.mp4, 1, 4
2021-02-11 12:45:24,523 (7f1219890700) : INFO (__init__:165) - Comparing "The.Wonderful.World.Of.Mickey.Mouse.S01E04.720p.DSNP.WEBRip.DDP5.1.H.264-LAZY.srt" vs. "Mickey Mouse - S01E04 - New York Weenie.mp4" and it had the ratio: 0.322581
2021-02-11 12:45:24,524 (7f1219890700) : INFO (__init__:165) - Comparing "The.Wonderful.World.Of.Mickey.Mouse.S01E04.720p.DSNP.WEBRip.DDP5.1.H.264-LAZY.srt" vs. "Mickey Mouse - S01E04 - New York Weenie.mp4" and it had the ratio: 0.322581
2021-02-11 12:45:24,525 (7f1219890700) : INFO (__init__:220) - Skipping, subtitle already downloaded (http://dl.opensubtitles.org/en/download/src-api/vrf-19990c51)
I’m guessing that the following occurred.
-
Opensubtitles.org agent attempted to find the subtitle for the episode but none found.
- It then searches the library itself and found a similarly named show called
The Wonderful World of Mickey Mouse
.
- It then compared the running time of the subtitle associated with the episode of that show with the current
Mickey Mouse
episode and the ratio are all around 0.3.
- Due to this result, it decided to use the subtitle from
The Wonderful World of Mickey Mouse
and linked it.
My guess is, due to the subtitle being linked from another “video”, it cannot be deleted.
I have to say that this is a good feature as Plex is trying to re-use any previously downloaded subtitles but the “comparing” algorithm doesn’t seem to be “correct”, which I think can be categorized as a bug?