RPiVideoLooper
RPiVideoLooper copied to clipboard
First Video Skipped on First While Loop
The counter variable should probably be incremented at the bottom of the loop. Currently it skips the 0 video until it makes the 2nd pass through the list of videos.
This is the exact issue I am having as well. Do you know of a work around or way to make it work correctly? Is there a change to the code that could be made to make it work. I see the increment should be at the bottom of the loop. Any code changes would be helpful as this is driving me batty as I have an exact order and it is not following it.
Thank you very much.
Been awhile since I looked at this. But in startvideos.sh move line 45 "let current+=1" to the end of the if block. So move it to right before the fi
That looks like it will do it.
@rmcaninch thanks for the update. I just noticed this as my notifications didn't notify me. Need to update this and try it out. Thanks again for your help.