only scan specified folders

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
naphelge
Posts: 1
Joined: Sun Apr 15, 2018 5:33 pm

only scan specified folders

Post by naphelge »

I just installed UMS on a headless raspi 3 and got it all working, but it seems UMS scans all directories in the entire FS for media files. I did specify a specific folder to search for audio files in UMS.conf:

Code: Select all

folders = /media/usbExtHd/music
. So how do I prevent or stop UMS from scanning and listing the entire contents of the FS?

Once done, what is the cli command to have UMS re-scan and re-build DB? Just delete the DB I guess and restart UMS?
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: only scan specified folders

Post by Nadahar »

The above should do it, but you should stop UMS before editing the config file (or it might be overwritten). There's no way to communicate with the process once it's running, so you need to stop UMS, delete the database and restart like you suggest. You can reset the database from the GUI, but that doesn't help you.
Post Reply