• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 16
Dreambox-TV & Dbox2-TV Control Interface
#31
the values you get are dezimal you need them in hex value
dez:hex
105:69
106:6a
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
Reply
#32
Question 
(geminiserver @ july 14 2004,17:59 Wrote:@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 Wink
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
#33
@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
Reply
#34
@kaisersose

i will post some faq on the 1st site!


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
Reply
#35
@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:
# [url=http://192.168.1.4/cgi-bin/setaudio?audio="+audiopid]http://192.168.1.4/cgi-bin/setaudio?audio="+audiopid[/url]
#
# 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
Reply
#36
: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
Reply
#37
@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 ... ?
Reply
#38
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

Quote: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 = 'Huh'
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
Reply
#39
(pathetic @ july 16 2004,01:21 Wrote:this is a very simple script for the dbox2 with neutrino
great! i think my dbox2 now has to go neutrino...
Reply
#40
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 Sad ) maybe th xbmc lib needs an addition to record a stream
Reply
#41
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 ...
Reply
#42
look at this ... http://www.citi.umich.edu/projects/nfsv4/pynfs/

any idea if this work on the xbox?
Reply
#43
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
Image
Reply
#44
sorry ... wrong language :-)
is there an download to test the script?
Reply
#45
i'm currently finetuning the bouquet selection,
maybe in the next few days. streaming works good, recording is only for testing
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 16

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