+ if (g_strcmp0(models[i].id, reply) != 0)
+ continue;
+ model_id = i;
+ break;
+ }
+ if (model_id < 0 && force_detect) {
+ sr_warn("Found model ID '%s' is unknown, trying '%s' spec.",
+ reply, force_detect);
+ for (i = 0; models[i].id; i++) {
+ if (strcmp(models[i].id, force_detect) != 0)
+ continue;
+ sr_info("Found replacement, using it instead.");