Dreambox plugin dev (1 Viewer)

moullas

Portal Pro
January 15, 2005
103
0
Home Country
Cyprus Cyprus
Ok... i'm not a .net programmer but i think i figured some of the logic...

First of all.. the Dreambox Bouquets are stored in /var/tuxbox/config/enigma/

with a .tv extention (for TV) and .radio
a sample of my Movies bouquet is
Code:
#NAME Movies
#SERVICE: 1:0:1:13d:157c:13e:820000:0:0:0:
#SERVICE: 1:0:1:1d53:2f44:13e:820000:0:0:0:
#SERVICE: 1:0:1:1bc2:17d4:13e:820000:0:0:0:
#SERVICE: 1:0:1:1d51:2f44:13e:820000:0:0:0:
#SERVICE: 1:0:1:162:1c84:13e:820000:0:0:0:
#SERVICE: 1:0:1:516:3db8:b0:820000:0:0:0:
#SERVICE: 1:0:1:517:3db8:b0:820000:0:0:0:
#SERVICE: 1:0:1:518:3db8:b0:820000:0:0:0:

Match that with the services file, located also there, and you can get the Channel name that corresponds to the thing in the .tv file.

This can be automated by getting the necessary files via FTP from the dreambox, and parsing let's say only the user bouquets for a tidy channel list. (default user/pass on any dbox is root/dreambox)

After doing that, we'll need to figure out a way to automate channel changing.

A quick and dirty approach i can think of right now is simulate the Web interface button presses.
That is found on http://DreamboxIP/showRemoteControl

A show source and some basic javascript skills can show how to simulate the button presses programmatically

Hope i've helped somewhat anyone that may develop the dbox plugin...
Hope i'll find some other way to remote control :)
 

tkortell

Portal Pro
April 13, 2005
320
0
44
Vaasa / Sulva
Home Country
Finland Finland
Ok, some good news. I've implemented a Dreambox virtual tuner card. Got the dreambox live feed playing in the TVplugin window. Works pretty well. Timeshifting works too. Still got to do the change channel and iron out a few issues as you can probably imagine. Keep you posted.

Hi knoop,
Would it be posible to get an update on the progress? Have you been in contact with Frodo about the new TV engine or maybe you are focusing on getting the dreambox plugin to work with the 2.0 version of MP at this time?

I dont intend to preasure you or something, just take your time and code when you feel like it ;) cause I don't know how ;)

Regards / Tomas
 

Gamester17

Portal Pro
May 12, 2004
98
3
Sweden
Home Country
Sweden Sweden
knoop, suggest you checkout the Python script for XBMC called "DreamboxTV" which is used to stream live-TV from Dreambox (and Nokia Dbox2), it supports changing channels, maybe you can figure out how to do it from the scripts 'code'(?), (just make sure you have the latest image/firmware on your Dreambox first):
Download the scrip 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

You might also want to checkout the "enigma" source code in the http://cvs.tuxbox.org project (/tuxbox/apps/tuxbox/enigma/src/), it also supports streaming live-TV from all Dreambox models and changing the channel. 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, will your device driver for the Dreambox virtual tuner card support the BDA standard, so you can also use it in other HTPC programs (such as Microsoft Windows XP Media Center Edition, etc.)? and is it a specific plugin for MediaPortal or will it be a stand-alone "device driver" for Windows?

PS! What programming-language are you coding your plugin in? and are you planning on making it open source?

Best of luck!
 

