• 1(current)
  • 2
  • 3
  • 4
  • 5
  • 16
  •   
Dreambox-TV & Dbox2-TV Control Interface
#1
hi,

dreambox-tv and dbox2-tv is a python script that will stream the channels from the dvb receiver dreambox. it can also record the stream to the xbox hdd. there is also a solution from cally for dbox2.

<span style='font-size:13pt;line-height:100%'><span style='color:red'>dreambox-tv v0.38 on site: 10 !!!</span></span>
download and more screenshots here:
www.xboxconfig.de

<span style='font-size:13pt;line-height:100%'><span style='color:red'>dbox2-tv v0.? !</span></span>
download and more screenshots and infos on cally's site
cally's [tu]xbox


<span style='font-size:11pt;line-height:100%'><span style='color:red'>you can now see what the state of this projekt is. love to see that so many people working on this projekt. one of them is cally, who realised a very good script for dbox2. also he implement a plugin for the dbox2 it self.

from my site i decided to close my dreambox python projekt. the last v0.38 includes all the needfull things for all of you who want to develope.. just use it..</span>
</span>


<span style='font-size:11pt;line-height:100%'><span style='color:blue'>done state:</span></span>
Quote:- the code change is now on cvs!
- the streaming works.
- all channels work but had some problems with some pid's [channels] i don't know why, may be it is the image i'm using on my dreambox!
- next todo: during record watch the stream
the string to get the complete ts-stream:
http://<drbox>:31339/<vpid>,<apid>
<span style='color:red'>now mplayer is able to detect this stream correct and it also mux it correctly! now availibe on last cvs !</span>
Quote:################################################################
# xbmc geminiserver dreambox-tv v0.38 beta!
#
# comments:
# - this is my first python script guys..
# - if some one own a dreambox and good in python..
# he is welcome to help to create..
# - it is very beta, this means there are some bugs in
# it.. but i think for testing it is ok!
# - it is also important to share his work and knowledge
# on this projeckt!
# - you need the python packages to run this script!
#
################################################################
#
# installation:
# - copy this py to [xbmc]\scripts\dreambox-tv\*.*
# 1. just start the script! the seetings window comes up if no
# connection is availible or if hte settings wrong!
#
# 2. do not switch chnl on dreambox during streaming
# 3. some chnls can't be stream [don't know why!! dream bug!]
# 4. if the script hang, juste restart xbmc and the script!
# 5. this script ist testet on image release. 1.07.4!
# 6. the record function only write the stream to the hdd
# 7. you can a.t.m only stream [view], or recorder! not both!
################################################################
#
# w.i.p: work in process and future features:
# - make a audio stream choosing, like ac3, ger, eng...
# - view stream during record!
# - timeschift for recording..
#
#todo:
# - fixing bugs....
# - bouquet and channel direkly from dreambox instead using the web interface°
# - i saw that cally does this but he won't share his knowledge.. :(
# - and more features;)
#
#
#################################################################
version history dreambox-tv:
v0.38: released!
add.- new with the blue button [x] the epd details window comes up! also close with x
add.- new epg details window w.i.p
add.- new image dialog-popup.png
add.- complettly redesigned the dreambox controll
add.- removed the pictures on dream controll
add.- create new window show all settings
add.- create show info button on settings
v0.37:
add.- redesigned the settings windows again
add.- settings code cleaup
add.- removeved test button settins
add.- during connection: after error ask config settings
add.- redesigned the settings window
v0.36:
add.- setting on off function [check-box]
add.- new image check-boxnf.png
add.- new image check-box.png
add.- change settings on the fly
add.- enable disable stream on zap on the fly..
add.- settings: stream on zap function
add.- settings: path rec, size rec
add.- settings: password, dreamimg
add.- settings: ipadress, loginname
add.- new settings window
add.- rewrote settings read write create code
add.- go back to bouquet on epg back
add.- new button epg guide
add.- show for the current channel epg list
add.- fix the start up dialog process
v0.35:
add.- add. channel number for the selectet bouquets..
add.- on switch from bouquet to channel list, no more need to use button to get back! use button: [b]
add.- scr and lcd are selectable, and on focus and click it will take new scr-lcd shot
add.- redesigned the screenshots
add.- removed the buttons create scr - lcd chot from main window
add.- new image: scroll-right.gif
add.- one button switch from bouquet radio to bouquet data
add.- one button switch from bouquet tv t0 bouquet radio
add.- fixed bug in get the epg [remove the &nbsp if there is no epg!]
v0.34:
add.- get the epg for the current channel [onyl show what's running on now]
add.- datavcr, this is the recordet moviez on dreambox hdd.. play and record them;)
add.- definitions: path tv, rd=radio, data= recordet films [on dreambox]
add.- cmd_path = '/?path='
add.- redesigned version detection for radio and future functions
add.- radio stream function
add.- bouquet radio button
v0.33:
add.- fixed the send message spaces shown with underline
add.- to controll window: lcd-shot
add.- to controll window: osd-shot
add.- to controll window: screenshot
add.- to controll window: send message to the dreambox!
add.- to controll window: shutdown, reboot, restart, wakeup, standby
add.- new controll window. acces with 'white' button on xbox controller pad!!
.....
Image

