Library does not scan automatically

Server Version#: 1.25.3.5448
Player Version#:

Hi,
I am using Nvidia Shield Pro as a server to use my file located on a WD PR4100 NAS drive.
I have realised that new folders can take days to come out in the listing although I have set my library prefs to scan automatically and daily.
When I scan manually it always works fine, it’s just not working automatically.

Any idea of what could be wrong ?

thank you in advance for any useful answer

I think that your issue is that the Shield is unable to detect changes to a remote file system. The automatic scan feature works when the file system is mounted on the device itself.

The OS monitors file system changes and sends an inotify message to any listeners. This doesn’t work with devices connected via SMB.

I have Plex running on an old linux server where this works and on my Shield Pro using the same files via SMB where I have to scan periodically.

In looking just now, there is a python module that can take the inotify event on the storage device and ping Plex to update. I have no idea if it works, but I’m going to give it a try myself to save the constant polling…

Here is how my Shield Plex is currently set up to scan every 15 mins:

Thank you Craigycham for your answer. I have the same feeling as you but if it was totally impossible it would mean the library would never be updated. But in my case, the library always gets updated after a few days by itself, I have not been able to understand how and why but it does, without me doing anything special… I have set the same settings as you, first once a day, then I tried the “Scan my library automatically” and also “Run a partial scan…” but nothing helps.

It might be down to the fact that the Shield uses Android as its operating system. And that one is optimized for low power consumption and as a result is not well-suited for this kind of “server” duty.
It might just be that the plex server process is getting backgrounded and slowed down by Android regularly, resulting in not-so on-time library updates.

2 Likes

Yeah, I re-read your post and saw that it does update eventually. I managed to set up the inotify script and it is now working for me, but I’m hosting my files on a Linux server rather than a NAS so I have no idea if this would work in your setup.
The steps listed are a bit out of date. I needed to use pip (or more specifically pip3) to get the dependencies. This assumes some knowledge of running Python scripts.

1 Like

Thank you Craigycham and Otto… I think I am going to let it be… maybe check if there is smth I could trigger on the NAS side, but anyway too lazy to dig into Python for the little I need the script to work, its not like I am placing new movies everyday on the server so I guess manual will do…for now…

1 Like

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