bbsan2k/plugin.video.f1tv

Kodi Matrix Python 3 support

Opened this issue · 0 comments

Hi

I'm current running nightly Kodi Matrix (19.0-ALPHA1 Git:20200220-a6e4569259) on Windows and getting a Python urlencode encode. I suspect this could be due to Python3 compatability issue. See log snippet below. Full debug log required?

2020-02-22 17:48:46.189 T:10948 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'ImportError'>
Error Contents: cannot import name 'urlencode' from 'urllib' (C:\Program Files (x86)\Kodi\system\python\Lib\urllib_init_.py)
Traceback (most recent call last):
File "C:\Users*\AppData\Roaming\Kodi\addons\plugin.video.f1tv\main.py", line 4, in
from resources.lib import plugin
File "C:\Users*\AppData\Roaming\Kodi\addons\plugin.video.f1tv\resources\lib\plugin.py", line 4, in
from urllib import urlencode
ImportError: cannot import name 'urlencode' from 'urllib' (C:\Program Files (x86)\Kodi\system\python\Lib\urllib_init_.py)
-->End of Python script error report<--
2020-02-22 17:48:46.226 T:1652 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.f1tv/
2020-02-22 17:48:46.234 T:17360 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.f1tv/) failed