2010-03-20, 06:06
I try this script:
import xbmc, xbmcgui
playpath = "MetroTV"
rtmp_url = "rtmp://cdn.mivo.tv:1935/mivotv"
swf_url = "http://mivo.tv/ImediabizTV.swf"
page_url = "http://www.mivo.tv"
item = xbmcgui.ListItem("mivotv")
item.setProperty("PlayPath", playpath)
item.setProperty("SWFPlayer", swf_url)
item.setProperty("PageURL", page_url)
item.setProperty("tcUrl", rtmp_url)
item.setProperty("IsLive", "true")
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)
but when i try using flvstreamer
flvstreamer -r rtmp://cdn.mivo.tv:1935/mivotv/MetroTV --flv rec.flv
it works and start recording.
Any idea what is going wrong? Thank you!
import xbmc, xbmcgui
playpath = "MetroTV"
rtmp_url = "rtmp://cdn.mivo.tv:1935/mivotv"
swf_url = "http://mivo.tv/ImediabizTV.swf"
page_url = "http://www.mivo.tv"
item = xbmcgui.ListItem("mivotv")
item.setProperty("PlayPath", playpath)
item.setProperty("SWFPlayer", swf_url)
item.setProperty("PageURL", page_url)
item.setProperty("tcUrl", rtmp_url)
item.setProperty("IsLive", "true")
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(rtmp_url, item)
but when i try using flvstreamer
flvstreamer -r rtmp://cdn.mivo.tv:1935/mivotv/MetroTV --flv rec.flv
it works and start recording.
Any idea what is going wrong? Thank you!