[Dev] ustream
#31
Yeah, they changed the html a bit and it broke my category scraper.

I uploaded a new version here -> https://divingmules-repo.googlecode.com/...-0.0.3.zip
Reply
#32
Thanks. I'll give it a shot when I get home today.
Reply
#33
Mule,

Tried the update this morning. The menus are all working now, but all of the links I tried are still giving me a "This channel is offline" message. Here is an example of one of the sites I was trying to watch this morning:

http://www.ustream.tv/channel/rick-and-bubba-live1

I confirmed that this was working on my PC, but gives the message if I try it on my OpenELEC machine.

Any thoughts?
Reply
#34
Sorry, IDK. No time to really look into it Confused
Reply
#35
Hi,
How can i add follow Link

http://www.ustream.tv/channel/6868234

thank you
Reply
#36
Sorry, but I have totally lost interest in developing this add-on. Seems like way too much effort for the content and the amount of interest.
Reply
#37
any hope to play streams lke this in HQ in Xbmc ?
http://www.ustream.tv/channel/snatural
Reply
#38
Is there a chance we get the development of this addon ongoing?

There are lots of german streams (movies and series) broadcasted via ustream. This addon would be much appreciated.
Reply
#39
if you download the code https://github.com/divingmule/plugin.video.ustream
and change line 58
Code:
for i in soup.find('li', attrs={'class':"mainmenu categories"})('li'):

to:
Code:
for i in soup.find('div', attrs={'class':"sub-menu-list categories"})('li'):

The plugin loads and at least attempts to load videos, unfortunately, it looks like the technique this plugin is using (and MOST ustream scraping apps in general use, does not work for all ustream videos...)

This line
Code:
amf_url = 'http://cgw.ustream.tv/Viewer/getStream/1/%s.amf' % content_id
downloads a file, that the script attempts to parse and look for "content"

But not all amf's I tested with have any content at all... some in fact showed as "offline" even when the stream was very much online...

Ill dig into this a bit more if I have time... was hoping to watch some ustream on the rpi while working on something else, and got distracted lol
Reply
#40
Hi, thanks for your response.
It got ustream addon installed on kodi changing python version to 2.1.0
I also changed line 58 as you described.

If I try to open the addon I get following error:

20:17:31 T:139901462877952 DEBUG: CPythonInvoker(10, /storage/.kodi/addons/plugin.video.ustream/default.py): entering source directory /storage/.kodi/addons/plugin.video.ustream
20:17:31 T:139901462877952 DEBUG: CPythonInvoker(10, /storage/.kodi/addons/plugin.video.ustream/default.py): instantiating addon using automatically obtained id of "plugin.video.ustream" dependent on version 2.1.0 of the xbmc.python api
20:17:31 T:139901462877952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.ImportError'>
Error Contents: No module named storageserverdummy
Traceback (most recent call last):
File "/storage/.kodi/addons/plugin.video.ustream/default.py", line 16, in <module>
import storageserverdummy as StorageServer
ImportError: No module named storageserverdummy
-->End of Python script error report<--
20:17:31 T:139901462877952 INFO: Python script stopped

Is this error kodi related?
Reply

Logout Mark Read Team Forum Stats Members Help
[Dev] ustream0