def setRepeat(self, repeat, mtype=DEFAULT_MTYPE):
self.setParameters(repeat=repeat, mtype=mtype)<EOL>
Enable repeat for the specified playback items.

            Parameters:
                repeat (int): Repeat mode (0=off, 1=repeatone, 2=repeatall).
                mtype (str): Media type to take action against (music, photo, video).