mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 20:07:51 +02:00
Fixed issues hopefully
This commit is contained in:
@ -46,7 +46,7 @@ public:
|
||||
RecorderModule(std::string name) : folderSelect("%ROOT%/recordings") {
|
||||
this->name = name;
|
||||
|
||||
root = core::args["root"];
|
||||
root = (std::string)core::args["root"];
|
||||
|
||||
// Load config
|
||||
config.acquire();
|
||||
@ -518,7 +518,7 @@ struct RecorderContext_t {
|
||||
|
||||
MOD_EXPORT void _INIT_() {
|
||||
// Create default recording directory
|
||||
std::string root = core::args["root"];
|
||||
std::string root = (std::string)core::args["root"];
|
||||
if (!std::filesystem::exists(root + "/recordings")) {
|
||||
spdlog::warn("Recordings directory does not exist, creating it");
|
||||
if (!std::filesystem::create_directory(root + "/recordings")) {
|
||||
|
Reference in New Issue
Block a user