diff options
| author | tim <tim@eclectronics.org> | 2018-04-16 23:07:49 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2018-04-16 23:07:49 +0100 |
| commit | 2f18fba0788636a5678dd42af40ce84f4197844e (patch) | |
| tree | 36446abffbefc27cc2953563aedf5ada464cdefa /menuApp/src/dirscanner.cpp | |
| parent | e00e932275f425d4d478d6e3da83c3d612a2e46e (diff) | |
extra logging
Diffstat (limited to 'menuApp/src/dirscanner.cpp')
| -rw-r--r-- | menuApp/src/dirscanner.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/menuApp/src/dirscanner.cpp b/menuApp/src/dirscanner.cpp index 90b178b..1592c6c 100644 --- a/menuApp/src/dirscanner.cpp +++ b/menuApp/src/dirscanner.cpp @@ -123,6 +123,7 @@ int dirScanner::getSlotForTime(){ } void dirPlayer::load(std::string path){ + ofLogNotice() << "loading path: "<<i; items.clear(); ofDirectory dir(path); dir.allowExt("mp4"); @@ -133,6 +134,7 @@ void dirPlayer::load(std::string path){ for(int i = 0; i < dir.size(); i++){ string d=dir.getPath(i); playItem item; + ofLogNotice() << "about to load: "<<i; if (item.load(d)){ ofLogNotice() << "pushing back: "<<i; items.push_back(item); |
