提交 7f9f9bf1 authored 作者: blu's avatar blu

init

上级 6d43b3f3
...@@ -736,13 +736,13 @@ protected: ...@@ -736,13 +736,13 @@ protected:
for (const auto & entry : fs::directory_iterator(path)) { for (const auto & entry : fs::directory_iterator(path)) {
fname = entry.path().c_str(); fname = entry.path().c_str();
if(entry.file_size() == 0 || !entry.is_regular_file()||entry.path().extension() != ".mp4") { if(entry.file_size() == 0 || !entry.is_regular_file()||entry.path().extension() != ".mp4") {
spdlog::warn("evslicer {} loadVideoFiles skipped {} (empty/directory/!mp4)", selfId, entry.path().c_str()); spdlog::debug("evslicer {} loadVideoFiles skipped {} (empty/directory/!mp4)", selfId, entry.path().c_str());
continue; continue;
} }
baseName = getBaseName(fname); baseName = getBaseName(fname);
auto ts = videoFileName2Ts(baseName); auto ts = videoFileName2Ts(baseName);
spdlog::info("evslicer {} loadVideoFiles basename: {}, ts: {}", selfId, baseName, ts); spdlog::debug("evslicer {} loadVideoFiles basename: {}, ts: {}", selfId, baseName, ts);
// check old files // check old files
if(ts - now > hours * 60 * 60) { if(ts - now > hours * 60 * 60) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论