Posts: 383
Joined: Sep 2012
Reputation:
65
Understood, but FYI...CBC +2 is still not working! THX
Posts: 19
Joined: Nov 2008
Reputation:
0
Hello,
I installed your plugin to watch ustream channels but it doesnt do anything. If I see xbmc.log I get:
07:19:14 T:3472 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.KeyError'>
Error Contents: (u'\xfa',)
Traceback (most recent call last):
File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.video.ustream\default.py", line 408, in <module>
categories()
File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.video.ustream\default.py", line 65, in categories
addDir(i[0], base+i[1], 1, icon)
File "C:\Documents and Settings\Administrator\Application Data\XBMC\addons\plugin.video.ustream\default.py", line 334, in addDir
u=sys.argv[0]+"?url="+urllib.quote_plus(url)+"&mode="+str(mode)+"&name="+urllib.quote_plus(name)
File "F:\XBMC\system\python\Lib\urllib.py", line 1232, in quote_plus
return quote(s, safe)
File "F:\XBMC\system\python\Lib\urllib.py", line 1224, in quote
res = map(safe_map.__getitem__, s)
KeyError: (u'\xfa',)
-->End of Python script error report<--
07:19:14 T:3276 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:0, P:17208, O:38808.
07:19:14 T:3276 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:17640, P:34288, O:10584.
07:19:14 T:3276 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:10584, P:27000, O:3528.
07:19:14 T:3276 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:7056, P:22624, O:3528.
07:19:14 T:3276 WARNING: CWin32DirectSound::GetSpace - buffer underrun - W:24696, P:41672, O:21168.
07:19:15 T:3976 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.ustream/
07:19:15 T:3976 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.ustream/) failed
07:19:15 T:3172 NOTICE: Thread Background Loader start, auto delete: false
Could you help me?
Best Regards.
Posts: 19
Joined: Nov 2008
Reputation:
0
2013-03-31, 09:56
(This post was last modified: 2013-03-31, 09:57 by jpoveda.)
Hello divingmule,
Never mind, it works, I see categories and channels but after select a channel, right now I get
Error Contents: cannot concatenate 'str' and 'tuple' objects
on lines
addon_log('Play URL: '+play_url)
item = xbmcgui.ListItem(path=play_url)
I tried disabling the log write and reencoding to unicode with (I have no idea about python but.....)
item = xbmcgui.ListItem(path=play_url).encode('unicode', 'ignore')
but I get a mess about errors on xbmc.log
Anyway........on the other side I'm writting a vbs plugin for my htpc software (I'm just checking for xbmc cause I bought a new tablet ) and I'm able to get and play several streams. I get channel id and related amf file to. The problem is sometimes I see status channel as offair (and of course it seems to not be). Then I started to looking for in m3u8 file unsuccesfully .............
Could you give a clue to point in the right way?
Posts: 83
Joined: Dec 2011
Reputation:
21
Thanks dirty hack is working for me.
Posts: 1,355
Joined: Oct 2008
Reputation:
66
Try changing the addDir to addLiveLink, then remove the other stuff you added.
Posts: 74
Joined: Sep 2012
Reputation:
0
yes, it's working , but this error video message coming: ustream we are optimizing the stream for your device, ,,,
then i stop and wait for a bit and start play again then it'll work, help again thanks.?
Posts: 1,355
Joined: Oct 2008
Reputation:
66
Thats interesting, so you get the 'optimizing the stream' video, then retry and get the real stream?
Posts: 1,355
Joined: Oct 2008
Reputation:
66
I don't know... can you check the log and see if the m3u8 url is the same each time?
Posts: 30
Joined: Feb 2013
Reputation:
0
I've been getting script failure for this plugin this week. Everything was working good last week when I used it. Has there been some change on Ustream's side that has changed things for this script?