Image



faq
Quote:q: i cant stream from the dreambox?
a: be sure you are using the latest xbmc cvs release! >10.07

q:i use the latest cvs buildm, but can't stream!
a: be sure you have enter the right information into the scipt!

q: i enter the right information in to the script! but can't stream
a: check the path you installed the script! it must be in xbmcroot\scripts\dreambox-tv\*.*

q: all above settings are done! i can't stream!
a: be sure you set the xbmc cache for http:video up to 4032 or higher! [best is to set 8064]

q: all settings and all file are ok! but i can't stream!
a: try first to stream from a freetv channel!

q: i tried to stream from a freetv channel. i can't stream!
a: then maybe your dreambox has an very old image on it! go and get the latest one! [current: release 1.08 http://www.dream-multimedia-tv.de]

q: i have the latest cvs xbmc and latest dreambox image and all settings are ok!
a: post the last part from xbmc.log here, the we will see whats happening!
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.


[Image: badge.gif]
Reply
#2
did you try it with the "standalone" version of mplayer ?
mplayer supports pva (http://www.mplayerhq.hu/docs/html/en/formats.html#pva).
dextrose member.
Reply
#3
it is not a pva stream! it is a ts stream! and xbmc is able to play a ts file. but the problem is to play the stream, like error correction etc.
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.


[Image: badge.gif]
Reply
#4
@GeminiServer

i have the dreambox 7000s with no harddrive and a have an xbox, and i have posted the question " would it be possible to record sat tv from dreambox on xbox using xbox media center" in numerous sites with out any luck. i was just wondering is this what your tryin to do and have you any luck yet? anyways good luck with what ever your trying to do
Reply
#5
i have a dm7000s and would be very interrested in a working solution for streaming live video from dreambox to the xbmx.
Reply
#6
(zapata @ april 12 2004,23:44 Wrote:i have a dm7000s and would be very interrested in a working solution for streaming live video from dreambox to the xbmx.
heh now all we need is a dev to do it. i am very interested now too cause i will buy a 7000s next week myself.
read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#7
hopefully somebodies working at it as we speak
Reply
#8
@GeminiServer, are you planning to code this yourself? Huh ...if not then this thread really bellongs in the feature suggestions forum instead
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.
Reply
#9
Exclamation 
@Hullebulle
welcome to the dream club Wink so we have @1st one tester Wink

@kaisersose
as we speek Wink, i know that you and others can't wait to see this feature implementet and realised in xbmc! but hey we need time to do it Wink

@Gamester17
well i try to do it, but i need help! a donno have experience in mpeg and mux or demux the stream. so if some one does..
and i also write above, that @1st we need to collect the information b4 to begin coding! right!

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.


[Image: badge.gif]
Reply
#10
hi,

i have a nokia dbox2 and can help to test.

regards,
flagg
Reply
#11
Cool
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.


[Image: badge.gif]
Reply
#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.
Reply
#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.


[Image: badge.gif]
Reply
#14
can you share the source with us, so we can help you to further develop the script?

keep up the work :thumbsup:
Reply
#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 Wink]

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:

import urllib, time, xbmc, xbmcgui
from htmlparser import htmlparser

action_previous_menu = 10
action_select_item = 7

url = 'http://192.168.0.110'
port = ':31339'
vpid = '6e'
apid = '78'

file = url+port+'/'+vpid+','+apid
xbmc.player().play(file)


regards
geminiserver

here are the strings to get the needed information from the dreambox:
Quote:http://192.168.0.110/cgi-bin/ls
http://192.168.0.110/cgi-bin/mkdir
http://192.168.0.110/cgi-bin/rmdir
http://192.168.0.110/cgi-bin/rm
http://192.168.0.110/cgi-bin/mv
http://192.168.0.110/cgi-bin/ln


http://192.168.0.110/cgi-bin/stop
http://192.168.0.110/cgi-bin/pause
http://192.168.0.110/cgi-bin/play
http://192.168.0.110/cgi-bin/record
http://192.168.0.110/cgi-bin/videocontrol

http://192.168.0.110/setvolume
http://192.168.0.110/setvideo
http://192.168.0.110/showtimerlist
http://192.168.0.110/addtimerevent
http://192.168.0.110/addtimerevent2
http://192.168.0.110/deletetimerevent
http://192.168.0.110/edittimerevent
http://192.168.0.110/showaddtimereventwindow
http://192.168.0.110/changetimerevent
http://192.168.0.110/cleanuptimerlist
http://192.168.0.110/cleartimerlist
http://192.168.0.110/epgdetails
http://192.168.0.110/msgwindow
http://192.168.0.110/tvmessagewindow
http://192.168.0.110/cgi-bin/status
http://192.168.0.110/cgi-bin/switchservice
http://192.168.0.110/cgi-bin/zapto
http://192.168.0.110/cgi-bin/admin
http://192.168.0.110/cgi-bin/audio
http://192.168.0.110/cgi-bin/selectaudio
http://192.168.0.110/cgi-bin/setaudio
http://192.168.0.110/cgi-bin/selectsubchannel
http://192.168.0.110/cgi-bin/setscreen
http://192.168.0.110
http://192.168.0.110/cgi-bin/setconfigusb
http://192.168.0.110/cgi-bin/setconfighdd
http://192.168.0.110/cgi-bin/getpmt
http://192.168.0.110/cgi-bin/geteit
http://192.168.0.110/cgi-bin/message
http://192.168.0.110/control/message
http://192.168.0.110/cgi-bin/xmessage

http://192.168.0.110/audio.m3u
http://192.168.0.110/version
http://192.168.0.110/header
http://192.168.0.110/body
http://192.168.0.110/blank
http://192.168.0.110/cgi-bin/getcurrentepg
http://192.168.0.110/getcurrentepg2
http://192.168.0.110/getmultiepg
http://192.168.0.110/cgi-bin/streaminfo
http://192.168.0.110/cgi-bin/channelinfo
http://192.168.0.110/channels/getcurrent
http://192.168.0.110/cgi-bin/reloadsettings
http://192.168.0.110/cgi-bin/reloadrecordings
http://192.168.0.110/cgi-bin/saverecordings
http://192.168.0.110/cgi-bin/deletemovie
http://192.168.0.110/cgi-bin/reloadplaylist
http://192.168.0.110/cgi-bin/saveplaylist
http://192.168.0.110/cgi-bin/reloaduserbouquets
http://192.168.0.110/cgi-bin/saveuserbouquets
http://192.168.0.110/cgi-bin/reloadtimerlist
http://192.168.0.110/cgi-bin/savetimerlist
http://192.168.0.110/cgi-bin/startplugin
http://192.168.0.110/cgi-bin/stopplugin
http://192.168.0.110/cgi-bin/osdshot
http://192.168.0.110/cgi-bin/currentservice
http://192.168.0.110/cgi-bin/currenttransponderservices
http://192.168.0.110/cgi-bin/setfakerecordingstate

http://192.168.0.110/control/zapto
http://192.168.0.110/control/getonidsid
http://192.168.0.110/control/channellist

the information for dbox2 neutrino webcontroll
Quote:http://dbox/control/channellist
http://dbox/control/epg
http://dbox/control/shutdown
http://dbox/control/standby
http://dbox/control/volume
http://dbox/control/zapto
http://dbox/control/setmode
http://dbox/control/getmode
http://dbox/control/getdate
http://dbox/control/gettime
http://dbox/control/info
http://dbox/control/getonidsid
http://dbox/control/getservicesxml
http://dbox/control/getbouquetsxml
http://dbox/control/getbouquets
http://dbox/control/getbouquet
http://dbox/control/message
http://dbox/control/timer
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.


[Image: badge.gif]
Reply
  • 1(current)
  • 2
  • 3
  • 4
  • 5
  • 16
  •   
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Dreambox-TV & Dbox2-TV Control Interface00