Posts: 141
Joined: Apr 2014
Reputation:
7
It comes directly from the stream provider, PS Vue. Not from third party guide.
Simple IPTV simple doesn't seem to have a problem with it, so I thought it may be easy to implement in your parser. But if it is too much trouble, don't worry about it. Thanks!!!
Posts: 126
Joined: Aug 2014
Reputation:
11
2018-04-09, 21:20
(This post was last modified: 2018-04-09, 21:20 by doktourtv.)
Hello. I am suddenly having a problem that I cannot solve and I am sure it is not your program, however the error message you may be able to direct me to a solution.
I am using webgrab+ plus to create an the guide.xml as I have been for many years, without problems.
There have been no changes to how I obtain the epg file.
The problem is on my raspberry pi3 running raspbian and kodi 17. Up until today the guide.xml loaded without error. Today the guide xml will not load in tvguide fullscreen on the rapsberry pi and the kodi log shows the following error:
14:58:58.913 T:1365168896 ERROR: File "/home/pi/.kodi/addons/script.tvguide.fullscreen/source.py", line 534, in _updateChannelAndProgramListCaches
14:58:58.920 T:1365168896 ERROR: self.source.KEY, channel.weight, self.source.KEY])
14:58:58.921 T:1365168896 ERROR: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
15:00:11.435 T:1340003072 WARNING: CSkinInfo: failed to load skin settings
15:00:12.026 T:1340003072 ERROR: EXCEPTION: Non-Existent Control 7004
15:00:12.079 T:1340003072 ERROR: EXCEPTION: Non-Existent Control 7100
15:00:12.093 T:1340003072 ERROR: EXCEPTION: Non-Existent Control 4323
15:00:42.979 T:1348391680 ERROR: Traceback (most recent call last):
15:00:42.979 T:1348391680 ERROR: File "/home/pi/.kodi/addons/script.tvguide.fullscreen/source.py", line 534, in _updateChannelAndProgramListCaches
15:00:42.984 T:1348391680 ERROR: self.source.KEY, channel.weight, self.source.KEY])
15:00:42.984 T:1348391680 ERROR: ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.
The error seems to be complaining about the utf-8 encoding, however the guide.xml has always been created in utf-8 and and worked fine until today.
I tried loading the same guide.xml file into tvguide fullscreen running on a windows machine and it loads perfectly without error.
Here are the top few lines of my guide.xml:
<?xml version="1.0" encoding="UTF-8"?>
<tv generator-info-name="WebGrab+Plus/w MDB & REX Postprocess -- version V2.1.5 -- Jan van Straaten" generator-info-url="http://www.webgrabplus.com">
<channel id="BBC America ">
<display-name lang="en">BBC America </display-name>
<url>http://www.yo.tv</url>
</channel>
<channel id="E!">
<display-name lang="en">E!</display-name>
<url>http://www.yo.tv</url>
</channel>
Any guidance would be appreciated.
Thank you
Posts: 126
Joined: Aug 2014
Reputation:
11
I have pmed you the requested files. I do not have the old guilde.xml with the error, as it was overwritten when I made the changes, however I did retain the offending entries in the webgrab config.
I think I mentioned it in the pm but the offending lines begin at line 199.
I am not sure if raspbian can be installed on a virtual machine, however, if you want me to test any changes to your addon on the raspberry pi3 running raspbian and kodi 17 (the latest that is available for raspberry pi), I will be happy to do that.