diff options
| author | tim <tim@eclectronics.org> | 2018-04-17 19:59:33 +0100 |
|---|---|---|
| committer | tim <tim@eclectronics.org> | 2018-04-17 19:59:33 +0100 |
| commit | a64a7b858769727a4883b72bcb0def7f49e0053a (patch) | |
| tree | 636ac04a26e7023602f06f7185da5fea38d12eb0 /menuApp | |
| parent | d65861e37031f2f9f776e6e56c27420b3488db4a (diff) | |
extra logging
Diffstat (limited to 'menuApp')
| -rw-r--r-- | menuApp/src/dirscanner.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/menuApp/src/dirscanner.cpp b/menuApp/src/dirscanner.cpp index 46b2165..77c0e15 100644 --- a/menuApp/src/dirscanner.cpp +++ b/menuApp/src/dirscanner.cpp @@ -155,8 +155,8 @@ bool dirPlayer::draw(){ ofLogNotice() << "got slot: "<<slot; if(slot==-1) return false; if (slot!=currentslot){ + ofLogNotice() << "new slot: "<<slot; if (slot>-1){ - ofLogNotice() << "got slot: "<<slot; ofLogNotice() << "entering slot "<<slot<<": "<<scanner->slots[slot].path; load(scanner->slots[slot].path); } @@ -165,6 +165,9 @@ bool dirPlayer::draw(){ } currentslot=slot; } + else { + ofLogNotice() << "reusing slot: "<<slot; + } if (items[currentItem].isFinished){ items[currentItem].isFinished=false; currentItem=(currentItem+1)%items.size(); |
