'Select input source.'

def select_source(self, source):

    if self._source_list.get(source).get('title'):
        self._current_source_id = self._source_list[source]['id']
        self._current_source = self._source_list[source]['title']
        self._client.launch_app(self._source_list[source]['id'])
    elif self._source_list.get(source).get('label'):
        self._current_source_id = self._source_list[source]['id']
        self._current_source = self._source_list[source]['label']
        self._client.set_input(self._source_list[source]['id'])
