s0faking / plugin.video.orftvthek

ORF TVthek - This KODI plugin provides access to the Austrian "ORF TVthek"
GNU General Public License v2.0
42 stars 19 forks source link

Unable to play live stream #95

Closed raoulbhatia closed 4 years ago

raoulbhatia commented 4 years ago

Worked 1-2 days back, doesnt work right now.

2020-03-15 12:34:16.193 T:18942   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'AttributeError'>
                                            Error Contents: 'bool' object has no attribute 'get'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.orftvthek/default.py", line 142, in <module>
                                                scraper.getLiveStreams()
                                              File "/storage/.kodi/addons/plugin.video.orftvthek/resources/lib/htmlscraper.py", line 776, in getLiveStreams
                                                bundesland_title = bundesland_item.get('title')
                                            AttributeError: 'bool' object has no attribute 'get'
                                            -->End of Python script error report<--
2020-03-15 12:34:16.194 T:18942   DEBUG: onExecutionDone(31, /storage/.kodi/addons/plugin.video.orftvthek/default.py)
s0faking commented 4 years ago

the problem should be fixed. this only seems to happen when "bundesland heute" videos are available. i will try to push this to the official repo asap, considering the current situation here in austria

s0faking commented 4 years ago

i just realized the timestamp on your log. so probably the "bundesland heute" items aren't the main problem. the fix should work anyway but i will try to observe the issue for the next couple of days. probably some special markup on the website from all the "bundesland spezial" shows or something

s0faking commented 4 years ago

84c5141 should fix this error for real now ;)

raoulbhatia commented 4 years ago

Thanks for handling my report that swiftly! I'll install from master and will report back.

raoulbhatia commented 4 years ago

I didn't see the issue happening again. Closing this issue.

Thanks!