mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-01 19:47:37 +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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue