it is done! now dreambox streaming works on xbmc !!!
i had to do now write a little phyton script to get the channel switch and boost the stream!
i don't test it on dbox2, may sone one will test it after i released it....
regards
geminiserver
GeminiServer
Senior Member Posts: 174 Joined: Oct 2003 Reputation: 0 |
2004-06-30 04:28
Post: #11
it is done! now dreambox streaming works on xbmc !!! i had to do now write a little phyton script to get the channel switch and boost the stream! i don't test it on dbox2, may sone one will test it after i released it.... regards geminiserver Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Clumsy
Team-XBMC Forum Moderator Posts: 617 Joined: Feb 2004 Reputation: 0 |
2004-06-30 13:22
Post: #12
i have been waiting for this for ages. how far did you get with your plans, are you at a state where you can just watch the stream or have you made it further to a state where you can maybe even record something ? either way, great work !
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. |
| find quote |
GeminiServer
Senior Member Posts: 174 Joined: Oct 2003 Reputation: 0 |
2004-06-30 15:30
Post: #13
check the above header!
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
Mausman
Junior Member Posts: 33 Joined: Jun 2004 Reputation: 0 |
2004-07-04 17:16
Post: #14
can you share the source with us, so we can help you to further develop the script?
keep up the work :thumbsup: |
| find quote |
GeminiServer
Senior Member Posts: 174 Joined: Oct 2003 Reputation: 0 |
2004-07-05 02:13
Post: #15
hi,
well i have no experience with python scripting.. and i could not find some one who have both, a dreambox and python scripting experience... we need also one who can create a script with dbox2.. to list the channels an get the current vpid and apid to play [i could not test the dbox2 yet.. because i don't have one ]i have began a simple script.. but there is lot things to do with python.. i also saw the py script for mytheatre, it ist great to see that's possible.. the script for dreambox and dbox2 should be the same.. here are the keys: 1. get the html source code from the ip like [192.168.0.110] 2. extract the channel information and gerate a link for them to swtich on it.. 3. get the current vpid and apid from the swtiched channel.. and generate a stream string.. here is the simple script, you need just insert the current vpid and apid.. Quote:#zapto: 192.168.0.110/cgi-bin/zapto?path=1:0:1:6dca:44d:1:c00000:0:0:0: regards geminiserver here are the strings to get the needed information from the dreambox: Quote:http://192.168.0.110/cgi-bin/ls the information for dbox2 neutrino webcontroll Quote:http://dbox/control/channellist Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
GeminiServer
Senior Member Posts: 174 Joined: Oct 2003 Reputation: 0 |
2004-07-05 19:05
Post: #16
1. i send the changes for mplayer.cpp to cvs
script to switch [zap] to the channel and stream it.. Quote:############################################################ 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 "melih@gmx.li" or pm me regards geminiserver Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
kaisersose
Member Posts: 70 Joined: Apr 2004 Reputation: 0 |
2004-07-07 13:45
Post: #17
great work geminiserver, it looks great.
with my router, the ip for the dreambox is 192.168.1.4 and i take it that the channel you are using is zdf from 19e and not 13e. so would the script just have to be changed to this for me or am i totally wrong and there is other stuff that has to be changed( anyways the script just runs and stops) : here is the error that comes up when i press the white button after the script stops: ioerror: [ermo(? cant make it out) socket error] (10061, " connection refused") also theres no apid for zdf on 19e at the moment according to my dreambox, so what should i put in instead) ############################################################ # xbmc dreambox-tv v0.1 [geminiserver] # # informations: # zapto: 192.168.1.4/cgi-bin/zapto?path= # # service reference: 1:0:1:6dca:44d:1:c00000:0:0:0: # reftype:refflags:dvb_service_type:dvb_service_id:dvb_transportstream_id # :dvb_original_network_id:dvb_namespace:unused:unused:unused ############################################################ import urllib, time, xbmc, xbmcgui from htmlparser import htmlparser action_previous_menu = 10 action_select_item = 7 url = 'http://192.168.1.4' # 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) any info on what i am doing wrong would be much appreciated. ps: probably a stupid question but would it be ever possible to record the stream on to the xbox hardrive as i dont have a harddrive for my dreambox! |
| find quote |
GeminiServer
Senior Member Posts: 174 Joined: Oct 2003 Reputation: 0 |
2004-07-08 01:04
Post: #18
hi,
the mplayer change is on cvs, i have verified the last cvs build and it works! so everbody should able to stream from dreambox and dbox2! i have now write a little script, it only streams the current channle on dreambox, no ui no msg.. just stream to that zappen channel! this script does not zap to that channel, you need to do it manual over remote or web interface! download here: dreambox-tv v0.23.py here is the source: Quote:################################################################ regards geminiserver Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
kaisersose
Member Posts: 70 Joined: Apr 2004 Reputation: 0 |
2004-07-08 12:22
Post: #19
im gettin this error:
('unable to connect to the dreambox!') or there is another problem...' any idea what the problem might be, i have the right ip settings for the dreambox anyways but im havent a clue what to do to get it workin now. is there some program i gotta have running on the dreambox first or something? |
| find quote |
Mausman
Junior Member Posts: 33 Joined: Jun 2004 Reputation: 0 |
2004-07-10 00:31
Post: #20
looks great and commplete, but..........
i ran the script and filled in the right ip and port and nothing! it says for a second running but nothing. does anyone know why ? i do have a cvs build 8-7-04 :kickass: |
| find quote |