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

Addon is not working #15

Open
movikbence opened this issue Sep 13, 2019 · 1 comment
Open

Addon is not working #15

movikbence opened this issue Sep 13, 2019 · 1 comment

Comments

@movikbence
Copy link

So far the addon was working properly, but now unfortunately it is not, you can see the log file here:

2019-09-13 09:42:47.071 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:43:40.750 T:1692377824 WARNING: Previous line repeats 104 times.
2019-09-13 09:43:40.750 T:1692377824 ERROR: EXCEPTION: Non-Existent Control 300
2019-09-13 09:43:41.103 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:44:48.491 T:1201648352 WARNING: Previous line repeats 131 times.
2019-09-13 09:44:48.491 T:1201648352 NOTICE: DecodeJpeg: unable to decode /home/osmc/.kodi/addons/plugin.video.hbogohu/resources/screenshot-03.jpg 936x540
2019-09-13 09:44:48.890 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:45:00.849 T:1915983408 WARNING: Previous line repeats 23 times.
2019-09-13 09:45:00.849 T:1915983408 NOTICE: NFS is idle. Closing the remaining connections.
2019-09-13 09:45:01.282 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:45:40.938 T:1201648352 WARNING: Previous line repeats 75 times.
2019-09-13 09:45:40.938 T:1201648352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'httplib.BadStatusLine'>
Error Contents: ''
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 577, in
LIST(url)
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 269, in LIST
LOGIN()
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 179, in LOGIN
jsonrsp = SILENTREGISTER()
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 135, in SILENTREGISTER
f = opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 438, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 402, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''
-->End of Python script error report<--
2019-09-13 09:45:40.962 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:45:41.092 T:1501819616 ERROR: GetDirectory - Error getting plugin://plugin.video.hbogohu/?mode=1&name=Aj%c3%a1nlataink&url=https%3a%2f%2fhuapi.hbogo.eu%2fv5%2fGroup%2fjson%2fHUN%2fCOMP%2f22c730b8-797a-429d-9c94-0e6b2334782f%2f0%2f0%2f1%2f1024%2f0%2f0
2019-09-13 09:45:41.093 T:1915983408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hbogohu/?mode=1&name=Aj%c3%a1nlataink&url=https%3a%2f%2fhuapi.hbogo.eu%2fv5%2fGroup%2fjson%2fHUN%2fCOMP%2f22c730b8-797a-429d-9c94-0e6b2334782f%2f0%2f0%2f1%2f1024%2f0%2f0) failed
2019-09-13 09:45:41.472 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:45:47.313 T:1201648352 WARNING: Previous line repeats 11 times.
2019-09-13 09:45:47.314 T:1201648352 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'httplib.BadStatusLine'>
Error Contents: ''
Traceback (most recent call last):
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 577, in
LIST(url)
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 269, in LIST
LOGIN()
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 179, in LOGIN
jsonrsp = SILENTREGISTER()
File "/home/osmc/.kodi/addons/plugin.video.hbogohu/addon.py", line 135, in SILENTREGISTER
f = opener.open(req)
File "/usr/lib/python2.7/urllib2.py", line 429, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 447, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1241, in https_open
context=self._context)
File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
r = h.getresponse(buffering=True)
File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
response.begin()
File "/usr/lib/python2.7/httplib.py", line 438, in begin
version, status, reason = self._read_status()
File "/usr/lib/python2.7/httplib.py", line 402, in _read_status
raise BadStatusLine(line)
BadStatusLine: ''
-->End of Python script error report<--
2019-09-13 09:45:47.469 T:1501819616 ERROR: GetDirectory - Error getting plugin://plugin.video.hbogohu/?mode=1&name=Lej%c3%a1tsz%c3%a1si%20list%c3%a1d&url=https%3a%2f%2fhuapi.hbogo.eu%2fv7%2fCustomerGroup%2fjson%2fHUN%2fCOMP%2fda4abef8-4b5c-4d83-a941-a0e4771c9837%2f-%2f-%2f-%2f100
2019-09-13 09:45:47.470 T:1915983408 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hbogohu/?mode=1&name=Lej%c3%a1tsz%c3%a1si%20list%c3%a1d&url=https%3a%2f%2fhuapi.hbogo.eu%2fv7%2fCustomerGroup%2fjson%2fHUN%2fCOMP%2fda4abef8-4b5c-4d83-a941-a0e4771c9837%2f-%2f-%2f-%2f10
2019-09-13 09:45:47.686 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:45:57.787 T:1201648352 WARNING: Previous line repeats 19 times.
2019-09-13 09:45:57.787 T:1201648352 ERROR: Unable to find plugin
2019-09-13 09:45:57.787 T:1201648352 ERROR: GetDirectory - Error getting plugin://
2019-09-13 09:45:57.789 T:1915983408 ERROR: CGUIMediaWindow::GetDirectory(plugin://) failed
2019-09-13 09:45:58.003 T:1595917024 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
2019-09-13 09:46:17.418 T:1755308768 WARNING: Previous line repeats 37 times.

The credentials are correct, i'm logging in from magyar telekom.
kodi version: OSMC 18.3
I would be grateful if you could help
Thanks in advance

@vnorbix
Copy link

vnorbix commented Nov 3, 2019

I had the same problem, with provider Magyar Telekom (previously I tried web account, it worked). I got it working by adding 2 UUID values with keys customerId and individualization to the settings file at /.kodi/userdata/addon_data/plugin.video.hbogohu/settings.xml. You can use an online service to generate a random valid UUID like https://www.uuidgenerator.net/. The settings file would look like this then:

<settings version="2">
...
<setting id="customerId">RANDOM_UUID_V4</setting>
<setting id="individualization">RANDOM_UUID_V4</setting>
...
</settings>

Where you need to replace RANDOM_UUID_V4 with a UUID you generate yourself. Then disable/enable your plugin, it should work. I don't know what the reason behind this, but I got the idea from here:

https://forum.kodi.tv/showthread.php?tid=339798&pid=2868564#pid2868564

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants