Repeat Song bug

If the Repeat Song mode is enabled in the music player, the mi(pos) frozes/not changing with value equal to the mi(len). A solution would be if the mi(pos) is equal to mi(len) for more than 3 seconds, start again from 0/change mi(pos) value to 0 and add 1 every 1 seconds