'Ensure that all string attributes on this object are decoded
to Unicode.'

def decode(self, codec='utf-8'):

    for fld in ['title', 'artist', 'medium', 'artist_sort', 'disctitle', 'artist_credit', 'media']:
        value = getattr(self, fld)
        if isinstance(value, bytes):
            setattr(self, fld, value.decode(codec, 'ignore'))
