Is there a way to prevent the software from scanning the entire drive for pictures and building thumbnails? I have one folder containing “Photos” which is my master that I want it to look at…any other folders that I have photos in I want it to exclude.
At this moment the device’s mediacrawler scans the whole volume for compatible media files. Some users have disabled said feature via SSH, but this is not recommended unless you are an experienced/advanced user.
That’s just sort of stupid…you should be able to turn off the scanning for shares that you don’t want it to scan. As an example, I use my drive for storing misc. files (installs, etc.). Then when you connect using the WD Photos app it shows images for all of the misc. stuff as well (instead of just truly showing the photos I’m interested in).
The only “solution” I’ve come to for that issue is to restrict the folders that the WD Photos user can “see”…not really my ideal solution but will see if it works.
In Android world you can create a “.nomedia” file in a folder and the system doesnt scan that folder for media.
i dont know if that exists in linux also?
As The above mod mentioned. The change can be made via ssh.
its quite simple actually.i’ve excluded several folders from the WDMC scan.
I’m not afraid of SSH but I thought you could just turn the scan off globally, not for a specific folder? Thanks.
you can selectively exclude folders from being scanned. Though its a manual change via ssh.
Voids warratny. I’m not liable for any thing you might break.
That being said ssh into the drive. First stop WD process by running command
etc/init.d/wdmcserverd stop
Then
nano /usr/local/wdmcserver/bin/wdmc.xml
In that file you see a whole bunch of stuff. you are looking for lines in the first big block that include the word “ExcludePattern” e.g /AppleDesktop
Now, go ahead and add another line in that block to exclude the folder you DO NOT want to scan
e.g you can add a line like
/shares/data/Media/archived
you can add as many lines/folders you want. Once done, save the file and restart the WDMC process
etc/init.d/wdmcserverd start
Thats it.
Thanks for the details…I was able to SSH into my drive but I’m having a small issue getting the process to stop.
When I try and run “etc/init.d/wdmcserverd stop”, I’m getting:
-bash: wdmcserverd: command not found
I was able to use nano to open the file and can easily see where to exclude folders.
Any ideas why I can’t stop the process?
Thanks!
Are you logging in as root via ssh?
Anyways, lets keep it simple. There is no real need to stop the pocess.
Just make the change in the xml file and then simply reboot the drive.