tdm data model: process tdm_root finished

This commit is contained in:
2021-01-19 20:30:12 +01:00
parent c0f5346f58
commit 48ec660d2d
3 changed files with 402 additions and 334 deletions

View File

@@ -175,7 +175,12 @@ int main(int argc, char* argv[])
// bool listchannels = cfgopts.count("listchannels") == 1 ? true : false;
// declare and initialize tdm_ripper instance
tdm_reaper jack(cfgopts.at("tdm"),cfgopts.at("tdx"),true);
tdm_reaper jack;
try {
jack.submit_files(cfgopts.at("tdm"),cfgopts.at("tdx"),true);
} catch (const std::exception& e) {
throw std::runtime_error("failed to load and parse tdm/tdx files");
}
// print list of groups or channels to stdout
// if ( listgroups ) jack.list_groups();