Posts by tomasra65

    Thanks for this plugin Lululla.

    One minor bug, channel names with non latin characters such as cyrillic in Russia are not shown correctly, for example "360 НОВОСТИ" is shown as "360 ".

    Could you please fix it by changing line 1263 of /usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py from

    Code
                        # name = name.decode('utf-8').encode('ascii', 'ignore')
                        name = name.encode('ascii', 'ignore').decode('ascii')
                        ids = entry["id"]

    to

    Code
                        # name = name.decode('utf-8').encode('ascii', 'ignore')
                        # name = name.encode('ascii', 'ignore').decode('ascii')
                        ids = entry["id"]

    Improvement, maybe slightly faster list loading now with the proper fix, not the first buggy one.

    What happened? Maybe it is the power supply? Which box is it? We could find a solution for you.

    Sorry to all the friends for the error, it was my mistake, not Lululla's.


    The correct fix for cyrillic and other characters is:

    Code
    def decodeHtml(text):
        if pythonVer == 3:
            import html
            text = html.unescape(text.encode('utf-8').decode('unicode_escape'))

    and then to show correct channel name in infobar when press OK, change in line 1289 /usr/lib/enigma2/python/Plugins/Extensions/vavoo/plugin.py


    from


    Code
            self.url = url.replace('%0a', '').replace('%0A', '')
            self.name = vUtils.decodeHtml(name)
            self.state = self.STATE_PLAYING

    to


    Code
            self.url = url.replace('%0a', '').replace('%0A', '')
            self.name = name
            self.state = self.STATE_PLAYING

    Lululla thanks again for a great plugin.


    One small bug, channel names with non latin characters such as cyrillic in Russia are not displayed correctly, for example "360 НОВОСТИ" is shown as "360 \u041d\u041e\u0412\u041e\u0421\u0422\u0418"


    It was fixed on June 28th with this commit https://github.com/Belfagor200…585a941e76f56c39e066e142c


    Could you please fix it maybe changing line 197 of /usr/lib/enigma2/python/Plugins/Extensions/vavoo/vUtils.py


    from


    Code
    def decodeHtml(text):
        if pythonVer == 3:
            import html
            text = html.unescape(text)
        else:

    to

    Code
    def decodeHtml(text):
        if pythonVer == 3:
            import html
            text = html.unescape(text.decode('utf8')).encode('utf8')
        else: