def setParameters(self, volume=None, shuffle=None, repeat=None, mtype=DEFAULT_MTYPE):
params = {}<EOL>if repeat is not None:<EOL><INDENT>params['<STR_LIT>'] = repeat<EOL><DEDENT>if shuffle is not None:<EOL><INDENT>params['<STR_LIT>'] = shuffle<EOL><DEDENT>if volume is not None:<EOL><INDENT>params['<STR_LIT>'] = volume<EOL><DEDENT>if mtype is not None:<EOL><INDENT>params['<STR_LIT:type>'] = mtype<EOL><DEDENT>self.sendCommand('<STR_LIT>', **params)<EOL>
Set multiple playback parameters at once.

            Parameters:
                volume (int): Volume level (0-100; optional).
                shuffle (int): Shuffle mode (0=off, 1=on; optional).
                repeat (int): Repeat mode (0=off, 1=repeatone, 2=repeatall; optional).
                mtype (str): Media type to take action against (optional music, photo, video).