View Single Post
Posts: 291 | Thanked: 398 times | Joined on Jan 2011 @ USA
#931
Originally Posted by ForeverYoung View Post
BTW, non-english playlists, created in web interface, in cutetube display incorrectly
update the method below in cutetubewindows.py to correct it (updating blue line). It wasn't unicoded before, that's why it won't correctly display non-english chars.

Code:
    def loadPlaylists(self, playlists):
        for playlist in playlists:
            item = QListWidgetItem("%s" % unicode(playlist.title.text, "utf-8"))
            item.setTextAlignment(Qt.AlignHCenter | Qt.AlignVCenter)
            self.listWidget.addItem(item)
        self.toggleBusy()