@@ -167,6 +167,7 @@ int main(int argc,
167167 QCommandLineOption isConnected (QStringList () << " is-connected" , " Check if JamesDSP service is active. Returns exit code 1 if not. (Remote)" );
168168 QCommandLineOption status (QStringList () << " status" , " Show status (Remote)" );
169169 QCommandLineOption listKeys (QStringList () << " list-keys" , " List available audio configuration keys (Remote)" );
170+ QCommandLineOption getAll (QStringList () << " get-all" , " Get all audio configuration values (Remote)" );
170171 QCommandLineOption get (QStringList () << " get" , " Get audio configuration value (Remote)" , " key" );
171172 QCommandLineOption set (QStringList () << " set" , " Set audio configuration value (format: key=value) (Remote)" , " key=value" );
172173 QCommandLineOption loadPreset (QStringList () << " load-preset" , " Load preset by name (Remote)" , " name" );
@@ -189,7 +190,7 @@ int main(int argc,
189190 parser.addOptions ({silent, nocolor, minVerbosity});
190191
191192 // Remote control
192- auto remoteCmds = {isConnected, listKeys, get, set, loadPreset, savePreset, deletePreset, listPresets, status};
193+ auto remoteCmds = {isConnected, listKeys, getAll, get, set, loadPreset, savePreset, deletePreset, listPresets, status};
193194 parser.addOptions (remoteCmds);
194195
195196 parser.process (*app.get ());
@@ -246,6 +247,9 @@ int main(int argc,
246247 result = ctrl.set (out.first , out.second );
247248 }
248249 }
250+ else if (parser.isSet (getAll)) {
251+ result = ctrl.getAll ();
252+ }
249253 else if (!parser.value (get).isEmpty ()) {
250254 result = ctrl.get (parser.value (get));
251255 }
0 commit comments