Kodi Community Forum
Please help with playing rtmp file - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: VideoPlayer InputStream (https://forum.kodi.tv/forumdisplay.php?fid=312)
+---- Thread: Please help with playing rtmp file (/showthread.php?tid=196312)



Please help with playing rtmp file - Gameforus - 2014-05-27

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.


RE: Please help with playing rtmp file - da-anda - 2014-05-27

please provide a Debug Log or at least the XBMC version and platform you're running on


RE: Please help with playing rtmp file - Gameforus - 2014-05-27

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)



RE: Please help with playing rtmp file - Gameforus - 2014-05-28

I'm using xbmc Frodo 12.3. windows


RE: Please help with playing rtmp file - da-anda - 2014-05-28

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


RE: Please help with playing rtmp file - Gameforus - 2014-06-02

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.