added loop function for playback
Merge branch 'master' of github.com:olihel/bitbeambot