def _decode_text_or_list(self, text_or_list):
        # mpd2._read_objects returns dicts whose values may be text or lists.
        if isinstance(text_or_list, list):
            return [self._decode_text(item) for item in text_or_list]
        else:
            return [self._decode_text(text_or_list)]
Takes a 'text or list' and normalizes it to a UTF-8-decoded list.
dataset/ETHPy150Open rbarrois/mpdlcd/mpdlcd/mpdwrapper.py/MPDClient._decode_text_or_list