Server Version#: 1.24.1.4931
Player Version#: 4.63.0
Hi @OttoKerner , sorry to ping you but you have responded to similar questions before and I figured you are the best person to ask.
I have the issue often reported here about manually added external subs not being added to the plex library unless the metadata is refreshed.
In my case, I have the server setting “Scan my library automatically” turned on and it seems to work fine as new movies added to the media folder trigger a library scan and are successfully added.
When a new subtitle is added however, although it triggers a scan, the sub is never added. The only way they are added is if I manually click on “Refresh metadata” for either a specific item or the whole library.
In other threads, you mentioned hitting F5 or force refresh in plex web should have plex discover them, but that’s not happening in my case. I did F5, shift+F5 and ctrl+F5 and no subs are discovered. Same thing with browsing to the movie in the android app, no subs discovered. Refresh metadata works however.
When I look at the server logs, I can see that adding a subtitle file triggers a library scan automatically:
Aug 24, 2021 08:56:38.293 [0x7f81e193db38] INFO - Library section 3 (Movies) will be updated because of a change in "/crypt/Movies/A Crooked Somebody (2018)/A Crooked Somebody (2018) Bluray-720p (freeman-crookedsomebody2017-720p).en.srt"
However, the scanner does not seem to pick it up:
Aug 24, 2021 08:56:38.293 [0x7f81e193db38] INFO - Library section 3 (Movies) will be updated because of a change in "/crypt/Movies/A Crooked Somebody (2018)/A Crooked Somebody (2018) Bluray-720p (freeman-crookedsomebody2017-720p).en.srt"
Aug 24, 2021 08:56:45.070 [0x7f81e1353b38] DEBUG - Library Updater: Requested that section 3 be updated, force=0, deep=0, subdir= iTunes=0
Aug 24, 2021 08:56:45.070 [0x7f81e1353b38] DEBUG - Library Updater: Queueing section 3
Aug 24, 2021 08:56:45.073 [0x7f81e0d66b38] DEBUG - Activity: registered new activity 724ed27b-eca6-42e5-a5d1-c2cc95c8b31f - "Scanning"
Aug 24, 2021 08:56:45.074 [0x7f81e0d66b38] DEBUG - Scanning section 3
Aug 24, 2021 08:56:45.074 [0x7f81e0d66b38] DEBUG - Activity: updated activity 724ed27b-eca6-42e5-a5d1-c2cc95c8b31f - completed 0.0% - Scanning Movies
Aug 24, 2021 08:56:45.075 [0x7f81e0d66b38] DEBUG - Job was already killed, not killing again.
Aug 24, 2021 08:56:45.085 [0x7f81e0d66b38] DEBUG - Asked to cull library timeline before time 1629808605, we're starting with 23 items.
Aug 24, 2021 08:56:45.085 [0x7f81e0d66b38] DEBUG - Library timeline cull complete with 23 items left.
Aug 24, 2021 08:56:45.085 [0x7f81e0d66b38] DEBUG - Scanning Movies using en-US(Plex Movie) with 3153 current media items and 1 section locations in the database.
Aug 24, 2021 08:56:45.085 [0x7f81e0d66b38] DEBUG - Performing a scan with 'Plex Movie' (language: en-US virtual: 0).
Aug 24, 2021 08:56:45.085 [0x7f81e0d66b38] DEBUG - * Scanning /crypt/Movies
Aug 24, 2021 08:56:45.092 [0x7f81e0d66b38] DEBUG - Scanner: Processing directory /crypt/Movies (parent: no)
Aug 24, 2021 08:56:45.833 [0x7f81e0d66b38] DEBUG - Skipping over directory '', as nothing has changed; removing 0 media items from map.
......clipped some......
Aug 24, 2021 08:56:45.998 [0x7f81e0d66b38] DEBUG - Scanner: Processing directory /crypt/Movies/A Crooked Somebody (2018) (parent: yes)
Aug 24, 2021 08:56:46.001 [0x7f81e0d66b38] DEBUG - Skipping over directory 'A Crooked Somebody (2018)', as nothing has changed; removing 1 media items from map.
Aug 24, 2021 08:56:46.001 [0x7f81e0d66b38] DEBUG - Activity: updated activity 724ed27b-eca6-42e5-a5d1-c2cc95c8b31f - completed 0.1% - Scanning Movies
.....clipped more.......
Some more info, I’m using the new Plex agent and I have url only nfo files for the movies. Subs are saved by bazarr to the media folder, each movie in its own folder.
Plex is running in docker (linuxserver one)
Media is on an rclone mount on the host system, originally stored on Google Drive. Inotify works as seen in the log messages.
I’d be happy to send full logs if you like.
Thanks