Re: how to force a re-scan of media
Posted: Wed Apr 21, 2021 3:15 pm
You can't give UMS "commands" from the command line - there's no mechanism to receive such information. You can use the "web console" (if you can find it, look in the log for the address) to trigger a rescan. It's not possible to scan new media only specifically, although this is in theory what is always done. The file path and the "last change" timestamp is stored in the database. The shared folders are scanned for files and folders, but the media itself isn't analyzed if an entry with the same file path and timestamp already exists in the database. Instead, the information in the database acquired in the last scan is used.
It the timestamps don't stay the same, or the paths vary, a new analysis will be triggered though.
It the timestamps don't stay the same, or the paths vary, a new analysis will be triggered though.