View Full Version : Dreambox-TV & Dbox2-TV Control Interface
GeminiServer
2004-03-31, 02:23
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 (http://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 (http://people.freenet.de/cally.net/)
<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>
- 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> (http://<dreambox>: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>
################################################## ##############
# 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   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!!
.....
http://www.xboxconfig.de/public/xbmc/dreambox-tv/release/geminiserver%20dreamboxtv%20v0.38/screenshot004.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/release/geminiserver%20dreamboxtv%20v0.38/screenshot026.gif
faq
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
did you try it with the "standalone" version of mplayer ?
mplayer supports pva (http://www.mplayerhq.hu/docs/html/en/formats.html#pva).
GeminiServer
2004-04-04, 01:36
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.
kaisersose
2004-04-11, 23:32
@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
i have a dm7000s and would be very interrested in a working solution for streaming live video from dreambox to the xbmx.
Hullebulle
2004-04-13, 02:10
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.
kaisersose
2004-04-15, 23:48
hopefully somebodies working at it as we speak
Gamester17
2004-04-16, 11:49
@geminiserver, are you planning to code this yourself? ??? ...if not then this thread really bellongs in the feature suggestions forum instead
GeminiServer
2004-04-16, 16:00
@hullebulle
welcome to the dream club ;) so we have @1st one tester ;)
@kaisersose
as we speek ;), 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 ;)
@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
hi,
i have a nokia dbox2 and can help to test.
regards,
flagg
GeminiServer
2004-06-30, 05:28
: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
hotzenpl0tz
2004-06-30, 14:22
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 !
GeminiServer
2004-06-30, 16:30
check the above header!
can you share the source with us, so we can help you to further develop the script?
keep up the work :thumbsup:
GeminiServer
2004-07-05, 03:13
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..
#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:
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
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
GeminiServer
2004-07-05, 20:05
1. i send the changes for mplayer.cpp to cvs
script to switch [zap] to the channel and stream it..
################################################## ##########
# 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 (http://www.xboxconfig.de/public/xbmc/dreambox-tv/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
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot001.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot002.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot003.gif
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
kaisersose
2004-07-07, 14:45
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:d vb_transportstream_id
# :dvb_original_network_id:dvb_namespace:unused:unus ed: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!
GeminiServer
2004-07-08, 02:04
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 (http://www.xboxconfig.de/public/xbmc/dreambox-tv/dreambox_tv_v023.py)
here is the source:
################################################## ##############
# xbmc geminiserver dreambox-tv v0.23
#
# informations:
# get the current stream info:
# http://192.168.0.110/cgi-bin/streaminfo?requester=webif
#
# set audiopid:
# http://192.168.0.110/cgi-bin/setaudio?audio="+audiopid
#
# zapto:
# 192.168.0.110/cgi-bin/zapto?path=1:0:1:6dca:44d:1:c00000:0:0:0:
################################################## ###############
# next to do:
# - is to make better vapid detection
# - receive all channels an bouquets
# - analyse an create the channel list..
# - create zapto
# - create ui
#
# 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..
#
# installation:
# - copy this py to [xbmc]\scripts\dreambox-tv\*.*
# - 1. this script only stream the current running channel
# - 2. do not switch chnl on dreambox during streaming
# - 3. some chnls can't be stream [don't know why!! dream bug!]
################################################## ###############
import xbmc, xbmcgui, os, urllib, time, string, stringio, re
from htmlparser import htmlparser
# please add here your dreambox settings
ip = '192.168.0.110'
user = 'root'
password = 'dreambox'
# xbmc ui settings
action_previous_menu = 10
action_select_item = 7
#global settings
port = ':31339'
url = 'http://'+user+':'+password+'@'+ip
tmp_html = 'q:\\scripts\\dreambox-tv\\dreambox-tv.html'
#tmp_html = 'dreambox-tv.html'
tmp_line = 'q:\\scripts\\dreambox-tv\\new.txt'
#tmp_line = 'new.txt'
tmp_strm = 'q:\\scripts\\dreambox-tv\\dreambox-tv.strm'
#tmp_strm = 'dreambox-tv.strm'
flocvpid = 'vpid: 0x'
flocapid = 'apid: 0x'
# lets try to connect to the dreambox!
def tryopenurl(url):
try:
fp = urllib.urlopen(url)
data = fp.read()
fp.close()
start_stream(data)
except:
#message('unable to connect to the dreambox!')
print '\nunable to connect to the dreambox!'
print 'or there is another problem...'
return ''
def start_stream(data):
print '1.opening the dreambox url:'+url
# write the start page to the local file
fpx = open(tmp_html,'w')
fpx.write(data)
fpx.close()
print '2.created the tmp file: dreambox-tv.html'
# extract the information to a new file
f = open(tmp_html,'r')
o = open(tmp_line,'w')
newlines = []
for line in f:
while 'vpid' in line:
#print "gefunden \n"
newlines.append(line)
x = line
#print x
o.writelines(line)
break
f.close()
o.close()
print '3.finding the apid and vpid line'
# extract the vpid and apid locations
o = open(tmp_line,'r')
a1 = o.readline()
cc = a1
locvpid = str(re.search(flocvpid, cc).span())
locapid = str(re.search(flocapid, cc).span())
o.seek(0)
a2 = o.readline()
o.close()
print '4.define the apid and vpid location'
# define the vpid and apid locations
locvpid_x = locvpid[1:4]
locvpid_y = locvpid[6:9]
locapid_x = locapid[1:4]
locapid_y = locapid[6:9]
print '5.define exact apid and vpid value'
# define the ecaxt vapid loc value
locvpid_y = int(locvpid_y)
locapid_y = int(locapid_y)
boost_dreambox_tv(a2,a2,locvpid_y,locapid_y)
# find and set the ecaxt vpid&apid value
def boost_dreambox_tv(f_vpid,f_apid,lvpid,lapid):
# this is for the latest dreambox web interface
lvpidy = int(lvpid) + 3
lvpidx = int(lvpid) + 2
if f_vpid[lvpidy] == '&':
fok_vpid = f_vpid[lvpid:lvpidy]
elif f_vpid[lvpidx] == '&':
fok_vpid = f_vpid[lvpid:lvpidx]
#this is for the older dreambox web interface!
elif f_vpid[lvpidy] == '<':
fok_vpid = f_vpid[lvpid:lvpidy]
elif f_vpid[lvpidx] == '<':
fok_vpid = f_vpid[lvpid:lvpidx]
lapidy = int(lapid) + 3
lapidx = int(lapid) + 2
if f_apid[lapidy] == '<':
fok_apid = f_apid[lapid:lapidy]
elif f_apid[lapidx] == '<':
fok_apid = f_apid[lapid:lapidx]
file = url+port+'/'+fok_vpid+','+fok_apid
print '6.got the vpid:'+fok_vpid
print '7.got the apid:'+fok_apid
print '\n\ncreated the play string \n-->'+file+'\nok! then lets try to stream!'
xbmc.player().play(file)
# just write the strm file.. only for testing!
print '\n\nwell the stream works.. \nthen lets write a sample stream file!'
print '\nregards\ngeminiserver;)'
strm = open(tmp_strm,'w')
strm.write(file)
strm.close()
# main!
tryopenurl(url)
regards
geminiserver
kaisersose
2004-07-08, 13:22
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?
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:
thank you so much for starting this nice mod :kickass: i donīt have a dreambox so does anybody tried out if it works on a dbox2 , too?
pathetic
2004-07-13, 21:00
i own a phillips and a nokia dbox2 and i'll test it later this evening. i'm interested in helping you out to make a more comfortable way to record. maybe something like jack the grabber would be nice. i don't knwo about python but i'm a professinal programmer so maybe i can help.
i'll send a test report later.
thx guys :o
Gamester17
2004-07-14, 11:09
...don't knwo about python but i'm a professinal programmer so maybe i can help.maybe you and geminiserver can work together to port the script to c++ for native xbmc integration :o hint, hint, wink, wink ;)
is there someone out there who has it working on a dreambox?
i tried everything, but the xbox just says (running) and then............ nothing.
:bomb:
GeminiServer
2004-07-14, 19:59
@gamester17
well if dreambox-tv should be a part or a feature for the next official xbmc release, why not! but we need then a ok for the implementation, so then wen can dev in c++ instead of using the python!
@mausman
you need the latest cvs release also your dreambox should support the stream!
regards
geminiserver
pathetic
2004-07-14, 23:56
hi,
i just tried to connect to my dbox2 but the script doesnt work.
i simply does nothing, "running" is flashing shortly a nothing to see ... do i need a special dbox2 version - i dont have any cgis on it.
i'm using on of the latest yadi images and xbmc 07/10/04
any suggestions ?
pathetic
2004-07-15, 01:14
... log says "unable to connect to the dreambox!"
i filled the ip correctly and also tried the stream on port 31339
in my browser an the stream opens,
might be some differences between dreambox and dbox2
GeminiServer
2004-07-15, 01:25
!!!! this script works only on dreambox !!!!
the script for dbox2 will follow after i finished the dreambox port! currently i can only dev and test on dreambox. i have no dbox2, if some one have a dbox2 for me i can also create for that one or some who own a dbox2 + xbox and has python experience he can use the above script to port the same for dbox2!
well here is the preview for next dreambox-tv release:
i had to finish the bouquet listing and switching.. need some evenings of my free time..
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot012.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot013.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot014.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot015.gif
http://www.xboxconfig.de/public/xbmc/dreambox-tv/screenshot016.gif
regards
geminiserver
looks great! keep up the work.
can you tell me what program and what version you use ion the dreambox?
maybe it can help me and others out to find the solution of our problems with connecting.
also what codecs and versions do we have to use.
tia
:bowdown: :nuts: :bowdown:
pathetic
2004-07-15, 02:08
hi,
really looks great - i'm trying o convert your script fro the dbox... something seem to be easier with the dbox ... ie if you want the pids from the actual channel
http://dbox/control/zapto?getpids
returns
105
106
so i changed the script so it get the current pids but xbmx.play doesnt get anything into buffer ...
what exactly are all these pid conversions - a short explanation would be nice
GeminiServer
2004-07-15, 02:24
the values you get are dezimal you need them in hex value
dez:hex
105:69
106:6a
Gamester17
2004-07-15, 11:53
@gamester17
well if dreambox-tv should be a part or a feature for the next official xbmc release, why not! but we need then a ok for the implementation, so then wen can dev in c++ instead of using the python!if you code guys code a patch for it we will add it, however we can't test or maintain it as no devs on team-xbmc has a dreambox/dbox.
ps! same goes for if someone code a patch for controlling tivo and/or replaytv boxes, we can add one combined section for those ;)
kaisersose
2004-07-15, 15:15
@geminiserver
ur doing great work and i thank you for using your own time to design it, but from reading here, it seems your the only person here who has the plugin working. i have the dreambox 7000s and i have entered all the correct details in to the python file, but still its saying that it cant connect to the dreambox. i can ftp in to my dreambox and i can update emu's in to it through my router. so im lost, to why i cant stream from dreambox to xbox. if u have any time, could u please help the people here who cant seem to get it working and tell us what exactly you have done to get it working.any info would be much appreciated, tx in advance
ps: i haved the the 10-7-2004 build
GeminiServer
2004-07-15, 18:27
@kaisersose
i will post some faq on the 1st site!
regards
geminiserver
kaisersose
2004-07-15, 21:57
@geminiserver
tx for posting the faq:
heres my checklist:
q: i cant stream from the dreambox?
a: be sure you are using the latest xbmc cvs release! >10.07
i have the 10-7 build
q:i use the latest cvs buildm, but can't stream!
a: be sure you have enter the right information into the scipt!
################################################## ##############
# xbmc geminiserver dreambox-tv v0.23
#
# informations:
# get the current stream info:
# http://192.168.1.4/cgi-bin/streaminfo?requester=webif
#
# set audiopid:
# http://192.168.1.4/cgi-bin/setaudio?audio="+audiopid
#
# zapto:
# 192.168.1.4/cgi-bin/zapto?path=1:0:1:6dca:44d:1:c00000:0:0:0:
################################################## ###############
# next to do:
# - is to make better vapid detection
# - receive all channels an bouquets
# - analyse an create the channel list..
# - create zapto
# - create ui
#
# 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..
#
# installation:
# - copy this py to [xbmc]\scripts\dreambox-tv\*.*
# - 1. this script only stream the current running channel
# - 2. do not switch chnl on dreambox during streaming
# - 3. some chnls can't be stream [don't know why!! dream bug!]
################################################## ###############
import xbmc, xbmcgui, os, urllib, time, string, stringio, re
from htmlparser import htmlparser
# please add here your dreambox settings
ip = '192.168.1.4'
user = 'root'
password = 'dreambox'
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\*.*
/e/apps/xbox.media.center.v1.0.xbox-htb/scripts/dreambox-tv/ (thats from flashfxp(the folder name is from an older build) )
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]
there is no http:video on mine so i take it u mean internet:video . i set this to 8192kb( 8064 isnt there)
q: all settings and all file are ok! but i can't stream!
a: try first to stream from a freetv channel!
have tried it with all the fta german channels i can think of
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]
the image i have is about a month old, an edited version of the latest rudream at that time. its not 1.08 though, but its my brothers dreambox and this image we have now is perfect so i dont really want to change it.
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!
15-07-2004 19:39:27 get local ip address:
15-07-2004 19:39:28 ip adres:192.168.1.3
15-07-2004 19:39:28 load default skin:[mediacenter]
15-07-2004 19:39:28 load skin from:q:\skin\mediacenter
15-07-2004 19:39:28 delete old skin...
15-07-2004 19:39:28 default 4:3 resolution directory is q:\skin\mediacenter\pal
15-07-2004 19:39:28 default 16:9 resolution directory is q:\skin\mediacenter\pal
15-07-2004 19:39:28 load fonts for skin...
15-07-2004 19:39:28 loading fonts from q:\skin\mediacenter\pal\font.xml
15-07-2004 19:39:28 load font:font13 path:q:\skin\mediacenter\fonts\common-font13.xpr
15-07-2004 19:39:28 load font:font14 path:q:\skin\mediacenter\fonts\common-font14.xpr
15-07-2004 19:39:28 load font:font16 path:q:\skin\mediacenter\fonts\common-font16.xpr
15-07-2004 19:39:28 load font:matrix8 path:q:\skin\mediacenter\fonts\matrix8.xpr
15-07-2004 19:39:28 load new skin...
15-07-2004 19:39:28 loading references file: q:\skin\mediacenter\pal\references.xml
15-07-2004 19:39:28 unable to load:q:\skin\mediacenter\pal\settingssystem.xml
15-07-2004 19:39:29 unable to load:q:\skin\mediacenter\pal\settingscdripper.xml
15-07-2004 19:39:29 initialize new skin...
15-07-2004 19:39:29 skin loaded...
15-07-2004 19:39:29 initializing skin
15-07-2004 19:39:29 kaiclient: instatiating...
15-07-2004 19:39:29 initializing virtual keyboard
15-07-2004 19:39:29 udpclient: listening.
15-07-2004 19:39:29 removing tempfiles
15-07-2004 19:39:29 start dvd mediatype detection
15-07-2004 19:39:29 initializing playlistplayer
15-07-2004 19:39:29 initialize done
15-07-2004 19:39:29 lcd not used
15-07-2004 19:39:29 running the application...
15-07-2004 19:39:30 get url: http://www.xbox-scene.com/xbox1data/xbox-scene.xml
15-07-2004 19:40:55 -->python initialized<--
15-07-2004 19:40:55
15-07-2004 19:40:55
unable to connect to the dreambox!
15-07-2004 19:40:55
15-07-2004 19:40:55 or there is another problem...
15-07-2004 19:40:55
15-07-2004 19:41:03 stop all
15-07-2004 19:41:03 stop python
15-07-2004 19:41:03 stop dvd detect media
15-07-2004 19:41:03 stop lcd
15-07-2004 19:41:03 stop time server
15-07-2004 19:41:03 unload skin
15-07-2004 19:41:03 unload sections
15-07-2004 19:41:03 destroy
15-07-2004 19:41:03 stopped
15-07-2004 19:41:03 launch xbe:harddisk0\partition2 d:\evoxdash.xbe
15-07-2004 19:41:03 mount harddisk0\partition2 as d:
15-07-2004 19:41:03 launch xbe:d:\evoxdash.xbe
i hope u can spot something wrong if u have time to look at it. tx in advance
pathetic
2004-07-15, 23:05
:thumbsup:
i got it working now on dbox, it seems you have to stop sectionsd before streaming and the hex tip was also a good hint
@geminiserver thx for your script
im trying to implement zapping now
pathetic
2004-07-16, 02:31
@geminiserver
im nearly as far as you with my dbox script, i'm using the same ui template :lol:
its now possible to switch channels and stream
last thing is: is it possible to record the stream to disk ... ?
pathetic
2004-07-16, 03:21
this is a very simple script for the dbox2 with neutrino
i am workign on a better version with more features but it runs a bit unstable - so if anyone wants to try it feel free
thx to geminiserver for his script
import xbmc,xbmcgui
import os, urllib, string, stringio
# dbox settings
ip * = '192.168.1.100'
# default 31337 (ps), or 32339 (ts)
port = ':31337'
url = 'http://'+ip
vpid = '0'
apid = '0'
selected = '???'
channels = []
bouquets = []
def show_channellist():
* * *dialog = xbmcgui.dialog()
list = []
channel_ids = []
channellist = urllib.urlopen(url+'/control/channellist')
for line in channellist.readlines():
list.append(line[line.find('\x20'):])
channel_ids.append(line[:line.find('\x20')])
selected = dialog.select('channels', list)
returncode = urllib.urlopen(url+'/control/zapto?'+channel_ids[selected])
dialog.ok("channel", "selected: " + list[selected]+' channel id: '+channel_ids[selected]+' code: '+returncode.readline())
def stream_dbox2():
* * * *fp * = urllib.urlopen(url+'/control/zapto?getpids')
* * * *dec_vpid = fp.readline()
* * * *dec_apid = fp.readline()
* * * *fp.close()
* * * *vpid = hex(int(dec_vpid))[2:]
* * * *apid = hex(int(dec_apid))[2:]
* * * *print 'streaming from dbox vpid: '+vpid+' apid: '+apid
* * * *file = url+port+'/'+vpid+','+apid
* * * *print 'complete url: '+file
* * * *xbmc.player().play(file)
show_channellist()
stream_dbox2()
just change to your ip and start the script,
you can select a channel and zap to it - afterwards it will
be streamed
bobrooney_78
2004-07-16, 16:19
this is a very simple script for the dbox2 with neutrino
great! i think my dbox2 now has to go neutrino...
pathetic
2004-07-17, 12:51
i'm now working on recording and timer with epg.
simple stream recording works but you cant watch the recorde file while recording (so no timeshift :( ) maybe th xbmc lib needs an addition to record a stream
sternenfeuer
2004-07-18, 15:53
is it possible to use the dbox2 timer?
select and save a movie in the dbox timerlist, turn xbox on, wait (record), watch the movie later on xbox ...
is there an nfs-server for the xbox (not with linux)?
then it would already be possible ...
sternenfeuer
2004-07-18, 16:23
look at this ... http://www.citi.umich.edu/projects/nfsv4/pynfs/
any idea if this work on the xbox?
pathetic
2004-07-18, 16:28
yes,
it should work. you can poll the dbox timer via webcontrol and check if there is an entry. but it would be easier to set a timer on the xbox in the script. i have simple recording implemented since yesterday, but without timer.
epg is the next step
http://heavy-mental.de/images/dbox_streamer.jpg
sternenfeuer
2004-07-18, 18:22
sorry ... wrong language :-)
is there an download to test the script?
pathetic
2004-07-18, 19:35
i'm currently finetuning the bouquet selection,
maybe in the next few days. streaming works good, recording is only for testing
i can zap the channel of the dreambox, but i can't stream yet?
anny idee? the log say's unable to connect.
tia
GeminiServer
2004-07-21, 12:54
hi!
here is the next release!!! ;)
<span style='color:red'><span style='font-size:17pt;line-height:100%'>dreambox-tv v0.28</span></span>
download and more screenshots here:
www.xboxconfig.de (http://xboxconfig.de/public/xbmc/dreambox-tv/release/)
[best viewed with: project_mayhem skin !!!]
################################################## ##############
# xbmc geminiserver dreambox-tv v0.28 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!
################################################## ##############
#
# installation:
# - copy this py to [xbmc]\scripts\dreambox-tv\*.*
# 1. add in the script your dreambox settings
# ip = '192.168.0.110'
# user = 'root'
# password = 'dreambox'
#
# 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!
# 8. the dbox2 will follow!
# 9. there must be a folder temp in dreambox-tv!!
################################################## ##############
#
# w.i.p: work in process and future features:
# - is to make better vapid detection
# - make a audio stream choosing, like ac3, ger, eng...
# - create epg view for that channel
# - show doing process [where what]
# - implement error detection is something goes wrong
# - better ui menu: like zap, controll, config, info
# - timeschift for recording..
# - on zap also show in background the current screen shot!
# - fixing bugs....
# - and more features;)
#
################################################## ###############
version history dreambox-tv
v0.28: released!
add.- some ui tweaks..
add.- lcd view during zap;)!
add.- lcd-shot on ui
add.- all temp files now and must be in \temp
add.- new folder in dreambox-tv root temp!!
add.- base config.ini [but w.i.p]
v0.27:
add.- set name for each recordet file tdate!
add.- start recording choose yesno
add.- show error is vapid not avaiblible on the current chnl
add.- ask yn if you want to exit on [back!]
v0.26:
add. - switch from channel back to bouquets <>
add. - dreambox controll: onscreendisplay [osdp] shot and show the picture
add. - create dreambox controll: lcd display shot and show the picture
add. - record to hdd [current with python, only for testing! but i will implement this
function directly into xbmc, so it will be then easy to start and stop the
recording during view! it will also possible to stream another channel and
record another one! if they im the same network.]
v0.25:
add. - dreambox controll: standby
add. - dreambox controll: wakeup
add. - dreambox controll: screenshot and show the picture
add. - zapto the channel
add. - receive all channels and bouquets
add. - analyse an create the channel list..
v0.24:
add. - create ui
v0.1x:
add. - connect and get the current stream
add. - initial release
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot000.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot017.gif
regards
geminiserver!
kaisersose
2004-07-21, 17:28
got it working finally! the communication setup on the dreambox said port 21 but changed it to 80 and it worked, i knew it had to be something stupid. does the record option work? when i clicked it it says do u want to record and then when i say yes, nothing seems to happen so i do an igr and then i say a new file created in the e drive but its only 0.1kb. thanks anyways for your brilliant work!
GeminiServer
2004-07-21, 23:09
@kaisersose
:o nice to see that it works now!
you are right! dreambox-tv uses the http interface on port 80! which sould be standartly set!
and if you choose record, it will record in background without any process indication! standart is path e:\\ set! and it will cream a mpg file! but this feature is only for testing and it is very alpha state! to stop the recording, close the script and you see that dreambox-tv is running.. is you once [open] it it will stop recording!
to all you guys who use this script! please post your experience with it!
regards
geminiserver
i tried almost every known port, but there is no challel list.
but for now it's showing more. keep up the work
bULLdOG64
2004-07-22, 00:15
hi.
while running img version 1.08-> the script (v0.28) can't fetch anything from dreambox. in newer img the webinterface is build arround frames and the only data fetched from db is the frames index file. so when the script depends on the information from the main html page and don't get it .. the script won't work.
@->geminiserver.. nice w.i.p. ;)
i have a code example how to fetch apid+vpid witch don't need the html index file from db.
pids = urllib.urlopen(url+'/control/zapto?getpids')
dec_vpid = pids.readline()
dec_apid = pids.readline()
pids.close()
vpid = hex(int(dec_vpid))[2:]
apid = hex(int(dec_apid))[2:]
also if you use url+'/body'
you will get the bouquetrefs, channel and channelrefs on newer img's and go arround the "frames" problem.
thanks again geminiserver for your nice work. :d
kaisersose
2004-07-22, 00:28
@geminiserver
the only problem im having at the moment is that no bouquets or channel lists come up when i select it. can u put up your bouquet files or something or does the script retrieve it from the dreambox each time its started? i know the recording is in alpha stage but when it does work its great. i've been holding out on buying a harddrive for my dreambox and was planning to get one for the xbox, so thanks to you all my problems will be solved.
wasistwas
2004-07-22, 16:13
@geminiserver
the only problem im having at the moment is that no bouquets or channel lists come up when i select it. can u put up your bouquet files or something or does the script retrieve it from the dreambox each time its started? i know the recording is in alpha stage but when it does work its great. i've been holding out on buying a harddrive for my dreambox and was planning to get one for the xbox, so thanks to you all my problems will be solved.
i have the same problem, i get no channel list, and screenshots donīt work, too.
the stream selb only ork the first time, when i uses it one time, i need to delete all the tmp files of the skript, to get it work agian.
i have no config.ini, do i need one ?
i have a code example how to fetch apid+vpid witch don't need the html index file from db.
pids = urllib.urlopen(url+'/control/zapto?getpids')
dec_vpid = pids.readline()
dec_apid = pids.readline()
pids.close()
vpid = hex(int(dec_vpid))[2:]
apid = hex(int(dec_apid))[2:]
also if you use url+'/body'
you will get the bouquetrefs, channel and channelrefs on newer img's and go arround the "frames" problem.
where should i add the code from the quote and what should be removed.
still don't know where to put it... :sniffle:
GeminiServer
2004-07-23, 00:29
hi!
i need to know which http interface you are using!
also i want see the xmbc.log file..
and for all dreambox user who can make screenshots but no bouquets and channels.. show me this file on dreambox:
/share/tuxbox/enigma/htdocs/zapdata.js
it must be the same like this one!
var channels = new array();
var channelrefs = new array();
var bouquets = new array(
#bouquets#
);
var bouquetrefs = new array(
#bouquetrefs#
);
var currentbouquet = #currentbouquet#;
var currentchannel = #currentchannel#;
function init()
{
#channels#
#channelrefs#
loadbouquets(currentbouquet);
loadchannels(currentbouquet, currentchannel);
}
in the official image releses you are not able to edit this file! so show me this file.. so i can patch the script!
to all other people! you must actived the port 80 on the dreambox settings.. also you need to know the login and the pw..
the temp folder is not a simple temp folder.. i just called it temp folder.. if you delete the files there will be createt again!
config.ini.. there is no config.ini includet in this release.. you also don't need to set that one.. damm! can't you read!!! so please don't ask about settings which are w.i.p!
@bulldog64
yes you are right.. and i know this feature.. but i won't use that one.. for the future release there will be a audio stream switch, that means.. i need to read all pid's and all settings! but it is very good for a test script!
@all
and again! you are all welcome to help to develope a script that works on all dreamboxes.. also try to find where the problems can be.. it don't help to write.. it won't work on my dreambox..
btw: there are so many dreambox images availible.. and everybody put's his part in it..
regards
geminiserver
@geminiserver:
here is a part of the xbmc-log that i have.
i hope this can help you.
tia
22-07-2004 23:50:49 -->python initialized<--
22-07-2004 23:50:49
22-07-2004 23:50:49 sys:1: deprecationwarning: non-ascii character '\xe4' in file q:\scripts\dreambox-tv\dreambox-tv.py on line 132, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
22-07-2004 23:51:04 1.opening the dreambox url:http://root:zx0pb0dr@10.30.83.220
22-07-2004 23:51:04
22-07-2004 23:51:04 2.created the tmp file: dreambox-tv.html
22-07-2004 23:51:04
22-07-2004 23:51:04 3.finding the apid and vpid line
22-07-2004 23:51:04
22-07-2004 23:51:30 stop all
22-07-2004 23:51:30 stop webserver
22-07-2004 23:51:30 stop python
22-07-2004 23:51:30 stop dvd detect media
22-07-2004 23:51:30 stop lcd
22-07-2004 23:51:30 stop time server
22-07-2004 23:51:30 unload skin
22-07-2004 23:51:31 launch xbe:harddisk0\partition2 d:\evoxdash.xbe
22-07-2004 23:51:31 mount harddisk0\partition2 as d:
22-07-2004 23:51:31 launch xbe:d:\evoxdash.xbe
kaisersose
2004-07-23, 01:06
/share/tuxbox/enigma/htdocs/zapdata.js
there is no such file on my dreambox , i created one with notepad but i cant ftp it to the dreambox.
@geminiserver, can you tell me what image u are using or any recent images you have used that worked properly with ur script. im using an image call mydream2.1, its from the start of july and based on a rudream image
]@geminiserver:
here is a part of the xbmc-log that i have.
i hope this can help you.
tia
same from me and my zapdata.js out of the latest sf108_8
var channels = new array();
var channelrefs = new array();
var bouquets = new array(
#bouquets#
);
var bouquetrefs = new array(
#bouquetrefs#
);
var currentbouquet = #currentbouquet#;
var currentchannel = #currentchannel#;
var autobouquetchange = #autobouquetchange#;
function init()
{
#channels#
#channelrefs#
loadbouquets(currentbouquet);
loadchannels(currentbouquet, currentchannel);
}
23-07-2004 01:19:52 -->python initialized<--
23-07-2004 01:19:52
23-07-2004 01:19:52 sys:1: deprecationwarning: non-ascii character '\xe4' in file q:\scripts\dreambox-tv\dreambox-tv v0.28.py on line 132, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
23-07-2004 01:20:31 1.opening the dreambox url:http://root:dreambox@192.168.0.12
23-07-2004 01:20:31
23-07-2004 01:20:31 2.created the tmp file: dreambox-tv.html
23-07-2004 01:20:31
23-07-2004 01:20:31 3.finding the apid and vpid line
23-07-2004 01:20:31
23-07-2004 01:20:40 1.opening the dreambox url:http://root:dreambox@192.168.0.12
23-07-2004 01:20:40
23-07-2004 01:20:40 2.created the tmp file: dreambox-tv.html
23-07-2004 01:20:40
23-07-2004 01:20:40 3.finding the apid and vpid line
23-07-2004 01:20:40
23-07-2004 01:32:46 1.opening the dreambox url:http://root:dreambox@192.168.0.12
23-07-2004 01:32:46
23-07-2004 01:32:46 2.created the tmp file: dreambox-tv.html
23-07-2004 01:32:46
23-07-2004 01:32:46 3.finding the apid and vpid line
23-07-2004 01:32:46 *
GeminiServer
2004-07-23, 11:17
:d
jepp! in firmware [image] 1.08, there is a new implementation in the webinterface! i don't use the new image 1.08! but i add it to test and look whats going wrong!
dreambox-tv 0.28 is not able to receive from img. 1.08 the bouquet and channellist! also it ist not possible to make screenshots.. lcdshot, etc.
v0.28 need some tweaks.. to get the channel and bouquet list! like the /body add.on to url.
the problem is that the scipt or in future the implementation into xbmc, coould not be changed every time while dreambox cvs making evertime changes on their web interface!
the best gole ist to implement into dreambox a data push url..like http://dreamip/external. this should be then more effective also for other developper to make a controll apps.
if some one reading this and he/she is in cvs group for dreambox images.. please contact me, to make web interface for external apps. it is very simple to implement the function into cvs from dreambox..
i'll look webserver function from dreambox and try to add. an interface primarly. i know there are loots information to get. but the big problem is the bouquets and channels.. there no /getallbouquest.. or /getallbouquest and channel.. why: we need a solution, which will holt longer . after this, we don't need to update all things again if there will relese another img with other changes..
what do you all think about this!
bULLdOG64
2004-07-23, 12:02
@geminiserver
why not try another approach and fetch the bouquet/channel files with ftp?
the native bouquet/channel files have not changed so much as the webinterface. the userbouquet.****.** files in /var/tuxbox/config/enigma/ are plain txt files and can easely be processed.
GeminiServer
2004-07-23, 13:05
@bulldog64
mhhh.. why not.. this is also a option! but the epg features won't work also the in time epg [like listing: channelnames what's running..]
also you should think about the recording function! then wenn need to know wich channels can be stream during recording [i mean both: on dreambox and on xbox]!
during build the list is is more effivient to get the epg from the webpage instead of using the ftp connection to get the only the bouquets! i hope you understnad what i mean.. ;)
regards
geminiserver
hi.
while running img version 1.08-> the script (v0.28) can't fetch anything from dreambox. in newer img the webinterface is build arround frames and the only data fetched from db is the frames index file. so when the script depends on the information from the main html page and don't get it .. the script won't work.
pids = urllib.urlopen(url+'/control/zapto?getpids')
dec_vpid = pids.readline()
dec_apid = pids.readline()
pids.close()
vpid = hex(int(dec_vpid))[2:]
apid = hex(int(dec_apid))[2:]
also if you use url+'/body'
you will get the bouquetrefs, channel and channelrefs on newer img's and go arround the "frames" problem.
thanks again geminiserver for your nice work. :d
@bulldog64
could you post the whole code or script if you have it, so we can help geminiserver and others to solve problems?
maybe this could be a solution for now and further releases of dreambos images.
:bowdown: :bowdown:
bULLdOG64
2004-07-23, 19:49
@mausman
i have modifyed the script dreambox-tv v0.28. it is currently working fine with firmware 1.08 and wif 1.3.4. but i'm not sure i will post this mod. without asking geminiserver. after all it's his script.
----
@geminiserver
is it ok to post my modifyed version of your script here?
during build the list is is more effivient to get the epg from the webpage instead of using the ftp connection to get the only the bouquets! i hope you understnad what i mean.. ;)
you could let that be an option.
it's possible to use a epg plugin for the dreambox which generates an "epg.dat" file.
that epg.dat file could easily get to the xbox with ftp.
tools like "dreamtv" and perhaps "dcc" use that epg.dat file and the "spalared" epg plugin generates one.
i find it most important to be able to switch channels and stream, epg info and setting up recordings are off less importance to me.
main feature i would like to see working is streaming of 4-2-2 streams.
by using the xbox there's no need for the pc anymore.
but than again, all the features that could be added are nice so...
even seen an epg way through the www,
perhaps that could be a way aswell to get the epg info.
just some thoughts.
GeminiServer
2004-07-23, 23:11
@bulldog64
fell free an post the changed script! so everyone can profit with it! dreambox-tv script is free for all of you.. you can edit change and also fix bugs.. add. more features.. or add a better solution.. but let me in it ;)
as i told in my post early.. suggestions and helps are every time wanted also testing and experience are welcome...!
@mietde
yes.. your suggestions are also welcome.. and if there is a better way why not! but we need more information about where is what.. exactyl way..
@all
all you know that there is a huge and own generatet images.. lets filter all things which are the same.. and generate a base script which works perfectly..
if the final script include all these informations and all features and also experience what is what.. we can then, not before begin to implement it into xbmc! as gamester17 suggested in previos site!
and now in german ;)
leute ich hab den stein zum rollen gebracht.. jetzt seit ihr alle gefordert.. also ran an die sache...
regards
geminiserver
bULLdOG64
2004-07-24, 01:14
@gemeniserver ok. *:)
@all
here are my "quickfixed" version of the dreambox-tv v0.28.
this "quickfix" let you use the script if you have firmware 1.08 installed on your dreambox.
get the script here. (http://www.holhaug.com/xbox/dreambox-tvv0.28_fw108_mod.zip)
regards
bulldog64
a black box is nothing without some dreaming.
looks good , i can see all channels, i can switch.........but not watch :sniffle:
here is a part of the log:
24-07-2004 01:25:36 sys:1: deprecationwarning: non-ascii character '\xe4' in file q:\scripts\dreambox-tv\dreambox-tv.py on line 144, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
24-07-2004 01:25:51 6.got the vpid:202
24-07-2004 01:25:51
24-07-2004 01:25:51 7.got the apid:50
24-07-2004 01:25:51
24-07-2004 01:25:51
created the play string
-->http://10.30.83.220:80/202,50
ok! then lets try to stream!
24-07-2004 01:25:51
24-07-2004 01:25:54 mplayer play:http://10.30.83.220:80/202,50 cachesize:4096
24-07-2004 01:25:54 flipping bi-directional subtitles disabled
24-07-2004 01:25:55 stating file http://10.30.83.220:80/202,50.conf
24-07-2004 01:25:55 stating file q:\mplayer\http://10.30.83.220:80/202,50.conf
24-07-2004 01:25:55 cmplayer::openfile() http://10.30.83.220:80/202,50 failed
hopefuly this can help.
regards
DOMin8or
2004-07-24, 10:51
hi, i`m new here.
but i work a litle bit with dreambox images for a long time.
i`m not a spezialist, but i know that the interface has
changed with version 1.08. (your old 0.28 doesn`t work)
but a thing does not changed :-)
fetch the station list by ftp temporary to xbox, or
fetch it (1x per day or with a button 'get bouquets') and store it on xbox`s hdd.
/var/tuxbox/config/enigma/userbouq*
/var/tuxbox/config/enigma/services
/var/tuxbox/config/enigma/bouquets
the service and bouquetslists are the same in 1.07 and 1.08.
so you are compatible with next releases :-)
the dreamtv program for pc does it by the same way.
it gets the list, and stores it on pc`s hdd.
domin8or
DOMin8or
2004-07-24, 11:00
the dreamtv works perfekt with 1.08 and older images.
but i think, it fetchs the list by http.
when i activate in box the menu use http autentification,
the dreamtv doesnt show the tv stream.
please take a look to the programm, and ask the author,
or use a tcp dumper (or proxy with dumper).
h**p://www.dream-multimedia-tv.de/dreamtv/index.php?subcat=1
i hope the hint is usefull.
dom
DOMin8or
2004-07-24, 11:15
but please dont prog in future 2 different versions.
when i prog phpskripts on different maschines with different mysql database names, i use a simple trick, so i dont must do any changes to upload the skript.
in the first rows of my config skripts, i request a var.
in php typicly the host. and with a simple if can i switch
between the different sqldatabase login data.
the same thing you can do with 2-3 rows and 2 different functions() for fetching services.
1. insert in your original skript the new modified methode.
2. on starting skript, use a methode to get versions name.
use a versionsnumber request command.
if there no command like this in dreambox image:
use a command that works in 1.07 and in 1.08
answerd with an error, so you know 100% what function()
later in the python skript must be used.
3. know you have to define the service get function() in case of 2.
so we cann all use the same python skript.
dom
thx bulldog64 and geminiserver !!!!
great work - great script !!!
it is running very well with rudream 108.
best regards
craxx;)
kaisersose
2004-07-24, 18:12
note:
# this script is a "quickfixed" version for db firmware 1.08.
# please disable username and password on the db webinterface.
# you can do this within the enigma settings on db
hmmm how? sorry 4 being stupid!
bULLdOG64
2004-07-24, 23:01
note:
# this script is a "quickfixed" version for db firmware 1.08.
# please disable username and password on the db webinterface.
# you can do this within the enigma settings on db
hmmm how? sorry 4 being stupid!
@kaisersose
this is selections with english menus.
1. on dreambox remote press the small button marked "dream"
2. select "setup"
3. in the setup menu select "expert setup"
4. scroll down and check if the "use http authentification" is selected or not. if it's selected, unselect this option.
5. press "lame" x 3 times to exit menu.
call me stupid, but i and a frend want to keep the login and password on.
we use the dreambox streaming on a wireless connection.
so if we turn it off everyone can watch or change things with ftp.
bad idee for us.
so we want to know if there is a way to keep the login and password on?
thx all
kaisersose
2004-07-25, 02:08
yep it would be better if it were possible to keep the login username and password
tx bulldog64 for the info
someone mentioned this in a previous post and i dont think anyone said anything about it, but would it be possible to watch 4:2:2 feeds on the xbox?
ive got some problems with v0.28
25-07-2004 09:01:32 sys:1: deprecationwarning: non-ascii character '\xe4' in file q:\scripts\dreambox-tv\dreambox-tv v0.28.py on line 132, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
25-07-2004 09:01:32 traceback (most recent call last):
25-07-2004 09:01:32 file "q:\scripts\dreambox-tv\dreambox-tv v0.28.py", line 42, in ?
25-07-2004 09:01:32
25-07-2004 09:01:32 import xbmc, xbmcgui, os, urllib, time, string, stringio, re, image, imagefile
25-07-2004 09:01:32 importerror
25-07-2004 09:01:32 :
25-07-2004 09:01:32 no module named image
25-07-2004 09:01:32
when i comment out image and imagefile the script work. i'm using xmbc 17-07-2004 build. and the python rar file from *****. but i dont found the lib's
maybe someone can help me
DOMin8or
2004-07-25, 17:49
today i spezialy installed rudream 1.08 for testing dreamtv 0.28
i`ve tested all the scripts(normal + patched) , and no one runs.
only the simplest script 'playtest' runs.
dom
p.s. http auth is off
with sf 108-8 and the bulldog64 edited version of the script it runs, it does seem kinda buggy, now and again it doesn't work but often it runs :thumbsup:
tried the euro1080 hdtv stream but although it starts streaming i don't get a picture and the screenshot is black.
perhaps it's not possible at all or even only when using a original hdtv cable, dunno.
would be nice if those streams could be viewable, i think the hardware could do it since the xbox does support hdtv, kinda...
haven't tried recording such a hdtv stream and playbacked it later.
that way it is already possible to view it on a pc but if it could be viewable on a xbox :bowdown:
haven't got my hands on a regular 4-2-2 stream...
for normal channels the stream sometimes won't show, it makes the buffer but after a very short piece of sound the streaming seems to stop and all stays black.
same thing for the hdtv stream btw.
after a reboot of the xbox or fidling around with the channels i sometimes do get the streaming working on the same channel it previously didn't, very strange.
well, moving to the next ronald release within a couple of days (when released) hope i will get a bit better stability with that image.
kato2307
2004-07-25, 19:41
hallo
hab das selbe problem wie lichtl - irgendjemand eine idee ???
bULLdOG64
2004-07-25, 21:35
@all
most of the problems related to playing the video stream from dreambox with dreambox-tv script is with the player in xbmc itself.
i say most, because sure there may be problems with the script on different systems e.g. firmware on dreambox,
xbmc version on xbox and so on, but hey it's developing season :p
the player in xbmc is mplayer, and has nothing to do directly with the dreambox-tv python script.
if you get a dialogbox up says "cache fill.." while trying to stream within the dreambox-tv script, the script is working.
xbmc is in continues developing and so is mplayer and ofcoz the dreambox-tv script ;)
please continue to give feedback to help develop a mega dreambox-tv script for xbmc!
thank you all.
kind regards
bulldog64
greetings to geminiserver who started it all :d
bULLdOG64
2004-07-25, 22:11
hallo
hab das selbe problem wie lichtl - irgendjemand eine idee ???
please post in english so i can understand what you write.
if you don't want me to understand, you can post in german. :p
kind regards
bulldog64
bULLdOG64
2004-07-25, 22:17
ive got some problems with v0.28
25-07-2004 09:01:32 sys:1: deprecationwarning: non-ascii character '\xe4' in file q:\scripts\dreambox-tv\dreambox-tv v0.28.py on line 132, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
25-07-2004 09:01:32 traceback (most recent call last):
25-07-2004 09:01:32 * file "q:\scripts\dreambox-tv\dreambox-tv v0.28.py", line 42, in ?
25-07-2004 09:01:32
25-07-2004 09:01:32 import xbmc, xbmcgui, os, urllib, time, string, stringio, re, image, imagefile
25-07-2004 09:01:32 importerror
25-07-2004 09:01:32 :
25-07-2004 09:01:32 no module named image
25-07-2004 09:01:32
when i comment out image and imagefile the script work. i'm using xmbc 17-07-2004 build. and the python rar file from *****. but i dont found the lib's
maybe someone can help me
hi lichtl
your xbmc build 17.07 is an ind build and may not work correctly.
i'm using xbox.media.center.v1.0.xbox-htb with python included.
you could also try to install the python image modules from here (http://www.holhaug.com/xbox/python_imglib.zip). place the unzipped files in |xbmc/python/lib/
check also that you have a directory called temp in dreambox-tv root folder.
kind regards
bulldog64
DOMin8or
2004-07-26, 15:16
i use ind xbmc from 17.7.
and when i start 0.28 or 0.28 patched, the buttons left
has no functions.
and the text text geminiserver is not shown.
the skript sux before.
the lost font. 14 or 18 i have already copied to xbmc actual skin.
dom
bULLdOG64
2004-07-26, 19:06
@all
if you got problems running the dreambox-tv script,
please post at least 10-30 last lines from your xbmc.log.
you will find the logfile in the root directory where you have xbmc installed.
this will make it much easyer to answer any bug/norun/noworking related questions.
thank you.
kind regards
bulldog64.
sternenfeuer
2004-07-26, 23:52
is there allready an script for the dbox2?
:joker:
GeminiServer
2004-07-28, 22:19
hi!
here is the next release!!! ;)
<span style='color:red'><span style='font-size:17pt;line-height:100%'>dreambox-tv v0.32</span></span>
download and more screenshots here:
www.xboxconfig.de (http://xboxconfig.de/public/xbmc/dreambox-tv/release/)
[best viewed with: project_mayhem skin !!!] [if you use another skin check the fonts folder in this release!!!!]
################################################## ##############
# xbmc geminiserver dreambox-tv v0.32 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!
################################################## ##############
#
# installation:
# - copy this py to [xbmc]\scripts\dreambox-tv\*.*
# 1. add in the script your dreambox settings
# ip = '192.168.0.110'
# user = 'root'
# password = 'dreambox'
#
# 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!
# 8. the dbox2 will follow!
# 9. if you use another skin, read the readme file in fonts!
################################################## ##############
#
# w.i.p: work in process and future features:
# - make a audio stream choosing, like ac3, ger, eng...
# - create epg view for that channel
# - show doing process [where what]
# - implement error detection is something goes wrong
# - better ui menu: like zap, controll, config, info
# - timeschift for recording..
# - fixing bugs....
# - and more features;)
#
################################################## ###############
version history dreambox-tv
v0.32: released !! [testet on dreambox img: <=1.07.4 and >=1.08 ]
add.- fonts folder, read the readme in the folder!!!
add.- changed the text color to red on lcd, osd, scr shots display
add.- some ui tweaks
add.- background, button focus, buttonnofocus images [thx project mayem]
add.- fixed imges in img folder insted of using the skin images
add.- fixed channel list was shown without spaces
add.- fixed bouquet list was shown without spaces
add.- record icon during recording!
add.- new images folder
v0.31:
add.- ask to play the recordet file after recording
add.- recording done message
add.- recording goes on after exit dreambox-tv
add.- recording enter how much mbytes should i record
add.- recording function write by fixed mbytes
v0.30:
add.- on start make also lcdshot and screen shot for the cur channel
add.- connecting progress on starting, try to connecting to dreambox 4x time
add.- cleanup dreambox-tv files on exit!
add.- tmp_folder: warning! do not change this folder! if you use root all files will be deletet!
add.- cleaup: remove all temp files and create new temp..
add.- set version between 1.07 and 1.08 hope this will fix some problems
add.- global message language
add.- add encode strings to utf-8 [for all settings]
add.- show current channle on start up, instead show bouquet thx goes to "bulldog64"
v0.29:
add.- global command settings to be compatible in future!
add.- cahnged the ui for scrennshot display!
add.- changed the vapid detection! thx goes to "bulldog64"
add.- removed the dialogs on screenshot...
add.- on zap also show in background the current screen shot!
v0.28: released!
add.- some ui tweaks..
add.- lcd view during zap;)!
add.- lcd-shot on ui
add.- all temp files now and must be in \temp
add.- new folder in dreambox-tv root temp!!
add.- base config.ini [but w.i.p]
v0.27:
add.- set name for each recordet file tdate!
add.- start recording choose yesno
add.- show error is vapid not avaiblible on the current chnl
add.- ask yn if you want to exit on [back!]
v0.26:
add.- switch from channel back to bouquets <>
add.- dreambox controll: onscreendisplay [osdp] shot and show the picture
add.- create dreambox controll: lcd display shot and show the picture
add.- record to hdd [current with python, only for testing! but i will implement this
function directly into xbmc, so it will be then easy to start and stop the
recording during view! it will also possible to stream another channel and
record another one! if they im the same network.]
v0.25:
add.- dreambox controll: standby
add.- dreambox controll: wakeup
add.- dreambox controll: screenshot and show the picture
add.- zapto the channel
add.- receive all channels and bouquets
add.- analyse an create the channel list..
v0.24:
add.- created ui
v0.1x:
add.- connect and get the current stream
add.- initial release
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot015.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot000.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot004.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot005.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot007.gif
http://xboxconfig.de/public/xbmc/dreambox-tv/release/screenshot012.gif
regards
geminiserver!
wasistwas
2004-07-28, 23:28
hi,
i tried the verion 0.32 now, but it still wonīt work...
sometimes the stream works, but just sometimes and all the other things never wok...
here is my log file:
05-12-8907 19:49:59 -->python initialized<--
05-12-8907 19:50:00
05-12-8907 19:50:01 cleaning dreambox-tv enviroment!
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\dreambox-tv.html
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\tmp_chnbq.txt
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\tmp_chnrf.txt
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\tmp_bouquetsbq.txt
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\tmp_bouquetsrf.txt
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\lcdshot.png
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\screenshot.bmp
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\osdshot.png
05-12-8907 19:50:01
05-12-8907 19:50:01 removed
05-12-8907 19:50:01
05-12-8907 19:50:01 q:\scripts\dreambox-tv\temp\
05-12-8907 19:50:01
05-12-8907 19:50:01 connecting to dreambox.....
05-12-8907 19:50:01
05-12-8907 19:50:01 reading source from dreambox!
05-12-8907 19:50:01
05-12-8907 19:50:01 writing source to local temp
05-12-8907 19:50:01
05-12-8907 19:50:01 writing temp done.
05-12-8907 19:50:01
05-12-8907 19:50:01 starting dreambox-tv ui!
05-12-8907 19:50:01
05-12-8907 19:50:35 1. connecting to get vpid & apid
05-12-8907 19:50:35
05-12-8907 19:50:35 2.got the vpid:6e
05-12-8907 19:50:35
05-12-8907 19:50:35 3.got the apid:78
05-12-8907 19:50:35
05-12-8907 19:50:35 4.created the play string
-->http://xxxx:xxxxxx@192.168.x.xx:31339/6e,78
ok! then lets try to stream!
05-12-8907 19:50:35
05-12-8907 19:50:35 mplayer play:http://http://xxxx:xxxxxx@192.168.x.xx:31339/6e,78 cachesize:4096
05-12-8907 19:50:35 flipping bi-directional subtitles disabled
05-12-8907 19:50:36 stating file q:\mplayer\http://xxxx:xxxxxx@192.168.x.xx:31339/6e,78.conf
05-12-8907 19:50:36 stating file q:\mplayer\http://xxxx:xxxxxx@192.168.x.xx:31339/6e,78.conf
05-12-8907 19:50:42 detected video. cachesize is now 8192, (was 4096)
@bulldog64
please, would you give us a new version for 108.
thx and best regards
craxx;)
GeminiServer
2004-07-29, 00:23
@craxx
dreambox-tv v0.32 works also with the 1.08!
you need to set the dreamboximg to 1
look in dreambox-tv v0.32.py
################################################## ################
# set here 0 or 1 --> 0 is for <=1.07.4 and 1 is for >= 1.08
dreamboximg = '0'
################################################## ################
egards
geminiserver
GeminiServer
2004-07-29, 00:32
@wasistwas
did you edit the logfile ? xxxx ? if you enter xxxx instead of the normal ip it won't work!
but if you just edit the log to prevent view your ip lol...
it seems that you are the one who's image not stable enought.. the script work perfect.. and it creates a play string.. and normly it should work!
regards
geminiserver
kaisersose
2004-07-29, 00:49
workin fine here, great work geminiserver........do u know anything about gettin 4-2-2 feeds working?
GeminiServer
2004-07-29, 00:53
@kaisersose
what did you mean with gettin 4-2-2 feeds working?
kaisersose
2004-07-29, 03:41
q. what does 4:2:2 mean ?
a. 4:2:2 is a video chroma format used by broadcasters for the best quality picture. normal transmissions are in 4:2:0. to view the 4:2:2 transmissions normally you would need a professional receiver costing thousands of pounds but with the advent of pci cards like the skystar 2 it is now possible to view these feeds for less than 65euro. all you need is a skystar 2 pci card for your pc , a dish connected to the card and pointed to the correct satellite and the software progdvb.exe which is available free from www.progdvb.com. it is also possible to view 4:2:2 using a nokia 9xxx series receiver connected to a pc via a scsi cable and running the software program dvbrecorder.
i took that off a soccer feed site. anyways i read that ppl can watch 4:2:2 feeds on there pc when to stream there dreambox to the pc, i've never done it myself but u probably know that program. i dont know what the pc does that the dreambox cant but whatever it is, it would cool to get it workin on the xbox.
just searched a bit in google, and i found these quotes from sat-industry:
first of all mpeg 4:2:2 isn't mpeg-4 but it's still mpeg-2 and 4:2:2 is a chroma format (4:2:0 is chroma format used for most dvb channels "visible" on actual commercial boxes)
live fullscreen vieweing of 4:2:2 comming out form dreambox is possible only on pc for today with dreamtv + tuxvision + trex <- all must be installed in system but on my machine ath2000xp cpu usage while decoding is very high 90-100% and picture is breaking badly propably because high bitrate of 4:2:2 transmissions (around 10mbit)
the 4.2.2 is supported first time in 1.07.4 firmware. it is not ideal. we see 1/3 of the screen and the rest in errors , but it is first step in dream's firmware. :)
i actually noticed that(the last quote) the other day, so hopefully the dreambox will do it itself then.
wasistwas
2004-07-29, 11:14
@wasistwas
did you edit the logfile ? xxxx ? if you enter xxxx instead of the normal ip it won't work!
but if you just edit the log to prevent view your ip lol...
it seems that you are the one who's image not stable enought.. the script work perfect.. and it creates a play string.. and normly it should work!
regards
geminiserver
the xxxxxes are not in the log file. i just donīt want to show everyone my passwords + my ips
@geminiserver
thx - i oversee !!!;)
best regards
craxx;)
Hullebulle
2004-07-30, 03:28
since this is 100% python related atm i gonna move it to the pythn forum. if there will be any progress in adding this feature to xbmcs core we can create another thread here. :)
GeminiServer
2004-07-30, 04:03
:cool:
but change the header to:
dreambox-tv & dbox2-tv controll interface
stream & record vpid and apid!
regards
geminiserver
Hullebulle
2004-07-30, 04:16
:cool:
but change the header to:
dreambox-tv & dbox2-tv controll interface
stream & record vpid and apid!
regards
geminiserver
done :)
Rivendel
2004-07-30, 21:16
hello,
first of all i have to say:
:thumbsup: :thumbsup: :thumbsup: :thumbsup:
version 0.32 ist working nearly perfect with my dreambox. but sometimes streaming is not working, stream gets bufferd and mediaplayer is launching and exiting without showing a picture. trying 2-4 times and it works, looks to me that the player is not syncronizing sometimes. could even be a dreamcast-image (hydra 1.08 final) problem.
thanks for that great work.
rivendel
DOMin8or
2004-07-31, 00:56
@gemini
please add a simple routine the will detect byself what
baseimage in the receiver is working.
use a simple command what exists in 1.07 or 1.08 only and gives positive answer and in the other an error.
after that you can set the var dreamboximg to 0 or 1 full automatic.
dom
GeminiServer
2004-07-31, 01:16
@rivendel
well the problem is that xbmc need more to detect the stream.. set the internet video cache to: 8192 or more..
also there are some problem with some channels.. don't know the problem..
@domin8or
the problem is that there to much images with own versions.. also the version is different from the normal 'version'.. so the best way is to set it manual..
all features are in dev state.. so.. time [i mean spare time] ;)
regards
geminiserver
is it possible to keep the password on in the dreambox?
it would be better when you share the network with others, so not everyone can login.
i want to keep it on for safety :pirate:
thx
any ideas why i cant see the buttons on the left side (for stream now etc). i can still use them but cannot see which one is focused at them moment).
otherwise works excellent. thx.
any good skins available with direct link to the script from the homepage ??
i have same problem as jjun.
what we can do??
best regards
craxx;)
GeminiServer
2004-08-03, 02:11
@jjun and @craxx
the problem ist that the image folder [i mean from dreambox-tv] should or must be in the folder q:\scripts\dreambox-tv\images\*.*
then the focus an nonfocu button will be shown correctly..
check that..
regards
geminiserver
yeeeeees,
now it works.
is it possible to stream without the question stream or not??
best regards
craxx;)
hi cracks, i love this mod but what about the developement for the dbox? i own no db so iīm very exited to get the skript for d2 :nod:
@pathetic
maybe you got something for d2-users :bowdown:
yeeeeees,
now it works.
is it possible to stream without the question stream or not??
best regards
craxx;)
yes it is possible. just delete rule 528
if messageyn(msg_stream) == 'yes':
btw little texterror in rule 539
tv screeshot! taken from dreambox
has to be screenshot *:thumbsup:
but it's a great program
super works without question!!!
@gemini
is it possible that streaming automatic starts after taking one channel?
so zapping would be faster and more comfort !!
best regards
craxx;)
GeminiServer
2004-08-06, 12:28
@craxx
i plan to implement settings, so it will be also possible to direckt stream on selectin the channel
@all please post you experience and wishes
regards
geminiserver
current dev state: !!! not released !!!
v0.36:
add.-
add.- dreambox-tv settings window [no settings yet]
add.- add. epg view
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   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!!
@geminiserver
that would be very nice. thank you!!!
hopefully for the next public version.
if you want i could be a beta tester;)
best regards
craxx;)
bobrooney_78
2004-08-06, 17:02
hi cracks, i love this mod but what about the developement for the dbox? i own no db so iīm very exited to get the skript for d2 * :nod: *
@pathetic
maybe you got something for d2-users *:bowdown:
try cally's script (http://people.freenet.de/cally.net/db2_py.zip), pictures are here (http://people.freenet.de/cally.net/pics.htm)
thx a lot :bowdown: :kickass:
oh also a very nice and powerfull script. good to configure.
but only zapping is also not possible.
after every channel change you have to push the stream button.
best regards
craxx
hi first off thank's to the makers of this nice product.
i got into some problems off corse trying the latest ver of dreambox-tv 0.32 got logon problem and that was becaus of a poisxpath module that did not load :) then i went for the 0.28 ver. and all went fine so i figuerd it had to be my python that was f))#? up, and what do ya know it was :nuts:
but now it's :fixed:
i had the latest ver. of xbmc 10.07 installed, but that vas only an update via avalaunche v0.49.1 so i did not get the latest ver. of python so for all you who still have truble getting this to work.. hers a litle guide lol (corect me if i'm wrong)
1. check to see if you have the latest xbmc |settings|system info 1.0.0
2. check inn the xbmc folder that you have the right python * ver in xbmc|python katalog on your xbox look for a file called python23.zlib. then you should have the right python installed.
3. put the dreambox-tv 0.32 application into the xbmc|scripts katalog and edit the dreambox-tv v0.32.py file and enter the ip for your xbox and logon name pluss password, and remember to but 1 or 0 in the img choise if you have 1.08 image *choose 1 and for pre image choos 0
now run the app worked like a charm for me :lol: (i'm using rudedream 1.08) and i did hydra as well. realy should work on all img.
hope this helped some if not keep pounding and searching *:joker:
hi all , back from vacation :kickass:
but the interface is still not streaming. everything is configured well.
any help would be greatful.... :bowdown: :bowdown: :bowdown:
DOMin8or
2004-08-13, 03:31
:nuts:
i have testet many possibilitys, but it does not work
with original 1.08 without user auth
:(
callys script is working well also with neutrino.
but with enigma i canīt see the channel names...? why?
best regards
craxx;)
ps: geminiserver whats about new versions for testing;)
@geminiserver
please, if it is possible make your versions like 0.28 so we can choose the skin we want. because 0.32 works only right with the project mayhem. but i like a mod. of mediacenter.
best regards
craxx;)
can someone tell what version they are using for streaming. i use a cvs build and a 1.0.0 version and still no stream.
i can take a snapshot of the lcd and that is about all i can do.
sorry, also can swap channels but that it's it.
thx :nuts:
can someone tell what version they are using for streaming. i use a cvs build and a 1.0.0 version and still no stream.
i can take a snapshot of the lcd and that is about all i can do.
sorry, also can swap channels but that it's it.
thx :nuts:
i use the 0.32 version
hi, i use version 0.32 too, but i ment the version of xbmc........
:cool:
at this moment i use the 18-08 version but before this i used the 01-08 and both worked
at this moment i use the 18-08 version but before this i used the 01-08 and both worked
ok thx, i'll download thid version now and give it a try. :bowdown:
ok i got good news for all the poepels who got a dbox2 it is now possible to stream without any problems it works 100%
you need only a image for your dbox2 who supports
pcr-pid/v-pid/a-pid
you can find the image by www.ump2002.net
look for ( rudbox2.neutrino_0817.zip )
rudbox2.neutrino_0817.zip (http://www.ump2002.net/images20/files/dbox2-neutrino-enigma/rudbox2.neutrino_0817.zip)
use this script for your xbox and it will work 100%
..:: dbox2.py - enigma / neutrino (http://people.freenet.de/cally.net/db2_py.zip)
dragonforce99
2004-08-21, 16:13
ok i got good news for all the poepels who got a dbox2 it is now possible to stream without any problems it works 100%
you need only a image for your dbox2 who supports
pcr-pid/v-pid/a-pid
you can find the image by www.ump2002.net
look for ( rudbox2.neutrino_0817.zip )
rudbox2.neutrino_0817.zip (http://www.ump2002.net/images20/files/dbox2-neutrino-enigma/rudbox2.neutrino_0817.zip)
use this script for your xbox and it will work 100%
..:: dbox2.py - enigma / neutrino (http://people.freenet.de/cally.net/db2_py.zip)
hi there,
installed the dbox2 & xbox files/scripts. i almost there to get it working. however, when i click on any channel i get the connected to server but the cache fill stays at 0.00% ?!?
what did i miss or what am i doing wrong - please help - i want this baby to work...
best regards
got it working now. had to update my xbmc, i haven't been updating for quite some time. now i am running 1.0 htb and it seems to be working, however the cache is filling very very slow at the moment.
as i am writing this it went from 6.5 to 18.75% in about 30 seconds, now it says demux open, audio_id:-1, video_id: -1, su... probing up to 2000000, prog 0
then it hangs. tried it with pro sieben, sat1 and also vox ( german channels ) but no success, it always hangs at the demux thingy...
what is your xmbc log saying maybe then i can help you
:idea:
the script (streaming & recording) is working perfect
but the only problem i got is i can't watch the ts files on my pc, i tryed to convert them to mpg with alot of converter tools even hdtvtompeg2src_v107 but it didn't work
can't convert them.
so my question is how can i watch the ts files on my pc,
is there any program or converter tool that works for 100%
if yes what is there names?
:help:
GeminiServer
2004-08-24, 15:06
just visit http://www.offeryn.com/ to get the latest:
pvastrumento 2.1.0.8
this one is also designed to convert dreambox/dbox2 ts file into mpeg.
quick download link:
http://www.dvbmagic.de/download/pvas/pvas2108h.zip
regards
geminiserver
pathetic
2004-08-25, 01:03
long time no see :d
but i see cally made some nice little work for dbox2 so
i guess nobody miss me :lol:
i'm coming back to develop further after my holidays in mid sep.
@geminiserver: great to see all the progress ...
c ya
heckenbichler
2004-08-25, 01:06
hi, i've installed the script (db2.py) successfully on a dbox2 and my xbox and i've still recorded some minutes. but i've 2 problems:
1.) if i click on the option "einstellungen" the script hangs. i've tried several images of the dbox2 and 2 different xbmc. but the script is still on.
2.) if i'm recording the stream gets more and more slowly after about 700 mb and after some time it breaks completely.
can anybody help me, to solve my problems?
mfg
robert
hi, when i run the script it just says (running) for 1 sec, then gone, nothing happends, any clue what might be wrong?
i have inserted the right ip and firmversion (1.08) , running on xbmc 18/08.
got it working, installed xbmc1.0 htb version instead, workin great!
DOMin8or
2004-08-29, 14:56
hi gemini,
no update? in your config file i can see version 0.36 and above.
is this now a non publik project?
dirk
GeminiServer
2004-08-29, 21:33
:cool:
GeminiServer
2004-08-29, 21:34
hi!
here is the next release!!! ;)
<span style='color:red'><span style='font-size:17pt;line-height:100%'>dreambox-tv v0.38</span></span>
download and more screenshots here:
www.xboxconfig.de (http://www.xboxconfig.de)
- it is testet with my image ;)! but its beta and make you own experience with it!
[best viewed with: project_mayhem skin !!!] [if you use another skin check the fonts folder in this release!!!!]
there is also the python pack includet use that one istead that from cvs!
regards
geminiserver
version history dreambox-tv:
v0.38: released!
add.