I used to have my Plex files on G: - mkv and srt files in the same directory. Worked fine. Then I moved all files to E:. After updating the libraries, all movie files has been found perfectly, but Plex still thinks the srt files are on G:, which of course they are not any more. I did not notice this until recently - it used to be that Plex just silently ignored the missing srt (and then I just selected another sub instead), but since a few weeks(?), it gives a recode error.
Very low WAF (Wife Acceptance Factor) on that one I’m afraid…is there any way to update the path to G: instead? The paths are identical except for the drive letter.
You may have to do another update library after that.
Yes I did, and I have done library updates a LOT of times since then.
Judging from the number of subs in the list for each episode, both the new E: srt:s and the old G: srt:s are still there, but there seems to be no way of knowing for sure, since the srt database is a black hole (to me at least). The only thing I’m sure of is that the faulty srt:s reference to G: - I can see that in Webtools. Unfortunately I can not delete it from there. Also, deleting manually to thousands of shows would be practically impossible.
Normally, the subtitles should get updated automatically as soon as you enter the preplay page of a movie.
Try this with one movie.
If it doesn’t work, try to Analyze this movie.
Have you disabled the ‘Local Media Assets’ under
Settings - Server - Agents - Movies - Personal Media + Plex Movie + TheMovieDatabase
?
If so, re-activate them but move them downwards in the list.
I’d also advise you to activate the Butler task ‘Upgrade media analysis during maintenance’ under
Settings - Server - Scheduled Tasks
Make sure you choose a time period where your server is actually running
@OttoKerner said:
Normally, the subtitles should get updated automatically as soon as you enter the preplay page of a movie.
The “new” subs from E: were probably(?) added then, but the old G: subs were not removed.
Try this with one movie.
If it doesn’t work, try to Analyze this movie.
Analyze does not help.
Have you disabled the ‘Local Media Assets’ under
Settings - Server - Agents - Movies - Personal Media + Plex Movie + TheMovieDatabase
I’m actually doing the tests now on TV, so for me it would be Settings - Server - Agents - Shows - Personal Media Shows I suppose? But if I remove that, all local srt files (including the correct E: srt:s) will disappear, will they not?
If so, re-activate them but move them downwards in the list.
I’d also advise you to activate the Butler task ‘Upgrade media analysis during maintenance’ under
Settings - Server - Scheduled Tasks
It already is.
Make sure you choose a time period where your server is actually running
It runs 24/7.
Have you disabled the ‘Local Media Assets’ under
Settings - Server - Agents - Movies - Personal Media + Plex Movie + TheMovieDatabase
I’m actually doing the tests now on TV, so for me it would be Settings - Server - Agents - Shows - Personal Media Shows I suppose? But if I remove that, all local srt files (including the correct E: srt:s) will disappear, will they not?
Why Personal Media Shows? Are you not downloading meta data for your tv shows?
But this gives me an idea:
disable LMA,
analyze
re-enable LMA
analyze again
Have you disabled the ‘Local Media Assets’ under
Settings - Server - Agents - Movies - Personal Media + Plex Movie + TheMovieDatabase
I’m actually doing the tests now on TV, so for me it would be Settings - Server - Agents - Shows - Personal Media Shows I suppose? But if I remove that, all local srt files (including the correct E: srt:s) will disappear, will they not?
Why Personal Media Shows? Are you not downloading meta data for your tv shows?
But this gives me an idea:
disable LMA,
analyze
re-enable LMA
analyze again
Which in turn gave me an idea: I did what you said, but with Update (did not help) and Refresh (which DID work!) instead of analyze. Only tried it for a single episode so far, but I will leave it running overnight (it is a huuuge library) for the whole library, and I’m sure it will work.
@peterhjalmarsson, I have the exact same problem as yours. I moved media files from one drive to another. After updating/refreshing and removing old paths from the library, I found that all my media now have two SRTs in the Get Info. After checking the DB, the 1st SRT points to the old path and the 2nd SRT points to the new and correct path. Because of this, when playing a video, Plex will have the render error. The workaround is to manually select the 2nd SRT as the subtitles.
After following your steps, the refresh correctly sets the language of the 2nd SRT as English and therefore makes it the default subtitle and avoids the rendering error. However, the underneath problem still exists. The 1st SRT still exists in the Get Info/XML/DB with the outdated path.
Is there any way Plex can remove the outdated SRT path?
@ggbal said:
After following your steps, the refresh correctly sets the language of the 2nd SRT as English and therefore makes it the default subtitle and avoids the rendering error. However, the underneath problem still exists. The 1st SRT still exists in the Get Info/XML/DB with the outdated path.
Is there any way Plex can remove the outdated SRT path?
I assume, you erased the whole top-level folder which previously held your movies?
Recreate it and put a single file into it (any file will do, even a small .txt).
‘Scan Library Files’, followed by ‘Empty trash’
Then edit your library, go to the ‘Add Folders’ tab and remove all paths which are invalid or non-existent
@OttoKerner, I already deleted the outdated path in the “Add Folders” when I did the move. Regardless, I tried your steps. The problem still exists. You still can see two SRT in the Get info/XML and you can still see the outdated path in the DB.
I’m running into this problem as well, though none of the resolutions in this topic have worked for me. Any file this affects is having transcoding errors when it tries to play on any client.
This is happening to many of my files, but I’ll use just one as an example. Originally, this file was in:
/volume1/Storage/Video/Looney Tunes/1958-05 - Robin Hood Daffy.en.srt
But after a massive renaming effort to bring all my libraries into line with Plex’s bewilderingly stringent naming conventions, it is now in:
/volume1/Storage/Media/Looney Tunes/Season 1958/Looney Tunes - S1958E05 - Robin Hood Daffy.eng.srt
However, according to the logs (below), Plex is still trying to find the SRT file in the old location:
Nov 05, 2019 10:40:52.070 [0x7fcef0b2e700] WARN - Unable to load episode file [“seasons/1958/episodes/5.xml”]
Nov 05, 2019 10:40:59.001 [0x7fcef13f8700] WARN - ClientProfileExtra: unable to find transcode profile for adding or appending codec
Nov 05, 2019 10:40:59.025 [0x7fceb1cd7700] ERROR - Couldn’t find the file to stream: /volume1/Storage/Video/Looney Tunes/1958-05 - Robin Hood Daffy.en.srt
Nov 05, 2019 10:40:59.046 [0x7fcef3d4b700] ERROR - [Transcoder] /volume1/Plex/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-5pzhn7hy4agck4b6sfbszffl-2496b4d6-a856-4c53-a73c-354aeae2697d/temp-0.srt: Invalid data found when processing input
Nov 05, 2019 10:40:59.048 [0x7fcef13f8700] ERROR - [TranscodeOutputStream] Streaming Session 0x7fcea0a25c60 appears to have died from under us
Nov 05, 2019 10:41:02.057 [0x7fcef3d4b700] WARN - ClientProfileExtra: unable to find transcode profile for adding or appending codec
Nov 05, 2019 10:41:02.064 [0x7fcef3d4b700] WARN - Denying access to transcode of key /library/metadata/23825 due to terminated session
I cannot figure out how to force Plex to forget the old location of the affected files. I tried disabling the LMA, refreshing metadata, re-enabling the LMA then refreshing metadata again (which appears to have worked for peterhjalmarsson above), but it still tries to find the SRT in the old location.
I also tried recreating the top level folder (Videos) with a small TXT file in it then performing a scan as OttoKerner suggested (but did not work for ggbal). Neither worked.
The XML file for the metadata actually does not show this old location anywhere, so I have no idea how Plex is storing the file location for Local Media assets like external subtitle files.