Fix player loop
Merge pull request #3655 from Atlante45/fix_playback_loop

Fix player loop