def repeat_str(state):
if state == const.REPEAT_STATE_OFF:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if state == const.REPEAT_STATE_TRACK:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if state == const.REPEAT_STATE_ALL:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return '<STR_LIT>'<EOL>
Convert internal API repeat state to string.