added oneshot playback mode from lua api