Beiträge von vxdandy

    (Sorry for cross-posting - I think this thread should be in here)


    I have a request for changing the subtitling process on ‘live’ TV programmes, when viewed on a DM7025.


    When subtitles are displayed on a ‘live’ TV programme, they are difficult to read. This is because each word is displayed individually, so the flash on and off screen very quickly, sometimes displaying for only a fraction of a second – too fast to read!


    When subtitles are displayed on a pre-recorded TV programme they are stable, easy to read. No problems there, all very good.


    Ideally, the subtitle 'words' should be added to the screen in an accumulative way - like a tele-printer effect – so you see the sentence constructing on the TV screen.


    Conventional TV sets (and other set-top boxes) use this method to subtitle ‘live’ TV programmes. It is much easier to read because the subtitles stay on the screen for longer.


    I’ve had a look through the Python E2 code to see if there was anything I could patch to address this problem, but the functionality seems to be at a lower level. So I guess this is an issue for changes at the Linux firmware level. Can anyone help?


    Thanks,
    Andrew.

    I have a request for changing the subtitling process on ‘live’ TV programmes, when viewed on a DM7025.


    When subtitles are displayed on a ‘live’ TV programme, they are difficult to read. This is because each word is displayed individually, so the flash on and off screen very quickly, sometimes displaying for only a fraction of a second – too fast to read!


    When subtitles are displayed on a pre-recorded TV programme they are stable, easy to read. No problems there, all very good.


    Ideally, the subtitle 'words' should be added to the screen in an accumulative way - like a tele-printer effect – so you see the sentence constructing on the TV screen.


    Conventional TV sets (and other set-top boxes) use this method to subtitle ‘live’ TV programmes. It is much easier to read because the subtitles stay on the screen for longer.


    I’ve had a look through the Python E2 code to see if there was anything I could patch to address this problem, but the functionality seems to be at a lower level. So I guess this is an issue for changes at the Linux firmware level. Can anyone help?


    Thanks,
    Andrew.

    Please provide some information about the hard- and software used.


    Box type: 7025+
    GUI (enigma1/enigma2): E2
    Firmware version: Oozoon dev-2008-06-07


    your question


    Hello,


    I am having problems receiving Teletext on my DM7025 with a terrestrial tuner (UK Freeview). Pressing 'text' button on my remote control results in no display of teletext. I am definately tuned to channels that have a teletext service.


    When checking the channels PIDs, the TXTPID is always N/A. This seems to be the same for all channels.


    If I run tuxtxt from telnet, it asks for a vtpid. Not sure what parameter this is. Tried putting in the VideoPID. It brings up the tuxtxt interface (page number bars) but no decoded teletext.


    Can anybody hep?


    Regards,
    Andrew.

    Box type: DM7025+
    GUI (enigma1/enigma2): Enigma2
    Firmware version: Oozoon 07.06.2008


    your question
    Hello,


    I am using the Config to save non-volatile data. However, I need to know when the Config has saved the data before I commit to a GUI re-boot.


    In practice, after calling the Config's <data name>.save() function, the data is not always saved immediately after the call. So when a re-boot occurs the data changes are lost.


    I know there are other functions in the Config class, but not sure how to use them for checking the status of saved data.


    Any help will be useful,
    Andrew.

    Hello,


    Can somebody help me with a query on Config and Lists.


    I wish to store and maintain a List array of text strings in the Config, but cannot find a decent programming example on how this is achieved.


    Regards,
    Andrew.

    Box type: DM7025
    GUI (enigma1/enigma2): Enigma2
    Firmware version: Oozoon 20080607


    Hello,


    I have a problem relating to the DMM keyboard, or possibly the Enigma2 OS. The number '5' on the keyboard seems to work only for certain operations.


    When the '5' key is pressed in response to any 'list option' dialog window it works OK. However, when it is used in a dialog window that takes an alphanumeric input entry, the key fails. Nothing is inputted.


    The keyboard hardware seems to be working correctly. I think that the problem is more likely a software issue.


    The failure occurs when working with the ActionMap function, as no response call (ie. self.keyNumberGlobal) seems to be generated when the '5' key is pressed.


    The problem occurs everywhere, including system menus, plugins and anywhere else that uses keyboard for alphanumeric input.


    Moreover, if the remote control is used to input alphanumeric data, this works OK.


    Has this issue been reported before, or maybe this is my problem?


    Many thanks,
    Andrew.

    Hello,


    I've controlled the RS232 port on a DM7025 using a Python library called PySerial.


    I guess it would probably work on the DM800.


    However, to use PySerial you have to program in Python language and need an understanding of the Dreambox Enigma2 plugin architecture.


    Regards,
    Andrew.

    Hello Reichi,


    Have installed PPrint. Thanks for the guidance.


    Tried to analyse the following objects:


    Code
    fav = eServiceReference('1:7:1:0:0:0:0:0:0:0:(type == 1) || (type == 17) || (type == 195) || (type == 25) FROM BOUQUET "bouquets.tv" ORDER BY bouquet')
    
    
    self["SwitchService"] = ServiceList(fav, command_func = self.zapTo, validate_commands=False)
    
    
    self["ServiceList"] = ServiceList(fav, command_func = self.getServiceList, validate_commands=False)


    My pprint calls (ser_this is my serial port; set depth to 10):

    Code
    pprint(fav, ser_this, 1, 80, 10)
    pprint(self["SwitchService"], ser_this, 1, 80, 10)
    pprint(self["ServiceList"], ser_this, 1, 80, 10)


    Results:

    Code
    fav  = <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x1099a510> >
    
    
    self["ServiceList"] = <Components.Sources.ServiceList.ServiceList object at 0x2d7cb3d0>
    
    
    self["ServiceList"] = <Components.Sources.ServiceList.ServiceList object at 0x2d7cb3f0>


    I've tried varying depth values but with no change to the results. Cannot get it to disassemble the list/tuple structure in more detail :confused_face:


    I've done a sanity test with the following test routine:

    Code
    stuff = sys.path[:]
    stuff.insert(0, stuff[:])
    pprint(stuff, ser_this, 1, 80, 4)


    This prints the system paths OK, So I assume pprint installed & working OK.


    Any help will be appreciated :smiling_face:


    Regards,
    Andrew.

    Hello Reichi,


    Yes, still finding my way around Python. My background is C++.


    My development environment is a bit basic, making it difficult to explore the data structures of E2.


    This is my setup:
    Oozoon img.
    WPython for Windows (I use the IDLE editor to write code)
    DCC for Dreambox control
    Interrogate error logs through the /media/hdd directory (enigma2_crash_xxxxxxxx) when problems.
    Use serial port for passing simple debug messages (PySerial) back to the PC.


    Can you recommend what type of debug enviroment the developer guys are using for writing plugins? There must be a better way :smiling_face:


    Typed "ipkg update && ipkg list|grep pprint" through TelNet to Dreambox. It went through the update process OK.


    I had seen print statements in Python code but unsure where they output to, possibly to a std output or a log file?


    Many thanks again,
    Andrew.

    Hello Reichi,


    Thanks for the reply to my post, and the code example.


    I'm a newbie writing for E2. I've not experimented with the E2 services before so forgive the stupid questions :winking_face:


    The example looks similar to the code used in the webif.py. I've embedded this code into my program, it compiles OK and are getting valid objects for fav, SwitchService and ServiceList.


    fav = <enigma.eServiceReference; proxy of <Swig Object of type 'eServiceReference *' at 0x10788588>
    self["SwitchService"] = <Components.Sources.ServiceList.ServiceList object at 0x2edeb9f0>
    self["ServiceList"] = <Components.Sources.ServiceList.ServiceList object at 0x2edeba10>


    From there I get lost. I guess I have to call the zapTo function with a serviceReference (fav?) to change the channel.


    How do I specify the TV channel in the serviceReference (by channel name, channel number, or by index in a list?)


    Many thanks,
    Andrew.

    Hello,


    I am writing a plugin for the Dreambox DM7025+ (E2), but need some help.


    I wish to change (zap) TV channels, but need a simplied Python way to perform this operation using a single Bouquet (Favourites).


    I have looked at other plugin examples but are finding it difficult to reverse-engineer the functionality of the zap, services, etc, as they work with the EPG which adds complexity :frowning_face:


    Can anyone help with guidance, or preferably an example Python subroutine to achieve this operation?


    Many thanks in advance.


    Regards,
    Andrew.

    Hello,


    I have a number of questions about the RS232 serial port on the DM7025+. If this question has been asked before, then apologies.


    Although I am aware that the serial port is used for image flashing, I wish to use the serial port for remote control of the 7025. I wish to change the channels, volume level, standby, and display info text messages on the TV screen by simple commands over the serial port.


    Questions:


    1. Does the serial port support remote commands? Either by a software plugin or an alternative method?


    2. If the answer is no, then can I modify the OpenEmbedded source code for access to the serial port?


    I have test compiled an image using OpenEmbedded archive, this works OK. My experience with Linux is small, but I am learning quickly.


    3. However, I am not sure what is the best approach my design. Should I write a plugin or modify the OpenEmbedded source code?


    4. In the source code, the only reference I have seen to the serial port (ttys0) is in the PPP interface. Can this be modified for my application?


    Any help will be useful :smiling_face:


    Many thanks,
    Andrew.