-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Seem like an issue has popped up in the last week or so for a few users. Not sure what may be causing this or if you're seeing the same issue. Here's the end of the log:
File "/storage/.kodi/addons/tools.module.zap2xml/zap2xml.py", line 704, in handle_starttag globals()['on_%s' % tag](self, tag, attrs) File "/storage/.kodi/addons/tools.module.zap2xml/zap2xml.py", line 323, in on_td if re.search("^MV",cp): File "/home/stephan/projects/openelec-6.0/build.OpenELEC-Nvidia_Legacy.x86_64-6.0.3/Python-2.7.3/.install_pkg/usr/lib/python2.7/re.py", line 142, in search TypeError: expected string or buffer
Seems to be an issue with the lines:
if re.search("^MV",cp): programs[cp]["genres"]["movie"] = 1 elif re.search("^SP",cp): programs[cp]["genres"]["sports"] = 1 elif re.search("^EP",cp): programs[cp]["genres"]["series"] = 9 elif re.search("^SH",cp) and "-j" in options: programs[cp]["genres"]["series"] = 9
My line numbers may be different than yours: https://github.com/edit4ever/script.module.zap2xml
It's showing up on some systems but not others. Strange, but I thought I'd see if you have the same issue.