2004-07-05, 19:05
1. i send the changes for mplayer.cpp to cvs
script to switch [zap] to the channel and stream it..
py download: dreambox_playtest.py
for this script you need to edit the vpid, apid, the channel.. currently.. i will implement the rest.. after i study the python scripting tech
here are some screen shot streaming from the dreambox
next todo:
1. get and build complete channel list
i need also one who can verifie this for dbox! so guys with dbox2.. send me am mail [email="[email protected]"][email protected][/email] or pm me
regards
geminiserver
script to switch [zap] to the channel and stream it..
Quote:############################################################
# xbmc dreambox-tv v0.1 [geminiserver]
#
# informations:
# zapto:
# 192.168.0.110/cgi-bin/zapto?path=1:0:1:6dca:44d:1:c00000:0:0:0:
############################################################
import urllib, time, xbmc, xbmcgui
from htmlparser import htmlparser
action_previous_menu = 10
action_select_item = 7
url = 'http://192.168.0.110' # this ist the ip adress from dreambox
port = ':31339' # this is the port to stream from
zapcod = '/cgi-bin/zapto?path=' # this si the url zap code to initialize the zap
zapch = '1:0:1:6d66:437:1:c00000:0:0:0:' # this is the channel to zap in
vpid = '6e' # this is the vpid from switched channel
apid = '78' # this is the apid from switched channel
#zap to the channel
urlzap = url+zapcod+zapch
fp = urllib.urlopen(urlzap)
data = fp.read()
fp.close()
# play the zapped channel
file = url+port+'/'+vpid+','+apid
xbmc.player().play(file)
py download: dreambox_playtest.py
for this script you need to edit the vpid, apid, the channel.. currently.. i will implement the rest.. after i study the python scripting tech
here are some screen shot streaming from the dreambox
next todo:
1. get and build complete channel list
i need also one who can verifie this for dbox! so guys with dbox2.. send me am mail [email="[email protected]"][email protected][/email] or pm me
regards
geminiserver