plugin.video.hbogohu
plugin.video.hbogohu copied to clipboard
[BUG] Missing "Filmek"
Hi,
The list of movies in "Filmek" is disappeared in the last few weeks. It worked earlier, so it's a different issue to #13
Environment: RPi3, Kodi 18.2, LibreELEC 9.0.2, HBO GO Hungary 0.2.3
Symptomes: When I selected the "Filmek" or the "Keresés...", I got "HBO GO Hungary error" message, instead of getting a list of movies. Other items, for example: "Lejátszási listád", "Ajánlataink", "Kedvenceim", "Előzmények" work.
Log items from :~/.kodi/temp/kodi.log:
2020-03-21 09:09:04.005 T:1497408368 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.hbogohu/addon.py", line 577, in <module>
LIST(url)
File "/storage/.kodi/addons/plugin.video.hbogohu/addon.py", line 286, in LIST
for titles in range(0, len(jsonrsp['Container'][0]['Contents']['Items'])):
IndexError: list index out of range
-->End of Python script error report<--
2020-03-21 09:09:04.180 T:1489015664 ERROR: GetDirectory - Error getting plugin://plugin.video.hbogohu/?mode=1&name=Filmek&url=https%3a%2f%2fhuapi.hbogo.eu%2fv5%2fGroup%2fjson%2fHUN%2fCOMP%2fb84a7a5f-ff13-4854-956b-9bc1070457f1%2f0%2f0%2f0%2f0%2f0%2f0
2020-03-21 09:09:04.182 T:1937416208 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hbogohu/?mode=1&name=Filmek&url=https%3a%2f%2fhuapi.hbogo.eu%2fv5%2fGroup%2fjson%2fHUN%2fCOMP%2fb84a7a5f-ff13-4854-956b-9bc1070457f1%2f0%2f0%2f0%2f0%2f0%2f0) failed
2020-03-21 09:12:46.256 T:1790935920 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.AttributeError'>
Error Contents: 'NoneType' object has no attribute 'encode'
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.hbogohu/addon.py", line 586, in <module>
SEARCH()
File "/storage/.kodi/addons/plugin.video.hbogohu/addon.py", line 495, in SEARCH
addDir(jsonrsp['Container'][0]['Contents']['Items'][index]['Name'].encode('utf-8', 'ignore'),jsonrsp['Container'][0]['Contents']['Items'][index]['ObjectUrl'],jsonrsp['Container'][0]['Contents']['Items'][index]['Abstract'].encode('utf-8', 'ignore'),2,jsonrsp['Container'][0]['Contents']['Items'][index]['BackgroundUrl'])
AttributeError: 'NoneType' object has no attribute 'encode'
-->End of Python script error report<--
2020-03-21 09:12:46.469 T:1799328624 ERROR: GetDirectory - Error getting plugin://plugin.video.hbogohu/?mode=4&name=Keres%c3%a9s...&url=search
2020-03-21 09:12:46.472 T:1937416208 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.hbogohu/?mode=4&name=Keres%c3%a9s...&url=search) failed
Same here.
Also 'Sorozatok' don't even show up in the options.
I tried deleting the addon and installing it again, with no help.
I thinks the problem might be the change in the operator id of UPC Magyarország (now Vodafone Hungary). If someone could update the operator list, it would be much appreciated!
My provider is: "HBO GO webes"
HBO seems to have changed something in the API. The category query does not return Series ("Sorozatok") at all and returns empty Movies ("Filmek") category.
Hi,
I think the "plugin.video.hbogohu" not work correctly, because it is not maintanenced in this time. The HBO GO is using now API 8.x version but this addon only uses 5.x.
Best way to use https://github.com/arvvoid/plugin.video.hbogoeu plugin.
If you want to use the local language content display, switch on the following button at setting of this addon.
Always use default operator language
After this, reboot Kodi and you can read menu and content in this addon.