Please help with playing rtmp file
#1
Hello,

I'm new to xbmc coding. I would like to get the live stream from this website: http://hostingtv.org/ch5.php

I got this: rtmp://zenex.tv:1935/zenex/_definst_/xhdhdh55

But how come I can't play this rtmp? did i miss anything? This drive me nut.

Thanks.
Reply
#2
please provide a Debug Log or at least the XBMC version and platform you're running on
Reply
#3
Thanks for replying. Here's the code i wrote. I'm new with this xbmc coding, so I don't have the Debug Log set up. What i realize is if i replace the url to something like:

http://address.m3u8, then it works but it doesn't work with rtmp

Code:
import sys
import xbmcgui
import xbmcplugin

addon_handle = int(sys.argv[1])

xbmcplugin.setContent(addon_handle, 'movies')
url = 'rtmp://zenex.tv:1935/zenex/_definst_/xhdhdh55'
li = xbmcgui.ListItem('My First Video!', iconImage='icon.png')
xbmcplugin.addDirectoryItem(handle=addon_handle, url=url, listitem=li)
xbmcplugin.endOfDirectory(addon_handle)
Reply
#4
I'm using xbmc Frodo 12.3. windows
Reply
#5
a Debug Log would probably tell you the error, so please enable it in XBMC settings. I don't have the time atm to create a dummy addon with your code to test, nor do I know much about our python API. To get more feedback/help I'll move this thread to the python/addon section
Reply
#6
Da-anda,

I tried to put in the Debug Log, but it doesn't give me any error. I think I didn't get the live stream correctly. Could someone help/teach me how to get the live stream?
I would like to get the live stream from this site http://hostingtv.org/ch5.php using URL Snooper 2. All I could get is: rtmp://zenex.tv:1935/zenex/_definst_/xhdhdh55 I think i'm missing something on this live stream. Could you please help? I really want to to add this play stream to my xbmc but i dont' know how.
Reply

Logout Mark Read Team Forum Stats Members Help
Please help with playing rtmp file0