Skip to content

Commit

Permalink
Add cmd to get fseq dir from pref (#5043)
Browse files Browse the repository at this point in the history
  • Loading branch information
cybercop23 authored Dec 10, 2024
1 parent 9c0caeb commit 370f0f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xLights/automation/xLightsAutomations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1119,6 +1119,8 @@ bool xLightsFrame::ProcessAutomation(std::vector<std::string> &paths,
_outputModelManager.AddASAPWork(OutputModelManager::WORK_RELOAD_PROPERTYGRID, "Automation:setModelProperty");
std::string response = wxString::Format("{\"msg\":\"Set Model Property.\",\"worked\":\"%s\"}", JSONSafe(toStr(m != nullptr)));
return sendResponse(response, "", 200, true);
} else if (cmd == "getfseqdirectory") {
return sendResponse(GetFseqDirectory(), "folder", 200, true);
}
return false;
}
Expand Down

1 comment on commit 370f0f9

@derwin12
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a couple lines to the readme to document this new cmd

Please sign in to comment.