Plex don't automatically pick up externally added subtitles

Server Version#: 1.19.3.2852

Hi,

I’m using a third party application that automatically downloads subtitles for me.
However, I have to manually click on the “Refresh Metadata” for the subtitles to show up on Plex.

Is there a way to automate this ?

I know Plex has a scheduled task called “Refresh local metadata every three days”, but 3 days is a pretty long waiting.

I’ve tried to write a script using the Plex Media Scanner Command Line.

But the following command causes Plex Media Scanner to refresh the whole section (library) instead of just the directory path.

/path/to/Plex Media Scanner --scan --refresh --force --section ## --directory /my/directory/path/

So is there any way to automatically pick up new externally added subtitles for a specific show?

Does this not work?
(and it might not if your storage is Network Shares)
(Local Storage - ‘in the box’ - will probably work fine):

If it does work - and your storage isn’t local - or if you spin down your storage drives - do NOT enable ‘Empty Trash Automatically’ 'cause that’s exactly what Plex will do - and if you sleep your storage - you’ll be unhappy when Plex has to “Re-index” your entire Plexiverse every day.

If it does work - ONLY new items or their ‘bits’ - like subs - will automatically be detected and indexed. Old Items (Movies in Folders specifically) that haven’t changed won’t be scanned at all. There’s no need to scan items that don’t change.

Thanks for your quick reaction @JuiceWSA!

I have those settings indeed enabled, and each time a new subtitle gets downloaded Plex starts a library scanning.

Screenshot 2020-06-07 at 18.43.39

Screenshot 2020-06-07 at 18.43.43

But after the scanning, the subtitle is not available, I have to manually go and click on the “Refresh Metadata” button for the subtitle to show up.

However, when a new episode is added the automatic scan works great and Plex pick it up.

The problem happens when I add a local media asset such as a subtitle, the automatic scan doesn’t work, and the subtitle doesn’t show up until I click the “Refresh Metadata” button.

My files are stored on an external ExFAT HDD.

@JuiceWSA does the automatic scan work for you when adding a new subtitle?

This sounds problematic - @ChuckPa @OttoKerner should have a peek at us and see if they can offer some important info I am unaware of.

Yes, My storage is all Local, the feature works great.
I drop in something new - a full item or make one minute change in either the file itself, or adding a file - like a sub file - in a few moments of it’s arrival, Plex wakes up, Yawns, Farts real loud and finds all the new stuff - then goes back to sleep.

apart from the wind - it all works exactly as expected…lol

1 Like

:joy:

That would be great.

But knowing that it works for you is definitely a step forward, something should be wrong in my setup maybe that ExFAT HDD ?

Thanks for the help.

1 Like

Normally, Plex will look for new side car subtitle files as soon as you enter the preplay screen of the movie in question.

Make sure that this process doesn’t take too long. By storing each movie and its associated side car files in a separate folder. That way, only this particular subfolder is inspected.

Whether MacOS has an issue with exFat, I cannot say. I haven’t used fruity PC hardware in about 25 years.

I have 2 External WD My Book 8TB drives.
They do not sleep - they never change - and both of them are, as far as Winders/Plex is concerned - Local.

All works fine.

If there’s a Fruit Expert that can tell us why that isn’t happening in The Orchard - that would probably help.

ExFat just didn’t sound right to me.
I don’t have any Citrus around tho.
Do NOTHING - for now. Let’s try to keep the explosions to a minimum.

Here in Juicetown:
I and J are the ‘Local Externals’.
That’s how they showed up and I didn’t ask any questions:

@pshanew responds well to Mac Questions. Let’s hope he responds well to this one. @BigWheel would probably know how to direct the traffic - if he didn’t handle it immediately.

Well, that’s pretty much everybody, but the cleaning woman.
Get her in here!

:slight_smile:

Appreciate the help @JuiceWSA

Meanwhile I did some expermimenting…

  1. Created a new Movie library called “Movie Test” using the local storage this time (APFS).
  2. Added a movie using the Plex Naming Conventions.
  3. Waited for Plex to find and match the newly added movie.
  4. Added a new subtitle using the Plex Naming Conventions.

At step 4 Plex detected something changed and automatically imported the newly added subtitle in no time!

Conclusion: Plex is having a hard time automatically importing local media assets on change (at least on my MacBook Pro 2017) because:

  1. I’m using an external HDD
  2. I’m using an external HDD formatted as exFAT

@JuiceWSA if I follow your gut, it’s #2.
I’m going to test this again with an external HDD formatted as something else then exFAT and if it works then it’s definitely #2.

an empty one - I would image.

A full one - may be empty soon - let’s not do that.

We’ll see.

Instead of specifying a directory for it to refresh, try specifying the show’s item ID. You can find the Id by doing something similar to the following:

Plex Media Scanner --list --section XX

This will list all the shows and their item IDs in that section. You could then do something like:

Plex Media Scanner --refresh --section XX --item YY

This should cause the metadata for the specific show to be refreshed. You can try adding --scan and --analyze in there too, but I don’t think they should be necessary.

1 Like

A full one would be sad indeed :joy:

My junk is all NTFS.

For what that’s worth.

I will try that too, thanks for the response @pshanew.

… and all my paths are these:

Not the virtual (whatever) path that Winders is so hatefully hiding from me ATM.
(if that matters)

@JuiceWSA your gut was right it was indeed #2, I tested those 4 steps on an external HDD formatted as something else then exFAT (Mac OS Extended Journaled to be precise). Again at step 4 Plex detected something changed and automatically imported the newly added subtitle in no time!

So the final conclusion is: exFAT is evil and I will avoid using this in the future with Plex, the only benefit of using exFAT on a Mac is the ability to switch between Mac and Windows easily, but I don’t need this for my dedicated Plex HDD.

So I guess I’ll just export all my files to that non-exFat HDD, I’m lucky I’ve a relatively small library for the moment and it should be done overnight.

1 Like

:smiley:

1 Like

On top of this…

@pshanew your solution also works!

So for people using a third party solution that downloads subtitles automatically and are stuck with exFat you can write a script that will force refresh a specific TV Show or Movie, most of those subtitle management solutions allow you to run a script once a subtitle gets downloaded.

Many thanks to @JuiceWSA and @pshanew for helping me out with that issue!

2 Likes

No problem, glad you got it working.

1 Like

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