How to run an image on launch/startup?

I have tried adding the following args in the config file

<channels>
        <channel>
            <video-mode>720p5000</video-mode>
            <producers>
                <producer id="0">image.jpeg</producer>
            </producers>
        </channel>
<channels>

but nothing happened. CCG launched but the image didn’t appear. Any help would be appreciated

Tested using 2.3.3 on Ubuntu 20.04 and Windows 10

I prefer it working on Ubuntu

These steps can be found here: Automatic routing at config file - #2 by balte

When you follow the link that you posted it says, that it only works in the NRK fork…

@didikunz thanks for clarifying

I run startup commands on 2.3 using a set of batch files and ncat.

casparcg_auto_restart.bat

@Echo off

IF EXIST scanner.exe (
    IF EXIST leveldown.node (
        start scanner.exe
    )
)

:Start
SET ERRORLEVEL 0

IF EXIST casparcg_init_commands.bat (
    start casparcg_init_commands.bat
)

casparcg.exe

if ERRORLEVEL 5 goto :Start

taskkill /im scanner.exe


casparcg_init_commands.bat

@echo off
timeout 10 /nobreak
ncat -i 10 --no-shutdown -C localhost 5250 < D:\casparcg\casparcg.init
exit

casparcg.init

PLAY 1-0 WALLPAPER/1
PLAY 2-0 WALLPAPER/2
PLAY 3-0 WALLPAPER/3
PLAY 4-0 WALLPAPER/4
PLAY 5-0 WALLPAPER/5
PLAY 6-0 WALLPAPER/6
PLAY 7-0 WALLPAPER/7
PLAY 8-0 WALLPAPER/8

1 Like