需要解码一下,通知需要unicode编码

def send_notify(self, playingsong, content=''):
        '''需要解码一下,通知需要unicode编码'''
        title = playingsong['title'].decode('utf-8')
        content = content.decode('utf-8')
        if title == self.title:
            if self.has_cover:
                send_notification(self.title, content, self.cover_file.name)
            else:
                send_notification(self.title, content)
        else:
            self.init_notification(playingsong)
            self.title = title