Beiträge von Becache

    I'm very confused about the ChannelSelection.py script :confused_face: :confused_face: :confused_face:


    I've updated the zap function to the following so that it writes a text file in temp every time its called. However nothing happens when I change channel though. I've restarted enigma and the box but no difference. What am I doing wrong here... help :loudly_crying_face:



    note the function is properly indented however its not showing it above.

    Hi,


    I cant see this code section in the ChannelSelection.py, where should i find this ?

    Hi,


    First of all thanks the effort.
    Unfortunatelly it is not working, I have run the getrc, pushing the buttons, but no luck.
    I know, it will be a lame question, but how can I recompile it to a DM500 ?
    I have downloaded "Toolchain_powerpc-tuxbox-linux_dm500.tar.bz2" extract it, and I have copy the source code, but it dont want to compile.
    Can you please help me ?

    you may try getrc by SnowHead, he put all his plugins under GPL
    http://www.dbox2-tuning.net/forum/viewtopic.php?f=27&t=49098
    it is written for dbox2, will also run on other ppc boxes like older dreams (DM500, DM7000, DM7020..), each time you press a key on your remote control getrc will return a hex code of that key, the hint, you compare the return key with your pressed key, if true then .....{ apply your script } ...., the problem might be different hex codes of dm500 RC and dbox2 RC, even other ppc dreams have other return codes, you may run getrc on Telnet and watch what codes it returns when you press channel up/down key, if it returns nothing, you´ll have to recompile getrc for DM500, i added the getrc archive with ppc binary


    mrvica

    Hi,

    Also, does anyone know if there is a similar function on the DM500 that tracks channel changes so that I can customise this on my DM500 as well?

    Did you find a similar solution for dm500 function ?


    I would like to get help to do this:



    I need a plugin which can run 1, only one bash script in the background. I try to write it 2 times, but not succeess.
    1st time: made a sample.sh and sample.cfg and put them into /var/tuxbox/plugins...Strange thing: I can see it in the "plugins". If I chosse the plugins menu and choose the sample program, then it does not go to background or close that windows, but the script will run in the window.
    2nd attempt: try to write a c++ program. I googled it how can i compile and run a script for dm500. Here coces the tricky part. I cant compile...after that I can compile, but if I want to run it, then it asked that it is not a dynamical...and after that it say that it is missing the pluginexec variable.



    Here is what I would like:
    I would like to bind a program what I can run on keypress and run in the background.
    Can you please help me how to write or can you write a plugin what i can copy to /var/tuxbox/plugins dir (channel-changer.so and channel-changer.cfg) run a bash script and this plugin runs that in the background. So if I have bind that plugin to a yellow keypress, then nothing show up, just the program has been run.


    I would even pay for the solution. :smiling_face:

    Hi, is there a solution to get it working on a dm500 (openpli) --> enigma1 too ?
    On enigma1 I cant find any pithon files.


    I would like that:
    A receiver (DM500).
    B receiver (DM500).


    If I switch channel on Receiver B, also the same changel change on Receiver A. Master-Slave like.
    I am good and scripting and so on...but i dont know only one thin:
    how can i run a "script" on channel zap (channel change).
    Can you please guys help me please ?