Scanner working folders

Hi
Now which folders the scanner is reading is taking from casparcg.config-files “path”-section
Is it possible to (without using the launcher) define that scanner would use the path section from a different config-file?

The reason Im asking is that Im using multiple windows batch files to start caspar and it would be great to be able to define in them which config the scanner uses.

the batch-file I uses looks like this:

@Echo off
Taskkill /IM casparcg.exe /FI “STATUS eq RUNNING” /F
IF EXIST scanner.exe (
start scanner.exe
)
:Start
SET ERRORLEVEL 0
casparcg.exe conf_2NDI_i50.config
if ERRORLEVEL 5 goto :Start

I asked the same question in 2021 and didnt get any answers so hoping for better response this time :slight_smile:

I think you can do something like scanner.exe --caspar.config some-file.config to choose what config file to use

You can see all the config which can be overriden on the commandline with this approach media-scanner/src/config.ts at master · CasparCG/media-scanner · GitHub

1 Like