mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-12 10:20:10 +03:00
fix(scanner): pass datafolder and cachefolder to scanner subprocess
Fix #3831 Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
parent
ee2c2b19e9
commit
cd552a55ef
@ -33,6 +33,8 @@ func (s *scannerExternal) scanAll(ctx context.Context, fullScan bool, progress c
|
||||
cmd := exec.CommandContext(ctx, exe, "scan",
|
||||
"--nobanner", "--subprocess",
|
||||
"--configfile", conf.Server.ConfigFile,
|
||||
"--datafolder", conf.Server.DataFolder,
|
||||
"--cachefolder", conf.Server.CacheFolder,
|
||||
If(fullScan, "--full", ""))
|
||||
|
||||
in, out := io.Pipe()
|
||||
|
Loading…
x
Reference in New Issue
Block a user