std::string fullpath = dir + (boost::algorithm::ends_with(dir, "/") ? "":"/") + name;
std::string data = get_file_contents(fullpath.c_str());
- DebugOut() << "data: " << data << endl;
-
if(!readPluginConfig(data))
{
DebugOut(DebugOut::Error) << "Reading contentds of file: " << name << endl;
"databaseFile" : "/tmp/storage",
"enabled" : false,
"bufferLength" : "100",
- "properties" : "['VehicleSpeed', 'EngineSpeed']",
+ "properties" : ["VehicleSpeed", "EngineSpeed"],
"startOnLoad" : "false",
"playbackOnLoad" : "false",
"playbackMultiplier" : "1",