My Dreambox Plugin (3 Viewers)

GaryW

Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    I know there are already some topics from people who planned to start a project on building an MP plugin for the Dreambox. No response has been given to my attempt to get in touch with those people.

    So, I want to create a plugin to watch the Dreambox stream.
    The Plugin will be build on 3 tiers:

    • Gui (MP Windows Plugin)
    • Dreambox wrapper class (all actions will be done here)
    • Logic class (communication between wrapper class and GUI)

    Functionality:

    • Choosing Bouquets
    • Choosing Channels
    • Zapping Channels (radio or tv)
    • EPG
    • Timers
    • Stream files (.ts known as tv recordings)

    At this moment all the logic is built in a Win.Forms app and when finished for the first release will be hooked into the plugin.

    Anyone who wants to join this project, plz. drop me a line or add me to your MSN list.

    Greetz,

    Gary
     

    zag2me

    Portal Pro
    April 11, 2006
    216
    68
    Home Country
    England England
    Look forward to it, personally I have a dbox2 so im not sure if it will work, but we will have to see :) Currenlty I stream to VLC, or record direct to a hdd mount.
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    BoxInfo Class

    Created BoxInfo Class

    has properties with the following data from the Dreambox:

    <!-- variables set by box -->
    updateCycleTime = 10000
    <!-- power state -->
    standby = 0
    <!-- service & epg data -->
    serviceName = "NED2"
    nowT = "10:45"
    nowD = "(20)"
    nowSt = "Scheikunde"
    nextT = "11:05"
    nextD = "(55)"
    nextSt = "Max & Catherine"
    <!-- status bar -->
    diskGB = "193.47 GB"
    diskH = "~100 h, 03 min"
    apid = "0x5c"
    vpid = "0x206"
    ip = "192.168.2.128"
    lock = "locked"
    upTime = "14:22 h up"
    <!-- volume bar -->
    volume = 35
    mute = 0
    <!-- channel stats -->
    dolby = 0
    crypt = 1
    format = 0
    <!-- recording -->
    recording = 0
    <!-- vlc streaming -->
    vlcparms = "http://192.168.2.128:31339/0,03f4,0206,005c,1ffe"
    serviceReference = "1:0:1:fac:451:35:c00000:0:0:0:"
    videoTime = "0:00"
    videoPosition = 0
    <!-- stream info -->
    agc = 92
    snr = 72
    ber = 567
    <!-- streaming client status -->
    streamingClientStatus = 2147463344
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    RemoteControl class

    Created RemoteControl class

    All remote control actions can be send to the box

    --------------------------------------
    Taste:Zahlencode Power:166

    (1): 2 (2): 3 (3): 4
    (4): 5 (5): 6 (6): 7
    (7): 8 (8): 9 (9): 10
    (<):412 (0):11 (>):407

    up:115 mute:113 up:402
    volume EXIT:1 bouquet
    down:114 down:403

    INFO :358 up :103 MENU :141
    left :105 OK :352 right:106
    AUDIO:392 down:108 VIDEO:393

    ROT:398 GRÜN :399 GELB:400 BLAU:401
    << :168 > :207 || :119 >> :208

    TV :385 RADIO:377 TEXT: 66 HELP:138
    # :128 O :167 [=] [ ]
    --------------------------------------


    ROT 398: EPG = 168: rewind
    GRÜN 399: Angle-Select = 207: play
    GELB 400: Audio-Select = 119: pause
    BLAU 401: Plungins = 208: forward
    Schw 385: Radio-Mode = 128: stop
    Schw 377: TV-Mode = 167: record
     

    Gamester17

    Portal Pro
    May 12, 2004
    98
    3
    Sweden
    Home Country
    Sweden Sweden
    I like to reply here with the same questions as I posted in this other Dreambox plug-in thread if that's ok:
    https://forum.team-mediaportal.com/showthread.php?t=9855


    I suggest that you checkout a Python script for XBMC called "DreamboxTV" which is used to stream live-TV from Dreambox (and Nokia Dbox2), it supports changing channels (and more), maybe you can get some ideas from looking at that scripts 'code'(?), (just make sure you have the latest image/firmware on your Dreambox first):
    Download the script here: http://www.xbmcscripts.com/modules/...ch_mode=phrase&search_phrase=DreamboxTV v0.39
    More information on the script here: http://www.xboxmediacenter.com/forum/showthread.php?t=4952

    Unrelated to the above XBMC python script referal; You might also want to checkout the "enigma" source code in the http://cvs.tuxbox.org project (/tuxbox/apps/tuxbox/enigma/src/), it too supports streaming live-TV from all Dreambox models and changing the channel, plus listing and browsing of recorded files and more. That code in in C++ but it is for Linux, however again you might be able to just figure out the changing channel part from the code itself?

    By the way, could your 'device driver' for the Dreambox virtual tuner card maybe be made support the BDA standard, so you could possible also make it so that one can use it in other HTPC programs (such as Microsoft Windows XP Media Center Edition, etc.) like a stand-alone "device driver" for Windows?, ...or will it only be a specific plugin for MediaPortal?

    Also, what programming-language are you coding your plugins in? and are you planning on making it open source so others can help (and the project don't get abandonded if you ever quit)?

    Best of luck!

    PS! I don't have a Dreambox myself either but I also plan on buying one in the near future.
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    @ Gamester17

    I know about all the python scripts also the source of enigma. Before going too deep into this code and spending valuable time on figuring out how it works I have a better solution :p
    ZipperZip provided code for an external player for MP, this code is draft and needs to be finalized. This means, the great Video Lan software can then run in MP.
    That is one of the main parts of the Dreambox plugin if you want to get the stream (tv, radio and video recordings).
    I even think about having the three parts seperated from eachother which means, there will be like 3 plugins: one for tv, one for radio and one for the recordings allthough in the dreambox all is connected, so maybe I won't do that :confused: :D

    Second, Enigma has an open interface, so, I can change channels etc.
    Click here for a screenshot
     

    Malu82

    New Member
    October 3, 2006
    1
    0
    Home Country
    porting

    Hello

    I have a quick question, do yo think that this script will be able to work for relook users allso? (i just sold my dm725, and got a relook 400s insted. And dont think they are very differen when it software, but dont know.)
     

    Users who are viewing this thread

    Top Bottom