def input(self, input, song):
try:<EOL><INDENT>cmd = getattr(self, self.CMD_MAP[input][<NUM_LIT:1>])<EOL><DEDENT>except (IndexError, KeyError):<EOL><INDENT>return self.screen.print_error(<EOL>"<STR_LIT>".format(input))<EOL><DEDENT>cmd(song)<EOL>
Input callback, handles key presses