How to remove downloaded subtitles?

I've set my Plex Media Server to use OpenSubtitles.org agent in order to download subtitles when not available on media or local server. I've set it to download english and brasilian portugese. Now I just want to delete the brazilian subtitle. How could I do that?

Hi, it is not so easy to delete the files.

All of them are downloaded under %User_AppData%\Local\Plex Media Server\Media\localhost\xx\GUID\Contents\Subtitle contributions\com.plexapp.agents.opensubtitles

Here you will find the files under the folder for each language.

Hi all. Just wanted to comment on this, and contribute with my own findings. Indeed, Plex is sometimes difficult to understand in how it deals with the automatic download of subtitles, where they are stored, and how to keep control over all these files on your system. When I say "keeping control" I mean that sometimes a subtitle is downloaded that is out of sync (as an example here). When adding my own downloaded srt file, it adds the subtitle to the pull-down list of available subtitles. In my case I use 3 languages. The native language of the country I live in, a second language for my original mothertongue, and as a backup I use "English" in my settings as well.

What happened in my situation was that ALL downloaded subtitles (both manually as well as those automatically downloaded by Plex) were out of sync. I ended up with a pulldown list like this:

- None

- English (SMI)

- English (SMI)

- Englisg (SRT)

- Nederlands (SRT)

- Nederlands (SRT)

- Nederlands (SRT)

- Norsk (SRT)

7 (seven) in total listed

Three og those (1xen, 1xnl, 1xno) were manual, the rest was auto. In my quest to find the location of the subtitles on my Windows server, I used a little tool called "Windows Grep". To start copied the first "line" from one of my own SRT files, and entered that in "Windows Grep" as search criteria. After a while the following search results came up:

C:\Users\Harry\AppData\Local\Plex Media Server\Media\localhost\b\1fbae51cb5fbc5653a5e0fcef394b436af4fdb7.bundle\Contents\Subtitle Contributions\com.plexapp.agents.opensubtitles l\2892b8180759664999639ff6eb1c4bb7eb6dd3c1.srt 
C:\Users\Harry\AppData\Local\Plex Media Server\Media\localhost\b\1fbae51cb5fbc5653a5e0fcef394b436af4fdb7.bundle\Contents\Subtitle Contributions\com.plexapp.agents.opensubtitles l\2c3558dc16b75825fb881b5317532c81eda3523a.srt
C:\Users\Harry\AppData\Local\Plex Media Server\Media\localhost\b\1fbae51cb5fbc5653a5e0fcef394b436af4fdb7.bundle\Contents\Subtitles l\com.plexapp.agents.opensubtitles_2892b8180759664999639ff6eb1c4bb7eb6dd3c1.srt
C:\Users\Harry\AppData\Local\Plex Media Server\Media\localhost\b\1fbae51cb5fbc5653a5e0fcef394b436af4fdb7.bundle\Contents\Subtitles l\com.plexapp.agents.opensubtitles_2c3558dc16b75825fb881b5317532c81eda3523a.srt
 
4 (four) listed (out of 7 in total)
 
Of course, in addition to those above, I also have the 3 other that are stored together with the movie file on my movie library. My strategy here was to edit and resync the once I downloaded myself. The 4 located in the plex-bundle folderare less important, so I decided to delete them.
 
I did an meta update from within the movie start/information screen. Never the less the 4 are not removed from the pull down list. I checked and they are no longer in the bundle-folder.
 
So once again I am puzzled. I reach my goal (I now have synced subtitles), but the 4 deleted subtitles are still in my list. I know sometimes it helps to remove the movie from a library, do a full scan, then re-add the movie and do a new scan. But that is beside the point now. What I would like to grasp is how Plex in theory should handle this, and why is is not removing the subtitles from the list.
 
Wishing you all a very happy new year!
 
 

Hi,

I also want to know this. I'm facing the exact same issue on my setup.

/jEKKT

My guess is that the location of the (automatically downloaded) subtitles is stored in a database and deleting the file doesn't update the database. If you select one of the deleted subtitle tracks while the movie is playing, what happens? My guess is that no subtitles will appear. So, I think your only options would be to delete and re-add the movie, like you said, or edit the database manually.

"or edit the database manually"...

The question remains: If a sub is downloaded by Plex, it looks like it is there to stay. If a wrong (not-in-sync) sub is downloaded, the only option is to do a manual download, maybe do a time-sync, and store the new sub in the media folder together with the movie. But then you will have 2 subs in the same language in your pulldown menu. One correct sub, and a out-of-sync sub. Both called "English" (or something).

The need to go through the entire process of removing a movie, rescan, add the movia, new scan is no garanty for the "bad" sub to be removed from the list. I tested it. So a better solution would be to have a way in Plex to put a checkbox for the subtitle, check, remove, mark as failed, option to do a new search, clean up all tracks of the old failed sub.

While waiting for a solution (which I assume will not be around very soon), where is the database located, and what tool can be used to edit it?

The way I understand it: Plex downloaded those subtitles from OpenSubtitles and stored them into a directory that is specified in the configuration.  In my case, FreeBSD's /etc/rc.conf with the plexmediaserver_tmp argument.

Then they appeared in the directory as random named files with srt as the extensions.  I figured that it's because OpenSubtitles offer those files with the names similar to pirated content. The plugin downloads them and renames them with the random names to avoid legal risks.

I do agree that there need to be work on the subtitles being named so it would be easy for us to modify or remove.

You might want to take a look at this

https://forums.plex.tv/topic/126254-rel-webtools/

I am facing this issue as well and I think it would be very welcome feature, to be able to deselect or remove subs from within the plex web interface. I stumble on out of sync subs very frequently and it's quite annoying :-(

Forgot to mention, this is actually the only thing that bothers me... I absolutely LOVE Plex :D !!!

Is there still no easy way to delete previously downloaded subtitles from opensubtitles?

I know it is an old thread but the only other I found was from 2013.
So, I guess a bump?

Looks like WebTools could possibly do this:

Tried that but it is buggy as hell.

I know this is Windows forum, but will work the same way as for Linux.
Disable the agent first.
In linux, using a terminal, go to the PMS (not the folder with media) folder and execute:
find . -name "*.srt" -type f
This will delete all .srt files from opensubtitle agent.
After all files have been deleted, refresh all libraries and Optimize Database.
Done.

For windows, just search for .srt in PMS folder, select all srt files and delete.

@razvan.constantin said:
Tried that but it is buggy as hell.

I know this is Windows forum, but will work the same way as for Linux.
Disable the agent first.
In linux, using a terminal, go to the PMS (not the folder with media) folder and execute:
find . -name "*.srt" -type f
This will delete all .srt files from opensubtitle agent.
After all files have been deleted, refresh all libraries and Optimize Database.
Done.

For windows, just search for .srt in PMS folder, select all srt files and delete.

Unfortunately that doesnt work for me. .srt and *.srt in PMS folder gives nothing.

CMD

cd \users\user\appdata\Plex Media Server
del /S *.srt

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