divingmule / plugin.video.ustream Goto Github PK
View Code? Open in Web Editor NEWXBMC Add-on
License: GNU General Public License v2.0
XBMC Add-on
License: GNU General Public License v2.0
Also, how about a Meerkat & Periscope client
I'm not familiar with Python or your code base, but (correct me if I'm wrong) it looks to me like your plugin is no longer properly parsing the HTML on Ustream's wesbite. I'm running XBMC 13 on Ubuntu 12.04.
This is the error that shows up in my logs:
17:07:25 T:139993744770816 NOTICE: [addon.ustream-0.0.1]: Mode: 2 17:07:25 T:139993744770816 NOTICE: [addon.ustream-0.0.1]: URL: /PlayStation 17:07:25 T:139993744770816 NOTICE: [addon.ustream-0.0.1]: Name: PlayStation Live - English [Live] 17:07:25 T:139993744770816 NOTICE: [addon.ustream-0.0.1]: amf_url: http://cgw.ustream.tv/Viewer/getStream/1/443086.amf 17:07:25 T:139993744770816 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: Error Contents: 1 Traceback (most recent call last): File "/home/daniel/.xbmc/addons/plugin.video.ustream-master/default.py", line 396, in get_channel_id_from_html(url) File "/home/daniel/.xbmc/addons/plugin.video.ustream-master/default.py", line 151, in get_channel_id_from_html resolve_url(channel_id) File "/home/daniel/.xbmc/addons/plugin.video.ustream-master/default.py", line 208, in resolve_url amf_data = get_amf(stream_id) File "/home/daniel/.xbmc/addons/plugin.video.ustream-master/default.py", line 197, in get_amf amf_data = remoting.decode(make_request(amf_url)).bodies[0][1].body File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/remoting/__init__.py", line 626, in decode target, payload = _read_body(stream, decoder, strict, logger) File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/remoting/__init__.py", line 459, in _read_body data = decoder.readElement() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/codec.py", line 338, in readElement return func() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/amf0.py", line 316, in readObject obj.update(self.readObjectAttributes(obj)) File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/amf0.py", line 299, in readObjectAttributes obj_attrs[key] = self.readElement() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/codec.py", line 338, in readElement return func() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/amf0.py", line 316, in readObject obj.update(self.readObjectAttributes(obj)) File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/amf0.py", line 299, in readObjectAttributes obj_attrs[key] = self.readElement() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/codec.py", line 338, in readElement return func() File "/home/daniel/.xbmc/addons/script.module.pyamf/lib/pyamf/amf0.py", line 243, in readMixedArray obj[key] = attrs[key] KeyError: 1 -->End of Python script error report<-- 17:07:25 T:139994812479360 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.ustream/?url=%2FPlayStation&mode=2&name=PlayStation+Live+-+English+%5BLive%5D&iconimage=http%3A%2F%2Fstatic-cdn1.ustream.tv%2Fi%2Fexplore%2Fcustom%2F4%2F4%2F3%2F0%2F443086%2F443086_channel_en_US_wide%2C192x108%2Cr%3A1361397586.jpg]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.