Posts: 46
Joined: Oct 2012
Reputation:
0
Same here only thing that works is twit live...
Posts: 46
Joined: Oct 2012
Reputation:
0
BTW Windows 10 10240 Kodi isengard YouTube works and the Blaze works.
Posts: 5
Joined: Feb 2015
Reputation:
0
Things were working fine yesterday, today no shows will open.
I added a print i to the source justbefore where the error occurs to show what's causing the issut.
8:36:51 T:140422920562432 NOTICE: -->Python Interpreter Initialized<--
08:36:51 T:140422920562432 NOTICE: <div class="episode item">
<a href="/shows/tech-news-today/episodes/1317?autostart=false" title="You'll hear from a journalist who actually rode the Lexus Hoverboard.">
<!-- @TODO THIS IS THE WRONG SIZE -->
<img alt="" class="media-img" src="https://elroy.twit.tv/sites/default/files/styles/twit_slideshow_400x300/public/images/episodes/74776/hero/tnt1317a.jpg?itok=syFO_6_y">
<span class="media-bd">
<span>
Tech News Today
<br/>
Episode 1317 - <span class="date">August 5th 2015</span>
</span>
</span>
</img></a>
</div>
08:36:51 T:140422920562432 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 'strip'
Traceback (most recent call last):
File "/home/pvr/.kodi/addons/plugin.video.twit/default.py", line 385, in <module>
get_episodes(params['url'], params['iconimage'])
File "/home/pvr/.kodi/addons/plugin.video.twit/default.py", line 108, in get_episodes
title = i.span.span.string.strip().replace('\n', ' ')
AttributeError: 'NoneType' object has no attribute 'strip'
-->End of Python script error report<--
BTW, why not just use the RSS feed instead of screen scraping?
Posts: 1,355
Joined: Oct 2008
Reputation:
66
Update is on the way. Seems the website HTML changed a bit.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
should ask if they can add some API so it doesn't break
Posts: 2
Joined: Dec 2012
Reputation:
0
divingmule
Leo said the Kodi app would break when they changed their website a few weeks ago. He didn't know who created the app but said if they got in touch with TWIT they'd gladly give you the code and whatever you needed to make a proper app. It didn't break immediately so I was hoping he was wrong but apparently not.
Also, great work on the app. I work from home so I watch about eight hours of TWIT throughout the week. Thanks for making it.
Jim