'Dispatch incoming requests to the correct handler.'

def handle_request(self, request, current_command_list_index=None):

    self.command_list_index = current_command_list_index
    response = []
    filter_chain = [self._catch_mpd_ack_errors_filter, self._authenticate_filter, self._command_list_filter, self._idle_filter, self._add_ok_filter, self._call_handler_filter]
    return self._call_next_filter(request, response, filter_chain)
