2010-01-07, 12:56
Hi,
I'm a bit new to xbmc scripts so excuse me if I've done something really stupid. I am a programmer but this is my first time looking at python so i did the obvious and copied from other scripts to get what i need.
I'm trying to watch an RTMP stream. I've done lots of reading in this forum and settled on using 'net transport' network sniffer to get the URL of the stream. I also note that net transport can download from the stream just fine. So, what is it doing that I'm not?
I've pasted my code below and from that you can see the page URL. Is ti possible that the server is checking something else such as this random number attached to the swf url? Or have I missed something else?
Any help greatly appreciated!
Thanks
Toad
[HTML]import xbmc, xbmcgui
item = xbmcgui.ListItem("Inter")
item.setProperty("SWFPlayer", "http://inter.ua/images/player.swf?t=9821890")
item.setProperty("PlayPath", "inter.flv")
item.setProperty("PageURL", "http://inter.ua/uk/live/")
item.setProperty("name", "live_player")
item.setProperty("quality", "1")
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play("rtmp://62.149.26.237:80/live", item)[/HTML]
I'm a bit new to xbmc scripts so excuse me if I've done something really stupid. I am a programmer but this is my first time looking at python so i did the obvious and copied from other scripts to get what i need.
I'm trying to watch an RTMP stream. I've done lots of reading in this forum and settled on using 'net transport' network sniffer to get the URL of the stream. I also note that net transport can download from the stream just fine. So, what is it doing that I'm not?
I've pasted my code below and from that you can see the page URL. Is ti possible that the server is checking something else such as this random number attached to the swf url? Or have I missed something else?
Any help greatly appreciated!
Thanks
Toad
[HTML]import xbmc, xbmcgui
item = xbmcgui.ListItem("Inter")
item.setProperty("SWFPlayer", "http://inter.ua/images/player.swf?t=9821890")
item.setProperty("PlayPath", "inter.flv")
item.setProperty("PageURL", "http://inter.ua/uk/live/")
item.setProperty("name", "live_player")
item.setProperty("quality", "1")
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play("rtmp://62.149.26.237:80/live", item)[/HTML]