GaryW

Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    I have installed the script on xbox, but, it does not show anything. Before this I had the 7000 version, now I have Derambox 7020 running the latest enigma.
    Is there a running project now about developing a c# plugin? If not I suggest starting one, if there is, I would like to join.
     

    Gamester17

    Portal Pro
    May 12, 2004
    98
    3
    Sweden
    Home Country
    Sweden Sweden
    GaryW, me commeting the "DreamboxTV" script for XBMC (Xbox) and "enigma" for the Dreambox doesn't make them related, I never said so and they are not related to each other at all (the "DreamboxTV" script for XBMC uses SMB/SAMBA for streaming). I only suggested that knoop as a developer should checkout both to learn from them and maybe take the best ideas/concepts from both and use that in a C# (or C++) plugin for MediaPortal (and other HTPC applications).
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    Cool!
    I work as a .NET consultant and looking for an opportunity to do some fun projects. Do you know wher I can find the current TV plugin which can be used in the MP to get the ts stream from the dreambox?
    I am referring to this thread (post from mPod)
     

    GaryW

    Retired Team Member
  • Premium Supporter
  • September 26, 2006
    46
    0
    Houten (Utrecht)
    Home Country
    Netherlands Netherlands
    Any idea when?
    If it is a framework of some kind I still need to develop the entire "handling" of dreambox commands, interfaces, events and shit. Because I want to provide just more than "only zapping". I want to give the user the opportunity to use allmost every functionality from the dreambox.
    Timers, zapping, streaming the recorded files, epg etc
     

    tkortell

    Portal Pro
    April 13, 2005
    320
    0
    44
    Vaasa / Sulva
    Home Country
    Finland Finland
    If you need details about the upcomeing TV engine to be able to make a plugin or something I sugest you try to get in touche with Frodo. He is the develouper working on the new TV engine. It might be hard to get in contact with him but it's worth a try cause he will probably have the answere to all your questions. Best way to find him is probably on the IRC channel I gues.

    Good luck ;) / Tomas
     

    pt-1

    New Member
    November 6, 2006
    3
    0
    London UK
    Home Country
    Germany Germany
    The Dbox uses http to change channels etc.

    There is a XBox Plugin to control the Dbox with Neutrino and also change channels and watch Live TV (The TV is streamed via the Lan)

    http://home.arcor.de/pt-1/xbox/DboxTVViewer_040c.rar

    Above is the Xbox Plugin

    and here are the commands that you can send to the Dbox

    Always replace /dbox with the IP of your Dbox

    1. The Channel List
    http://dbox/control/channellist
    2. EPG-Check
    http://dbox/control/epg
    3. Shut down Dbox
    http://dbox/control/shutdown
    4. Standby Mode
    http://dbox/control/standby
    5. Volume Control
    http://dbox/control/volume
    6. Change Channel/Playback
    http://dbox/control/zapto
    7. Radio/TV, Record Mode
    http://dbox/control/setmode
    8. Check Radio/TV Mode
    http://dbox/control/getmode
    9. Check Date from Dbox
    http://dbox/control/getdate
    10. Check Time from Dbox
    http://dbox/control/gettime
    11. Misc. Informations
    http://dbox/control/info
    12. Check actal Channel
    http://dbox/control/getonidsid
    13. read services.xml
    http://dbox/control/getservicesxml
    14. read bouquets.xml
    http://dbox/control/getbouquetsxml
    15. Check Bouquet list
    http://dbox/control/getbouquets
    16. Check single Bouquet
    http://dbox/control/getbouquet
    17.Message Box on TV Screen
    http://dbox/control/message
    18. Timerd Interface
    http://dbox/control/timer
    19. LCD-Interace
    http://dbox/control/lcd
    20. start Shellscript
    http://dbox/cgi-bin/exec
    21. System-/Driverfunctions
    http://dbox/control/system
    22. Remote Control
    http://dbox/control/rc
    23. Restart Dbox
    http://dbox/control/reboot
    24. Read Settings
    http://dbox/control/settings
    25. Check /.versions-File
    http://dbox/control/version
    26. Start Plugin
    http://dbox/control/startplugin
    27. Support for yweb
    http://dbox/control/yweb
    28. check Aspektratio lesen
    http://dbox/control/aspectratio
    29. read/set Videoformat
    http://dbox/control/videoformat
    30. read/set Videooutput
    http://dbox/control/videooutput
    31. read/set VCR-output
    http://dbox/control/vcroutput
    32. read/set Scartmode
    http://dbox/control/scartmode
    33. Emulate Remote control
    http://dbox/control/rcem

    I would love to see something like this as GBPvr already has a Dbox Plugin

    http://gbpvr.com/pmwiki/pmwiki.php/Plugin/DboxRecorder
     

    Users who are viewing this thread

    Top Bottom