Automatic Configuration Load at Start Up

So my command looks similar:

user@MacLaptop ~ % /Applications/open-stage-control.app/Contents/MacOS/open-stage-control --config-file Documents/test.config

This opens Open Stage Control but it opens completely blank (as in no value set for "send", "load", "port"...etc.

Confirmed and double checked, these are the correct locations of the files.

Could you try with a different option with more obvious results such as --no-gui ? this one should make it start without opening any window.

hello,

hum i am embarrassed because I tested again (to be sure) and you are absolutely right : nothing is loaded.
Sorry about confusion I could have create...
So it seems to be a bug @jean-emmanuel. What can we do to help you ?
Cheers

Edit :

/Applications/open-stage-control.app/Contents/MacOS/open-stage-control -l audio/osc-scripts/gmTest.002.json -n 

this does work a json file is load and no gui

Could you please post the content of the config file you're attempting to load ?

en français

Edit :
la ligne de commande est correcte et fonctionne

  /Applications/open-stage-control.app/Contents/MacOS/open-stage-control --config-file audio/osc-scripts/trois.config 

 ~  /Applications/open-stage-control.app/Contents/MacOS/open-stage-control --config-file audio/osc-scripts/test.config 

mais je pencherai pour un problĂšme de formatage.

Je n'arrive pas à trouver une logique mais j'ai l'impression que si on a chargé un fichier test.config avec la ligne de commande si on charge ensuite via la gui un fichier trois.config celui écrase le test.config.

En plus, on a l'impression qu'il y a un formatage curieux du json...

je ne sais pas si ça t'aide :slight_smile:

test.config

{
    "instance-name": "testconfig",
    "options": {
        "debug": true,
        "no-gui": true,
        "instance-name": "troisconfig"
    },
    "geometry": {
        "launcher": {
            "x": 620,
            "y": 278,
            "width": 680,
            "height": 524
        }
    }
}

trois.config

{
    "debug": true,
    "no-gui": true,
    "instance-name": "troisconfig",
    "recentSessions": [
        "/Users/nlb/audio/01.json"
    ],
    "options": {
        "debug": true,
        "no-gui": true,
        "instance-name": "troisconfig"
    },
    "geometry": {
        "launcher": {
            "x": 620,
            "y": 278,
            "width": 680,
            "height": 524
        }
    }
}