repeatMusic(what state)
From pinHeck Wiki
Examples:
repeatMusic(1);
Music will repeat once file ends. This is the default the A/V system boots into unless you command it otherwise.
repeatMusic(0);
Music will not repeat once file ends. This can be useful if you have a short, one-time music file such as one at the end of a game.