Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPG Issue (Not load) #129

Closed
Akior opened this issue Jun 7, 2017 · 2 comments
Closed

EPG Issue (Not load) #129

Akior opened this issue Jun 7, 2017 · 2 comments
Assignees

Comments

@Akior
Copy link

Akior commented Jun 7, 2017

From iptv.log:

2017-06-07 07:13:39,216 (2ce4) :  CRITICAL (core:574) - Exception (most recent call last):
  File "C:\Program Files (x86)\Plex\Plex Media Server\Resources\Plug-ins-995f1dead\Framework.bundle\Contents\Resources\Versions\2\Python\Framework\components\runtime.py", line 843, in handle_request
    result = f(**d)
  File "C:\Users\anmic\AppData\Local\Plex Media Server\Plug-ins\IPTV.bundle\Contents\Code\__init__.py", line 322, in ReloadGuide
    LoadGuide()
  File "C:\Users\anmic\AppData\Local\Plex Media Server\Plug-ins\IPTV.bundle\Contents\Code\xmltv_parser.py", line 58, in LoadGuide
    key = unicode(name.text, errors = 'replace')
TypeError: decoding Unicode is not supported

I fix this with replace in xmltv_parser.py:
key = unicode(name.text, errors = 'replace')
to
key = name.text

I'm not a pro with python, maybe there are another solution from author

@goooroooX
Copy link

A bit better but yet not ideal fix: #130

@Cigaras Cigaras added the Bug label Jun 13, 2017
@Cigaras Cigaras self-assigned this Jun 13, 2017
@Cigaras
Copy link
Owner

Cigaras commented Jun 13, 2017

Will be fixed in next release in a few upcoming days.

Cigaras added a commit that referenced this issue Jun 14, 2017
* Unicode decoding fix (#129, #130)
* Program guide icons (#130)
@Cigaras Cigaras added the Fixed label Jun 22, 2017
@Cigaras Cigaras closed this as completed Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants