Post Reply 
Automatic rescans
18-03-2021, 22:48 (This post was last modified: 18-03-2021 22:49 by simoncn.)
Post: #4
RE: Automatic rescans
(18-03-2021 18:20)wotgorilla Wrote:  In case not, is there a way to notify MinimServer externally of an added file, from the shell or using the HTTP API? Or is there a way to rescan only a subdirectory (the same way I run 'mpd update' with the subdirectory as argument)? If I know exactly which files were just added, I would certainly prefer not to force a complete rescan of my collection, as I read that this will a long time to complete, during which the server is not available for playing music.

I understand that a complete rescan takes longer than you would like, especially with a large library. However, it is not correct that the server is unavailable for playing music during a rescan. You cannot browse for music during a rescan but any tracks already queued for playing in your control point or renderer will continue to play while the rescan is happening.

Quote:In the meantime, does anyone have a suggestion to implement some kind of simple library update mechanism? I have some coding skills and I can write bash scripts.

You can use MinimServer command scripting to trigger a rescan at a specific time of day with a task in Windows Task Scheduler or a Linux cron job. This rescans the whole library. It is not possible to rescan a single subdirectory.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Automatic rescans - wotgorilla - 18-03-2021, 18:20
RE: Automatic rescans - simoncn - 18-03-2021, 19:07
RE: Automatic rescans - wotgorilla - 18-03-2021, 22:01
RE: Automatic rescans - Alandbush - 19-03-2021, 02:24
RE: Automatic rescans - simoncn - 18-03-2021 22:48

Forum Jump:


User(s) browsing this thread: 1 Guest(s)