preload into cache via command line

Hello,
I noticed that any command for preloading in to cache doesnt working while is udes via command line together with --image_layer command

I have this
--image_layer=“effectsResult:” --layer_preload_into_cache=“effectsResult:”
or
--image_layer=“effectsResult:” --toggle_automatic_preload=1
or
--image_layer=“effectsResult:” --preload_all_layers​

non of these works. I’m doing something wrong?
Thanks

It seems that the flags related to caching are broken. I’ll make a note to fix them.
Can you tell me what you need to do, so we can make sure it enables the workflow you need?
F.e. you need to load a sequence, switch to a specific image channel and make sure it’s cached? In other words - make a specific AOV sequence ready for playback?
Or is it something else?

Yes exactly. Open sequence, switch to different channel and cash it. It works without the switching, but I need it because I’m switching to denoiser result instead of default rgb channel.

See if something like this helps:

"C:\Program Files\Chaos Group\Chaos Player\chaosplayer_qt5.exe" --attach "C:\path\to\sequence\sequence_.####.exr" --cache_stop_preload --cache_clear --image_layer=":effectsResult" --preload_all_layers

It seems to work on my end.
I’m basically loading a sequence, immediately stopping and clearing any cache, then switching the layer to effectsResult and forcing the cache again. The new cache will be forced for the visible image layer.

Its working. Thanks

Excellent, thanks for sharing!