2013-05-07, 04:00
(2013-05-07, 02:45)smpn Wrote: CNBC was working, today it isn't.... I don't know how to update the plugin but this page seems to stream ok http://www.zahistations.com/watch-cnbc-live
eg maybe someone could comment on how you update the plugin from this working feed
http://www.zahistations.com/watch-cnbc-live
Code:<embed flashvars="file=http://media4.lsops.net/live/cnbc_en_high.sdp/playlist.m3u8&autostart=true&provider=http://www.cool-tv.net/ch/etc/adaptiveProvider.swf&stretching=uniform&controlbar=over" provider="http://www.cool-tv.net/ch/etc/adaptiveProvider.swf" allowfullscreen="true" allowscriptaccess="always" id="player1" name="player1" wmode="transparent" src="http://www.cool-tv.net/ch/etc/player.swf" width="600" height="400" __idm_id__="1969274881">
How do I update channels.py parameters?
Code:class CNBC(BaseChannel):
playable = True
short_name = 'cnbc'
long_name = 'CNBC'
default_action = 'play_stream'
def action_play_stream(self):
self.plugin.set_stream_url('rtmp://media7.lsops.net/live/ playpath=cnbc_en_high.sdp swfUrl="http://www.livestation.com/flash/player/5.4/player.swf" pageUrl="http://www.livestation.com/en/cnbc" swfVfy=true live=true')
Can you pull what you need from the HTML source or do I have to do network sniffing?
Install the repo if you want from https://github.com/k3oni/repository.k3oni.xbmc and it will auto update the add-on every time i make a change.
If you want to update the stream yourself just edit the channels.py file and change "rtmp://media7.lsops.net/live/" to "rtmp://media4.lsops.net/live/" .